lantiq: fix formating in .dts files
[openwrt/openwrt.git] / target / linux / lantiq / dts / WBMR.dts
1 /dts-v1/;
2
3 /include/ "ar9.dtsi"
4
5 / {
6 model = "WBMR - Buffalo WBMR-HP-G300H";
7
8 chosen {
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
10 };
11
12 memory@0 {
13 reg = <0x0 0x4000000>;
14 };
15
16 fpi@10000000 {
17 localbus@0 {
18 nor-boot@0 {
19 compatible = "lantiq,nor";
20 bank-width = <2>;
21 reg = <0 0x0 0x2000000>;
22 #address-cells = <1>;
23 #size-cells = <1>;
24
25 partition@0 {
26 label = "uboot";
27 reg = <0x00000 0x40000>;
28 read-only;
29 };
30
31 partition@40000 {
32 label = "uboot_env";
33 reg = <0x40000 0x20000>;
34 read-only;
35 };
36
37 partition@20000 {
38 label = "linux";
39 reg = <0x60000 0x1f20000>;
40 };
41
42 partition@0x1fc0000 {
43 label = "board";
44 reg = <0x1fc0000 0x20000>;
45 read-only;
46 };
47
48 partition@0x1fe0000 {
49 label = "calibration";
50 reg = <0x1fe0000 0x20000>;
51 read-only;
52 };
53 };
54
55 mac_addr {
56 compatible = "lantiq,eth-mac";
57 reg = <0 0x1fd0024 0x6>;
58 };
59 };
60
61 gpio: pinmux@E100B10 {
62 pinctrl-names = "default";
63 pinctrl-0 = <&state_default>;
64
65 state_default: pinmux {
66 pci-in {
67 lantiq,groups = "req1";
68 lantiq,output = <0>;
69 lantiq,open-drain = <1>;
70 lantiq,pull = <2>;
71 };
72 pci-out {
73 lantiq,groups = "gnt1";
74 lantiq,output = <1>;
75 lantiq,pull = <0>;
76 };
77 pci_rst {
78 lantiq,pins = "io21";
79 lantiq,pull = <0>;
80 lantiq,output = <1>;
81 };
82 };
83 };
84
85 etop@E180000 {
86 phy-mode = "rgmii";
87 };
88
89 ifxhcd@E101000 {
90 status = "okay";
91 gpios = <&gpio 36 0>;
92 };
93
94 pci@E105400 {
95 status = "okay";
96 };
97 };
98
99 gpio-keys-polled {
100 compatible = "gpio-keys-polled";
101 #address-cells = <1>;
102 #size-cells = <0>;
103 poll-interval = <100>;
104
105 wps {
106 label = "wps";
107 gpios = <&gpio 0 1>;
108 linux,code = <0x211>;
109 };
110 reset {
111 label = "reset";
112 gpios = <&gpio 37 1>;
113 linux,code = <0x198>;
114 };
115 eject {
116 label = "eject";
117 gpios = <&gpio 34 1>;
118 linux,code = <0xf7>;
119 };
120 movie {
121 label = "movie";
122 gpios = <&gpio 22 1>;
123 linux,code = <0x109>;
124 };
125 };
126
127 gpio-leds {
128 compatible = "gpio-leds";
129
130 power {
131 label = "power";
132 gpios = <&gpio 1 1>;
133 };
134 power2 {
135 label = "power2";
136 gpios = <&gpio 5 1>;
137 };
138 security {
139 label = "security";
140 gpios = <&gpio 14 1>;
141 };
142 wifi {
143 label = "wifi";
144 gpios = <&gpio 15 1>;
145 };
146 dsl {
147 label = "dsl";
148 gpios = <&gpio 16 1>;
149 };
150 online {
151 label = "online";
152 gpios = <&gpio 17 1>;
153 };
154 online2 {
155 label = "online2";
156 gpios = <&gpio 18 1>;
157 };
158 movie {
159 label = "movie";
160 gpios = <&gpio 20 1>;
161 };
162 usb {
163 label = "usb";
164 gpios = <&gpio 28 1>;
165 default-state = "on";
166 };
167 };
168 };