5c5f0bbbe810d6f6a9399bf94414c92307c2fff9
[openwrt.git] / target / linux / ramips / dts / ESR-9753.dts
1 /dts-v1/;
2
3 /include/ "rt3050.dtsi"
4
5 / {
6         compatible = "ESR-9753", "ralink,rt3052-soc";
7         model = "Senao / EnGenius ESR-9753";
8
9         palmbus@10000000 {
10                 sysc@0 {
11                         ralink,pinmux = "i2c", "spi", "uartlite", "jtag", "mdio", "sdram", "rgmii";
12                         ralink,uartmux = "gpio";
13                         ralink,wdtmux = <1>;
14                 };
15
16                 gpio0: gpio@600 {
17                         status = "okay";
18                 };
19
20         };
21
22         cfi@1f000000 {
23                 compatible = "cfi-flash";
24                 reg = <0x1f000000 0x800000>;
25
26                 bank-width = <2>;
27                 device-width = <2>;
28                 #address-cells = <1>;
29                 #size-cells = <1>;
30
31                 partition@0 {
32                         label = "u-boot";
33                         reg = <0x0 0x30000>;
34                         read-only;
35                 };
36
37                 partition@30000 {
38                         label = "u-boot-env";
39                         reg = <0x30000 0x10000>;
40                         read-only;
41                 };
42
43                 factory: partition@40000 {
44                         label = "factory";
45                         reg = <0x40000 0x10000>;
46                         read-only;
47                 };
48
49                 partition@50000 {
50                         label = "firmware";
51                         reg = <0x50000 0x3b0000>;
52                 };
53         };
54
55         gpio-leds {
56                 compatible = "gpio-leds";
57                 power {
58                         label = "esr-9753:orange:power";
59                         gpios = <&gpio0 8 1>;
60                 };
61                 wps {
62                         label = "esr-9753:orange:wps";
63                         gpios = <&gpio0 14 1>;
64                 };
65         };
66
67         gpio-keys-polled {
68                 compatible = "gpio-keys-polled";
69                 #address-cells = <1>;
70                 #size-cells = <0>;
71                 poll-interval = <20>;
72                 reset {
73                         label = "reset";
74                         gpios = <&gpio0 10 1>;
75                         linux,code = <0x198>;
76                 };
77                 wps {
78                         label = "wps";
79                         gpios = <&gpio0 0 1>;
80                         linux,code = <0x211>;
81                 };
82         };
83
84         ethernet@10100000 {
85                 status = "okay";
86         };
87
88         esw@10110000 {
89                 status = "okay";
90                 ralink,portmap = <0x3e>;
91         };
92
93         wmac@10180000 {
94                 status = "okay";
95         };
96 };