stm32mp151a-prtt1a.dts 927 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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 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 {
  27. pins {
  28. pinmux = <STM32_PINMUX('A', 0, AF2)>; /* TIM5_CH1 */
  29. };
  30. };
  31. &pwm5_sleep_pins_a {
  32. pins {
  33. pinmux = <STM32_PINMUX('A', 0, ANALOG)>; /* TIM5_CH1 */
  34. };
  35. };
  36. &timers5 {
  37. status = "okay";
  38. pwm {
  39. pinctrl-0 = <&pwm5_pins_a>;
  40. pinctrl-1 = <&pwm5_sleep_pins_a>;
  41. pinctrl-names = "default", "sleep";
  42. status = "okay";
  43. };
  44. };