Debian Codegraph @

arch/arm/boot/dts/st/stm32mp151a-prtt1s.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2 /*
3 * Copyright (C) Protonic Holland
4 * Author: David Jander <[email protected]>
5 */
6 /dts-v1/;
7
8 #include "stm32mp151a-prtt1l.dtsi"
9
10 / {
11 model = "Protonic PRTT1S";
12 compatible = "prt,prtt1s", "st,stm32mp151";
13 };
14
15 &ethernet0 {
16 phy-handle = <&phy0>;
17 };
18
19 &i2c1 {
20 pinctrl-names = "default", "sleep";
21 pinctrl-0 = <&i2c1_pins_a>;
22 pinctrl-1 = <&i2c1_sleep_pins_a>;
23 clock-frequency = <100000>;
24 /delete-property/dmas;
25 /delete-property/dma-names;
26 status = "okay";
27
28 humidity-sensor@40 {
29 compatible = "ti,hdc1080";
30 reg = <0x40>;
31 };
32
33 co2-sensor@62 {
34 compatible = "sensirion,scd41";
35 reg = <0x62>;
36 };
37 };
38
39 &{i2c1_pins_a/pins} {
40 pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */
41 <STM32_PINMUX('D', 13, AF5)>; /* I2C1_SDA */
42 };
43
44 &{i2c1_sleep_pins_a/pins} {
45 pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */
46 <STM32_PINMUX('D', 13, ANALOG)>; /* I2C1_SDA */
47 };
48
49 &mdio0 {
50 /* TI DP83TD510E */
51 phy0: ethernet-phy@0 {
52 compatible = "ethernet-phy-id2000.0181";
53 reg = <0>;
54 interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>;
55 reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>;
56 reset-assert-us = <10>;
57 reset-deassert-us = <35>;
58 };
59 };