Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
0002 /*
0003  * Copyright (C) Protonic Holland
0004  * Author: David Jander <david@protonic.nl>
0005  */
0006 /dts-v1/;
0007 
0008 #include "stm32mp151a-prtt1l.dtsi"
0009 
0010 / {
0011         model = "Protonic PRTT1S";
0012         compatible = "prt,prtt1s", "st,stm32mp151";
0013 };
0014 
0015 &ethernet0 {
0016         phy-handle = <&phy0>;
0017 };
0018 
0019 &i2c1 {
0020         pinctrl-names = "default", "sleep";
0021         pinctrl-0 = <&i2c1_pins_a>;
0022         pinctrl-1 = <&i2c1_sleep_pins_a>;
0023         clock-frequency = <100000>;
0024         /delete-property/dmas;
0025         /delete-property/dma-names;
0026         status = "okay";
0027 
0028         humidity-sensor@40 {
0029                 compatible = "ti,hdc1080";
0030                 reg = <0x40>;
0031         };
0032 
0033         co2-sensor@62 {
0034                 compatible = "sensirion,scd41";
0035                 reg = <0x62>;
0036         };
0037 };
0038 
0039 &i2c1_pins_a {
0040         pins {
0041                 pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */
0042                          <STM32_PINMUX('D', 13, AF5)>; /* I2C1_SDA */
0043         };
0044 };
0045 
0046 &i2c1_sleep_pins_a {
0047         pins {
0048                 pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */
0049                          <STM32_PINMUX('D', 13, ANALOG)>; /* I2C1_SDA */
0050         };
0051 };
0052 
0053 &mdio0 {
0054         /* TI DP83TD510E */
0055         phy0: ethernet-phy@0 {
0056                 compatible = "ethernet-phy-id2000.0181";
0057                 reg = <0>;
0058                 interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>;
0059                 reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>;
0060                 reset-assert-us = <10>;
0061                 reset-deassert-us = <35>;
0062         };
0063 };