lantiq: remove "init" kernel command line parameter from bootargs
[openwrt/openwrt.git] / target / linux / lantiq / dts / BTHOMEHUBV3A.dts
1 /dts-v1/;
2
3 #include "ar9.dtsi"
4
5 #include <dt-bindings/input/input.h>
6
7 / {
8 model = "BTHOMEHUBV3A - BT Home Hub 3A"; /* SoC: Lantiq ar9 @ 333MHz */
9
10 aliases {
11 led-boot = &power_orange;
12 led-failsafe = &power_red;
13 led-running = &power_blue;
14
15 led-internet = &broadband_blue;
16 led-wifi = &wireless_blue;
17 };
18
19 memory@0 { /* RAM: Samsung K4H511638F-LC 64MB */
20 reg = <0x0 0x4000000>;
21 };
22
23 sram@1F000000 {
24 vmmc@107000 {
25 status = "okay";
26 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
27 };
28 };
29
30 fpi@10000000 {
31 localbus@0 {
32 nand-parts@0 { /* NAND Flash: Samsung K9F5608U0D-JIB0 32MB */
33 compatible = "gen_nand", "lantiq,nand-xway";
34 lantiq,cs = <1>;
35 bank-width = <2>;
36 reg = <1 0x0 0x2000000 >;
37 #address-cells = <1>;
38 #size-cells = <1>;
39 req-mask = <0x1>; /* PCI request lines to mask during NAND access */
40
41 partitions {
42 compatible = "fixed-partitions";
43 #address-cells = <1>;
44 #size-cells = <1>;
45
46 partition@0 {
47 label = "preboot";
48 reg = <0x00000 0x8000>;
49 read-only;
50 };
51 partition@8000 {
52 label = "u-boot";
53 reg = <0x8000 0x05c000>;
54 read-only;
55 };
56 partition@64000 {
57 label = "uboot_env";
58 reg = <0x64000 0x004000>;
59 };
60 ath9k_cal: partition@68000 {
61 label = "art-copy";
62 reg = <0x68000 0x004000>;
63 };
64 partition@6c000 {
65 label = "kernel";
66 reg = <0x6c000 0x200000>;
67 };
68 partition@26c000 {
69 label = "ubi";
70 reg = <0x26c000 0x1d94000>;
71 };
72 };
73 };
74 };
75
76 gpio: pinmux@E100B10 {
77 pinctrl-names = "default";
78 pinctrl-0 = <&state_default>;
79
80 state_default: pinmux {
81 nand_out {
82 lantiq,groups = "nand cle", "nand ale";
83 lantiq,function = "ebu";
84 lantiq,output = <1>;
85 lantiq,open-drain = <0>;
86 lantiq,pull = <0>;
87 };
88 nand_cs1 {
89 lantiq,groups = "nand cs1";
90 lantiq,function = "ebu";
91 lantiq,open-drain = <0>;
92 lantiq,pull = <0>;
93 };
94
95 pci_in {
96 lantiq,groups = "req1";
97 lantiq,function = "pci";
98 lantiq,output = <0>;
99 lantiq,open-drain = <1>;
100 lantiq,pull = <2>;
101 };
102 pci_out {
103 lantiq,groups = "gnt1";
104 lantiq,function = "pci";
105 lantiq,output = <1>;
106 lantiq,open-drain = <0>;
107 lantiq,pull = <0>;
108 };
109
110 pci_rst {
111 lantiq,pins = "io21";
112 lantiq,output = <1>;
113 lantiq,open-drain = <0>;
114 };
115 };
116 };
117
118 etop@E180000 {
119 phy-mode = "rgmii";
120 };
121
122 ifxhcd@E101000 {
123 status = "okay";
124 gpios = <&gpio 33 GPIO_ACTIVE_HIGH>;
125 };
126 };
127
128 gpio-keys-polled {
129 compatible = "gpio-keys-polled";
130 #address-cells = <1>;
131 #size-cells = <0>;
132 poll-interval = <100>;
133 reset {
134 label = "reset";
135 gpios = <&gpio 54 GPIO_ACTIVE_LOW>;
136 linux,code = <KEY_RESTART>;
137 };
138 restart {
139 label = "restart";
140 gpios = <&gpio 52 GPIO_ACTIVE_LOW>;
141 linux,code = <KEY_POWER>;
142 };
143 wps {
144 label = "wps";
145 gpios = <&gpio 53 GPIO_ACTIVE_LOW>;
146 linux,code = <KEY_WPS_BUTTON>;
147 };
148 };
149
150 gpio-leds {
151 compatible = "gpio-leds";
152
153 wireless-red {
154 label = "bthomehubv3a:red:wireless";
155 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
156 };
157 wireless-orange {
158 label = "bthomehubv3a:orange:wireless";
159 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
160 };
161 wireless_blue: wireless-blue {
162 label = "bthomehubv3a:blue:wireless";
163 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
164 };
165
166 broadband-red {
167 label = "bthomehubv3a:red:broadband";
168 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
169 };
170 broadband-orange {
171 label = "bthomehubv3a:orange:broadband";
172 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
173 };
174 broadband_blue: broadband-blue {
175 label = "bthomehubv3a:blue:broadband";
176 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
177 };
178
179 power_red: power-red {
180 label = "bthomehubv3a:red:power";
181 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
182 };
183 power_orange: power-orange {
184 label = "bthomehubv3a:orange:power";
185 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
186 default-state = "keep";
187 };
188 power_blue: power-blue {
189 label = "bthomehubv3a:blue:power";
190 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
191 };
192 };
193 };
194
195 &pci0 {
196 status = "okay";
197 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
198
199 ath9k@7000 {
200 reg = <0x7000 0 0 0 0>;
201 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
202 };
203 };