WRTNODE.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. /dts-v1/;
  2. /include/ "mt7620n.dtsi"
  3. / {
  4. compatible = "wrtnode", "ralink,mt7620n-soc";
  5. model = "WRTNODE";
  6. palmbus@10000000 {
  7. gpio1: gpio@638 {
  8. status = "okay";
  9. };
  10. gpio2: gpio@660 {
  11. status = "okay";
  12. };
  13. gpio3: gpio@688 {
  14. status = "okay";
  15. };
  16. spi@b00 {
  17. status = "okay";
  18. m25p80@0 {
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. compatible = "mx25l12805d";
  22. reg = <0 0>;
  23. linux,modalias = "m25p80", "w25q128";
  24. spi-max-frequency = <10000000>;
  25. partition@0 {
  26. label = "u-boot";
  27. reg = <0x0 0x30000>;
  28. read-only;
  29. };
  30. partition@30000 {
  31. label = "u-boot-env";
  32. reg = <0x30000 0x10000>;
  33. read-only;
  34. };
  35. factory: partition@40000 {
  36. label = "factory";
  37. reg = <0x40000 0x10000>;
  38. read-only;
  39. };
  40. partition@50000 {
  41. label = "firmware";
  42. reg = <0x50000 0xfb0000>;
  43. };
  44. };
  45. };
  46. };
  47. ehci@101c0000 {
  48. status = "okay";
  49. };
  50. ohci@101c1000 {
  51. status = "okay";
  52. };
  53. ethernet@10100000 {
  54. mtd-mac-address = <&factory 0x4>;
  55. ralink,port-map = "wllll";
  56. };
  57. wmac@10180000 {
  58. ralink,mtd-eeprom = <&factory 0>;
  59. };
  60. pinctrl {
  61. state_default: pinctrl0 {
  62. default {
  63. ralink,group = "ephy", "wled", "pa", "i2c", "wdt", "uartf", "spi refclk";
  64. ralink,function = "gpio";
  65. };
  66. };
  67. };
  68. gpio-leds {
  69. compatible = "gpio-leds";
  70. indicator {
  71. label = "wrtnode:blue:indicator";
  72. gpios = <&gpio1 14 1>;
  73. };
  74. };
  75. };