stm32mp151a-prtt1a.dts 915 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. #include "stm32mp151a-prtt1l.dtsi"
  8. / {
  9. model = "Protonic PRTT1A";
  10. compatible = "prt,prtt1a", "st,stm32mp151";
  11. };
  12. &ethernet0 {
  13. phy-handle = <&phy0>;
  14. };
  15. &mdio0 {
  16. /* TI DP83TD510E */
  17. phy0: ethernet-phy@0 {
  18. compatible = "ethernet-phy-id2000.0181";
  19. reg = <0>;
  20. interrupts-extended = <&gpioa 4 IRQ_TYPE_LEVEL_LOW>;
  21. reset-gpios = <&gpioa 3 GPIO_ACTIVE_LOW>;
  22. reset-assert-us = <10>;
  23. reset-deassert-us = <35>;
  24. };
  25. };
  26. &{pwm5_pins_a/pins} {
  27. pinmux = <STM32_PINMUX('A', 0, AF2)>; /* TIM5_CH1 */
  28. };
  29. &{pwm5_sleep_pins_a/pins} {
  30. pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* TIM5_CH1 */
  31. };
  32. &timers5 {
  33. status = "okay";
  34. pwm {
  35. pinctrl-0 = <&pwm5_pins_a>;
  36. pinctrl-1 = <&pwm5_sleep_pins_a>;
  37. pinctrl-names = "default", "sleep";
  38. status = "okay";
  39. };
  40. };