ramips: fix indentation and other mistakes in .dts{, i} files
[openwrt/staging/wigyori.git] / target / linux / ramips / dts / AR670W.dts
1 /dts-v1/;
2
3 /include/ "rt2880.dtsi"
4
5 / {
6 compatible = "AR670W", "ralink,rt2880-soc";
7 model = "Airlink101 AR670W";
8
9 palmbus@300000 {
10 gpio0: gpio@600 {
11 status = "okay";
12 };
13 };
14
15 pinctrl {
16 state_default: pinctrl0 {
17 gpio {
18 ralink,group = "i2c", "spi", "uartlite";
19 ralink,function = "gpio";
20 };
21 };
22 };
23
24 ethernet@400000 {
25 status = "okay";
26 mtd-mac-address = <&factory 0x2004>;
27
28 port@0 {
29 phy-handle = <&phy0>;
30 phy-mode = "mii";
31 };
32
33 mdio-bus {
34 status = "okay";
35
36 phy0: ethernet-phy@0 {
37 phy-mode = "mii";
38 reg = <0>;
39 };
40 };
41 };
42
43 wmac@480000 {
44 status = "okay";
45 ralink,mtd-eeprom = <&factory 0x2000>;
46 };
47
48 cfi@bdc00000 {
49 compatible = "cfi-flash";
50 reg = <0xbc400000 0x800000>;
51 bank-width = <2>;
52 #address-cells = <1>;
53 #size-cells = <1>;
54
55 u-boot@0 {
56 reg = <0x0 0x30000>;
57 label = "u-boot";
58 read-only;
59 };
60
61 factory: factory@30000 {
62 reg = <0x30000 0x10000>;
63 label = "factory";
64 read-only;
65 };
66
67 firmware@40000 {
68 reg = <0x40000 0x3c0000>;
69 label = "firmware";
70 };
71 };
72
73 gpio-leds {
74 compatible = "gpio-leds";
75
76 status {
77 label = "ar670w:green:power";
78 gpios = <&gpio0 7 1>;
79 };
80
81 wpsblue {
82 label = "ar670w:blue:wps";
83 gpios = <&gpio0 13 1>;
84 };
85 };
86
87 gpio-keys-polled {
88 compatible = "gpio-keys-polled";
89 #address-cells = <1>;
90 #size-cells = <0>;
91 poll-interval = <100>;
92
93 wps {
94 label = "wps";
95 gpios = <&gpio0 0 1>;
96 linux,code = <0x211>;
97 };
98
99 reset {
100 label = "reset";
101 gpios = <&gpio0 9 1>;
102 linux,code = <0x198>;
103 };
104 };
105 };