SL-R7205.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "SL-R7205", "ralink,rt3052-soc";
  5. model = "Skyline SL-R7205 Wireless 3G Router";
  6. palmbus@10000000 {
  7. sysc@0 {
  8. ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
  9. ralink,uartmux = "gpio";
  10. ralink,wdtmux = <1>;
  11. };
  12. gpio0: gpio@600 {
  13. status = "okay";
  14. };
  15. };
  16. cfi@1f000000 {
  17. compatible = "cfi-flash";
  18. reg = <0x1f000000 0x800000>;
  19. bank-width = <2>;
  20. device-width = <2>;
  21. #address-cells = <1>;
  22. #size-cells = <1>;
  23. partition@0 {
  24. label = "u-boot";
  25. reg = <0x0 0x30000>;
  26. read-only;
  27. };
  28. partition@30000 {
  29. label = "u-boot-env";
  30. reg = <0x30000 0x10000>;
  31. read-only;
  32. };
  33. factory: partition@40000 {
  34. label = "factory";
  35. reg = <0x40000 0x10000>;
  36. read-only;
  37. };
  38. partition@50000 {
  39. label = "firmware";
  40. reg = <0x50000 0x3b0000>;
  41. };
  42. };
  43. ethernet@10100000 {
  44. status = "okay";
  45. };
  46. esw@10110000 {
  47. status = "okay";
  48. ralink,portmap = <0x3e>;
  49. };
  50. gpio-leds {
  51. compatible = "gpio-leds";
  52. wifi {
  53. label = "sl-r7205:green:wifi";
  54. gpios = <&gpio0 7 1>;
  55. };
  56. };
  57. gpio-keys-polled {
  58. compatible = "gpio-keys-polled";
  59. #address-cells = <1>;
  60. #size-cells = <0>;
  61. poll-interval = <20>;
  62. reset {
  63. label = "reset";
  64. gpios = <&gpio0 10 1>;
  65. linux,code = <0x198>;
  66. };
  67. wps {
  68. label = "wps";
  69. gpios = <&gpio0 0 1>;
  70. linux,code = <0x211>;
  71. };
  72. };
  73. wmac@10180000 {
  74. status = "okay";
  75. };
  76. otg@101c0000 {
  77. status = "okay";
  78. };
  79. };