NW718.dts 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "NW718", "ralink,rt3050-soc";
  5. model = "Netcore NW718";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
  9. ralink,gpiomux = "i2c";
  10. ralink,uartmux = "gpio";
  11. ralink,wdtmux = <1>;
  12. };
  13. gpio0: gpio@600 {
  14. status = "okay";
  15. };
  16. spi@b00 {
  17. status = "okay";
  18. m25p80@0 {
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. compatible = "mx25l3205d";
  22. reg = <0 0>;
  23. linux,modalias = "m25p80", "mx25l3205d";
  24. spi-max-frequency = <25000000>;
  25. partition@0 {
  26. label = "u-boot";
  27. reg = <0x0 0x30000>;
  28. read-only;
  29. };
  30. partition@30000 {
  31. label = "config";
  32. reg = <0x30000 0x20000>;
  33. read-only;
  34. };
  35. factory: partition@50000 {
  36. label = "factory";
  37. reg = <0x50000 0x10000>;
  38. read-only;
  39. };
  40. partition@60000 {
  41. label = "firmware";
  42. reg = <0x60000 0x3a0000>;
  43. };
  44. };
  45. };
  46. };
  47. ethernet@10100000 {
  48. status = "okay";
  49. };
  50. esw@10110000 {
  51. status = "okay";
  52. ralink,portmap = <0x2f>;
  53. };
  54. gpio-leds {
  55. compatible = "gpio-leds";
  56. cpu {
  57. label = "nw718:amber:cpu";
  58. gpios = <&gpio0 13 1>;
  59. };
  60. usb {
  61. label = "nw718:amber:usb";
  62. gpios = <&gpio0 8 1>;
  63. };
  64. wps {
  65. label = "nw718:amber:wps";
  66. gpios = <&gpio0 14 1>;
  67. };
  68. };
  69. gpio-keys-polled {
  70. compatible = "gpio-keys-polled";
  71. #address-cells = <1>;
  72. #size-cells = <0>;
  73. poll-interval = <20>;
  74. reset {
  75. label = "reset";
  76. gpios = <&gpio0 10 1>;
  77. linux,code = <0x198>;
  78. };
  79. wps {
  80. label = "wps";
  81. gpios = <&gpio0 0 1>;
  82. linux,code = <0x211>;
  83. };
  84. };
  85. wmac@10180000 {
  86. status = "okay";
  87. };
  88. otg@101c0000 {
  89. status = "okay";
  90. };
  91. };