ESR-9753.dts 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. /dts-v1/;
  2. /include/ "rt3050.dtsi"
  3. / {
  4. compatible = "ESR-9753", "ralink,rt3052-soc";
  5. model = "Senao / EnGenius ESR-9753";
  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. gpio-leds {
  44. compatible = "gpio-leds";
  45. power {
  46. label = "esr-9753:orange:power";
  47. gpios = <&gpio0 8 1>;
  48. };
  49. wps {
  50. label = "esr-9753:orange:wps";
  51. gpios = <&gpio0 14 1>;
  52. };
  53. };
  54. gpio-keys-polled {
  55. compatible = "gpio-keys-polled";
  56. #address-cells = <1>;
  57. #size-cells = <0>;
  58. poll-interval = <20>;
  59. reset {
  60. label = "reset";
  61. gpios = <&gpio0 10 1>;
  62. linux,code = <0x198>;
  63. };
  64. wps {
  65. label = "wps";
  66. gpios = <&gpio0 0 1>;
  67. linux,code = <0x211>;
  68. };
  69. };
  70. ethernet@10100000 {
  71. status = "okay";
  72. };
  73. esw@10110000 {
  74. status = "okay";
  75. ralink,portmap = <0x3e>;
  76. };
  77. wmac@10180000 {
  78. status = "okay";
  79. };
  80. };