lantiq: remove "init" kernel command line parameter from bootargs
[openwrt/openwrt.git] / target / linux / lantiq / dts / ARV7510PW22.dts
1 /dts-v1/;
2
3 #include "danube.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "ARV7510PW22 - Astoria Networks";
9
10 aliases {
11 led-boot = &power;
12 led-failsafe = &power;
13 led-running = &power;
14
15 led-internet = &internet;
16 led-usb = &umts;
17 led-wifi = &wlan;
18 };
19
20 memory@0 {
21 reg = <0x0 0x4000000>;
22 };
23
24 sram@1F000000 {
25 vmmc@107000 {
26 status = "okay";
27 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
28 };
29 };
30
31 fpi@10000000 {
32 localbus@0 {
33 nor-boot@0 {
34 compatible = "lantiq,nor";
35 bank-width = <2>;
36 reg = <0 0x0 0x1000000>;
37 #address-cells = <1>;
38 #size-cells = <1>;
39
40 partitions {
41 compatible = "fixed-partitions";
42 #address-cells = <1>;
43 #size-cells = <1>;
44
45 partition@0 {
46 label = "uboot";
47 reg = <0x00000 0x40000>;
48 read-only;
49 };
50
51 partition@40000 {
52 label = "uboot_env";
53 reg = <0x40000 0x20000>;
54 read-only;
55 };
56
57 partition@60000 {
58 label = "firmware";
59 reg = <0x60000 0xf80000>;
60 };
61
62 boardconfig: partition@fe0000 {
63 label = "board_config";
64 reg = <0xfe0000 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 exin {
77 lantiq,groups = "exin1";
78 lantiq,function = "exin";
79 lantiq,pull = <2>;
80 lantiq,output = <0>;
81 };
82 pci_in {
83 lantiq,groups = "req1", "req2";
84 lantiq,function = "pci";
85 lantiq,open-drain = <1>;
86 lantiq,pull = <2>;
87 lantiq,output = <0>;
88 };
89 pci_out {
90 lantiq,groups = "gnt1";
91 lantiq,function = "pci";
92 lantiq,output = <1>;
93 };
94 pci_rst {
95 lantiq,pins = "io21";
96 lantiq,pull = <2>;
97 lantiq,output = <1>;
98 };
99 pins_out {
100 lantiq,pins = "io2", "io4", "io8", "io9", "io10", "io15", "io20";
101 lantiq,output = <1>;
102 };
103 pins_in {
104 lantiq,pins = "io11", "io12", "io28";
105 lantiq,open-drain = <1>;
106 lantiq,pull = <2>;
107 lantiq,output = <0>;
108 };
109 };
110 };
111
112 ifxhcd@E101000 {
113 status = "okay";
114 gpios = <&gpio 8 GPIO_ACTIVE_HIGH>;
115 };
116
117 etop@E180000 {
118 /* Switch reset 19 */
119 phy-mode = "mii";
120 mtd-mac-address = <&boardconfig 0x16>;
121 };
122 };
123
124 gpio-keys-polled {
125 compatible = "gpio-keys-polled";
126 #address-cells = <1>;
127 #size-cells = <0>;
128 poll-interval = <100>;
129
130 rfkill {
131 label = "rfkill";
132 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
133 linux,code = <KEY_RFKILL>;
134 };
135 restart {
136 label = "restart";
137 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
138 linux,code = <KEY_POWER>;
139 };
140 reset {
141 label = "reset";
142 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
143 linux,code = <KEY_RESTART>;
144 };
145 };
146
147 gpio-leds {
148 compatible = "gpio-leds";
149 power: power {
150 label = "power";
151 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
152 default-state = "keep";
153 };
154 internet: internet {
155 label = "internet";
156 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
157 };
158 wlan: wlan {
159 label = "wlan";
160 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
161 };
162 umts: 3g {
163 label = "3g";
164 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
165 };
166 message {
167 label = "message";
168 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
169 };
170 };
171 };
172
173 &pci0 {
174 status = "okay";
175 lantiq,external-clock;
176 interrupt-map = <
177 0x7000 0 0 1 &icu0 30
178 0x7800 0 0 1 &icu0 135
179 0x7800 0 0 2 &icu0 135
180 0x7800 0 0 3 &icu0 135
181 >;
182 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
183 req-mask = <0x3>;
184
185 wifi@1814,3592 {
186 compatible = "pci1814,3592";
187 reg = <0x7000 0 0 0 0>;
188 ralink,mtd-eeprom = <&boardconfig 0x410>;
189 ralink,mtd-eeprom-swap;
190 };
191 };