PX4885.dtsi 821 B

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