2
0

PX-4885.dtsi 805 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. #include "rt5350.dtsi"
  2. #include <dt-bindings/input/input.h>
  3. / {
  4. compatible = "PX-4885", "ralink,rt5350-soc";
  5. gpio-keys-polled {
  6. compatible = "gpio-keys-polled";
  7. #address-cells = <1>;
  8. #size-cells = <0>;
  9. poll-interval = <20>;
  10. reset {
  11. label = "reset";
  12. gpios = <&gpio0 10 1>;
  13. linux,code = <KEY_RESTART>;
  14. };
  15. };
  16. gpio-leds {
  17. compatible = "gpio-leds";
  18. orange {
  19. label = "px-4885:orange:wifi";
  20. gpios = <&gpio0 18 1>;
  21. };
  22. blue {
  23. label = "px-4885:blue:storage";
  24. gpios = <&gpio0 19 1>;
  25. };
  26. };
  27. };
  28. &pinctrl {
  29. state_default: pinctrl0 {
  30. gpio {
  31. ralink,group = "i2c", "jtag", "uartf";
  32. ralink,function = "gpio";
  33. };
  34. };
  35. };
  36. &ethernet {
  37. mtd-mac-address = <&factory 0x28>;
  38. };
  39. &esw {
  40. mediatek,portmap = <0x3f>;
  41. };
  42. &wmac {
  43. ralink,mtd-eeprom = <&factory 0>;
  44. };