PX-4885.dtsi 788 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #include "rt5350.dtsi"
  2. / {
  3. compatible = "PX-4885", "ralink,rt5350-soc";
  4. model = "7Links PX-4885";
  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 = <0x198>;
  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. };