Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) |
| 2 | /* |
| 3 | * Copyright (C) Protonic Holland |
| 4 | * Author: David Jander <david@protonic.nl> |
| 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 | ðernet0 { |
| 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 { |
| 40 | pins { |
| 41 | pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */ |
| 42 | <STM32_PINMUX('D', 13, AF5)>; /* I2C1_SDA */ |
| 43 | }; |
| 44 | }; |
| 45 | |
| 46 | &i2c1_sleep_pins_a { |
| 47 | pins { |
| 48 | pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */ |
| 49 | <STM32_PINMUX('D', 13, ANALOG)>; /* I2C1_SDA */ |
| 50 | }; |
| 51 | }; |
| 52 | |
| 53 | &mdio0 { |
| 54 | /* TI DP83TD510E */ |
| 55 | phy0: ethernet-phy@0 { |
| 56 | compatible = "ethernet-phy-id2000.0181"; |
| 57 | reg = <0>; |
| 58 | interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>; |
| 59 | reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>; |
| 60 | reset-assert-us = <10>; |
| 61 | reset-deassert-us = <35>; |
| 62 | }; |
| 63 | }; |