PSG1218A.dts 831 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. /dts-v1/;
  2. #include "PSG1218.dtsi"
  3. / {
  4. compatible = "phicomm,psg1218a", "phicomm,psg1218", "ralink,mt7620a-soc";
  5. model = "Phicomm PSG1218 rev.A";
  6. gpio-leds {
  7. compatible = "gpio-leds";
  8. blue {
  9. label = "psg1218a:blue:status";
  10. gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
  11. };
  12. yellow {
  13. label = "psg1218a:yellow:status";
  14. gpios = <&gpio0 11 GPIO_ACTIVE_LOW>;
  15. };
  16. red {
  17. label = "psg1218a:red:status";
  18. gpios = <&gpio0 8 GPIO_ACTIVE_HIGH>;
  19. };
  20. };
  21. };
  22. &pinctrl {
  23. state_default: pinctrl0 {
  24. gpio {
  25. ralink,group = "i2c", "uartf", "rgmii1", "rgmii2", "wled", "nd_sd";
  26. ralink,function = "gpio";
  27. };
  28. };
  29. };
  30. &ethernet {
  31. pinctrl-names = "default";
  32. pinctrl-0 = <&ephy_pins>;
  33. mtd-mac-address = <&factory 0x28>;
  34. mediatek,portmap = "llllw";
  35. };
  36. &wmac {
  37. pinctrl-names = "default";
  38. pinctrl-0 = <&pa_pins>;
  39. };