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