stm32mp151a-prtt1s.dts 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. #include "stm32mp151a-prtt1l.dtsi"
  8. / {
  9. model = "Protonic PRTT1S";
  10. compatible = "prt,prtt1s", "st,stm32mp151";
  11. };
  12. &ethernet0 {
  13. phy-handle = <&phy0>;
  14. };
  15. &i2c1 {
  16. pinctrl-names = "default", "sleep";
  17. pinctrl-0 = <&i2c1_pins_a>;
  18. pinctrl-1 = <&i2c1_sleep_pins_a>;
  19. clock-frequency = <100000>;
  20. /delete-property/dmas;
  21. /delete-property/dma-names;
  22. status = "okay";
  23. humidity-sensor@40 {
  24. compatible = "ti,hdc1080";
  25. reg = <0x40>;
  26. };
  27. co2-sensor@62 {
  28. compatible = "sensirion,scd41";
  29. reg = <0x62>;
  30. };
  31. };
  32. &i2c1_pins_a {
  33. pins {
  34. pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */
  35. <STM32_PINMUX('D', 13, AF5)>; /* I2C1_SDA */
  36. };
  37. };
  38. &i2c1_sleep_pins_a {
  39. pins {
  40. pinmux = <STM32_PINMUX('D', 12, ANALOG)>, /* I2C1_SCL */
  41. <STM32_PINMUX('D', 13, ANALOG)>; /* I2C1_SDA */
  42. };
  43. };
  44. &mdio0 {
  45. /* TI DP83TD510E */
  46. phy0: ethernet-phy@0 {
  47. compatible = "ethernet-phy-id2000.0181";
  48. reg = <0>;
  49. interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>;
  50. reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>;
  51. reset-assert-us = <10>;
  52. reset-deassert-us = <35>;
  53. };
  54. };