ramips: fix indentation and other mistakes in .dts{, i} files
[openwrt.git] / target / linux / ramips / dts / RT-N14U.dts
1 /dts-v1/;
2
3 /include/ "mt7620n.dtsi"
4
5 / {
6         compatible = "asus,rt-n14u", "ralink,mt7620n-soc";
7         model = "Asus RT-N14U";
8
9         palmbus@10000000 {
10                 gpio2: gpio@660 {
11                         status = "okay";
12                 };
13
14                 gpio3: gpio@688 {
15                         status = "okay";
16                 };
17
18                 spi@b00 {
19                         status = "okay";
20
21                         m25p80@0 {
22                                 #address-cells = <1>;
23                                 #size-cells = <1>;
24                                 #compatible = "mx25l6405d";
25                                 compatible = "w25q128";
26                                 reg = <0 0>;
27                                 linux,modalias = "m25p80", "w25q128";
28                                 spi-max-frequency = <10000000>;
29
30                                 partition@0 {
31                                         label = "u-boot";
32                                         reg = <0x0 0x30000>;
33                                         read-only;
34                                 };
35
36                                 partition@30000 {
37                                         label = "u-boot-env";
38                                         reg = <0x30000 0x10000>;
39                                         read-only;
40                                 };
41
42                                 factory: partition@40000 {
43                                         label = "factory";
44                                         reg = <0x40000 0x10000>;
45                                         read-only;
46                                 };
47
48                                 partition@50000 {
49                                         label = "firmware";
50                                         reg = <0x50000 0xfb0000>;
51                                 };
52                         };
53                 };
54         };
55
56         ehci@101c0000 {
57                 status = "okay";
58         };
59
60         ohci@101c1000 {
61                 status = "okay";
62         };
63
64         ethernet@10100000 {
65                 mtd-mac-address = <&factory 0x4>;
66                 ralink,port-map = "wllll";
67         };
68
69         wmac@10180000 {
70                 ralink,mtd-eeprom = <&factory 0>;
71         };
72
73         pinctrl {
74                 state_default: pinctrl0 {
75                         default {
76                                 ralink,group = "ephy", "wled", "i2c";
77                                 ralink,function = "gpio";
78                         };
79                 };
80         };
81
82         gpio-leds {
83                 compatible = "gpio-leds";
84
85                 wan {
86                         label = "asus:blue:wan";
87                         gpios = <&gpio2 0 1>;
88                 };
89
90                 lan {
91                         label = "asus:blue:lan";
92                         gpios = <&gpio2 1 1>;
93                 };
94
95                 usb {
96                         label = "asus:blue:usb";
97                         gpios = <&gpio2 2 1>;
98                 };
99
100                 power {
101                         label = "asus:blue:power";
102                         gpios = <&gpio2 3 1>;
103                 };
104
105                 air {
106                         label = "asus:blue:air";
107                         gpios = <&gpio3 0 1>;
108                 };
109         };
110
111         gpio-keys-polled {
112                 compatible = "gpio-keys-polled";
113                 #address-cells = <1>;
114                 #size-cells = <0>;
115                 poll-interval = <20>;
116
117                 reset {
118                         label = "reset";
119                         gpios = <&gpio0 1 1>;
120                         linux,code = <0x198>;
121                 };
122
123                 wps {
124                         label = "wps";
125                         gpios = <&gpio0 2 1>;
126                         linux,code = <0x211>;
127                 };
128         };
129 };