lantiq: remove "init" kernel command line parameter from bootargs
[openwrt/openwrt.git] / target / linux / lantiq / dts / P2601HNFX.dts
1 /dts-v1/;
2
3 #include "ar9.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "P2601HNFX - ZyXEL P-2601HN-Fx";
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;
17 led-wifi = &wifi;
18 };
19
20 memory@0 {
21 reg = <0x0 0x4000000>;
22 };
23
24 fpi@10000000 {
25 localbus@0 {
26 nor-boot@0 {
27 compatible = "lantiq,nor";
28 bank-width = <2>;
29 reg = <0 0x0 0x2000000>;
30 #address-cells = <1>;
31 #size-cells = <1>;
32
33 partitions {
34 compatible = "fixed-partitions";
35 #address-cells = <1>;
36 #size-cells = <1>;
37
38 partition@0 {
39 label = "uboot";
40 reg = <0x00000 0x40000>;
41 read-only;
42 };
43
44 partition@40000 {
45 label = "uboot_env";
46 reg = <0x40000 0x20000>;
47 read-only;
48 };
49
50 partition@60000 {
51 label = "firmware";
52 reg = <0x60000 0xfa0000>;
53 };
54 };
55 };
56 };
57
58 gpio: pinmux@E100B10 {
59 pinctrl-names = "default";
60 pinctrl-0 = <&state_default>;
61
62 state_default: pinmux {
63 stp {
64 lantiq,groups = "stp";
65 lantiq,function = "stp";
66 lantiq,pull = <2>;
67 lantiq,open-drain = <0>;
68 lantiq,output = <1>;
69 };
70 exin {
71 lantiq,groups = "exin1";
72 lantiq,function = "exin";
73 };
74 pci {
75 lantiq,groups = "gnt1";
76 lantiq,function = "pci";
77 };
78 conf_out {
79 lantiq,pins = "io4", "io5", "io6";
80 lantiq,open-drain;
81 lantiq,pull = <0>;
82 };
83 mdio {
84 lantiq,groups = "mdio";
85 lantiq,function = "mdio";
86 };
87 };
88 };
89
90 etop@E180000 {
91 phy-mode = "rmii";
92 };
93
94 ifxhcd@E101000 {
95 status = "okay";
96 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
97 };
98
99 stp: stp@E100BB0 {
100 #gpio-cells = <2>;
101 compatible = "lantiq,gpio-stp-xway";
102 gpio-controller;
103 reg = <0xE100BB0 0x40>;
104
105 lantiq,shadow = <0xfff>;
106 lantiq,groups = <0x3>;
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 reset {
117 label = "reset";
118 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
119 linux,code = <KEY_RESTART>;
120 };
121 rfkill {
122 label = "rfkill";
123 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
124 linux,code = <KEY_RFKILL>;
125 };
126 };
127
128 gpio-leds {
129 compatible = "gpio-leds";
130
131 power_green: power {
132 label = "p2601hnfx:green:power";
133 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
134 default-state = "keep";
135 };
136 power_red: power2 {
137 label = "p2601hnfx:red:power";
138 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
139 };
140 online: online {
141 label = "p2601hnfx:green:internet";
142 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
143 };
144 online2 {
145 label = "p2601hnfx:red:internet";
146 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
147 };
148 dsl: dsl {
149 label = "p2601hnfx:green:dsl";
150 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
151 };
152 phone {
153 label = "p2601hnfx:green:phone";
154 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
155 };
156 phone2 {
157 label = "p2601hnfx:orange:phone";
158 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
159 };
160 wifi: wifi {
161 label = "p2601hnfx:green:wireless";
162 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
163 };
164 wifi2 {
165 label = "p2601hnfx:orange:wireless";
166 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
167 };
168 };
169
170 gpio_export {
171 compatible = "gpio-export";
172 #size-cells = <0>;
173
174 switch {
175 gpio-export,name = "switch";
176 gpio-export,output = <1>;
177 gpios = <&gpio 50 GPIO_ACTIVE_HIGH>;
178 };
179 usb {
180 gpio-export,name = "wifi";
181 gpio-export,output = <1>;
182 gpios = <&gpio 9 GPIO_ACTIVE_HIGH>;
183 };
184 };
185 };