lantiq: drop the FRITZ7360SL led-dsl alias
[openwrt/staging/blogic.git] / target / linux / lantiq / dts / ARV4518PWR01.dtsi
1 #include "danube.dtsi"
2
3 #include <dt-bindings/input/input.h>
4
5 / {
6 aliases {
7 led-boot = &power;
8 led-failsafe = &power;
9 led-running = &power;
10
11 led-dsl = &dsl;
12 led-internet = &online;
13 led-usb = &usb;
14 led-wifi = &wifi;
15 };
16
17 memory@0 {
18 reg = <0x0 0x4000000>;
19 };
20
21 sram@1F000000 {
22 vmmc@107000 {
23 status = "okay";
24 gpios = <&gpio 31 GPIO_ACTIVE_HIGH>;
25 };
26 };
27
28 fpi@10000000 {
29 localbus@0 {
30 nor-boot@0 {
31 compatible = "lantiq,nor";
32 bank-width = <2>;
33 reg = <0 0x0 0x2000000>;
34 #address-cells = <1>;
35 #size-cells = <1>;
36
37 partitions {
38 compatible = "fixed-partitions";
39 #address-cells = <1>;
40 #size-cells = <1>;
41
42 partition@0 {
43 label = "uboot";
44 reg = <0x00000 0x10000>; /* 64 KB */
45 read-only;
46 };
47
48 partition@10000 {
49 label = "uboot_env";
50 reg = <0x10000 0x10000>; /* 64 KB */
51 read-only;
52 };
53
54 partition@20000 {
55 label = "firmware";
56 reg = <0x20000 0x3d0000>;
57 };
58
59 boardconfig: partition@400000 {
60 label = "boardconfig";
61 reg = <0x3f0000 0x10000>;
62 read-only;
63 };
64 };
65 };
66
67 gpiomm: gpiomm@4000000 {
68 compatible = "lantiq,gpio-mm";
69 reg = <1 0x0 0x10 >;
70 #address-cells = <1>;
71 #size-cells = <1>;
72 #gpio-cells = <2>;
73 gpio-controller;
74 lantiq,shadow = <0x0>;
75 };
76
77 ath5k_eep {
78 compatible = "ath5k,eeprom";
79 ath,eep-flash = <&boardconfig 0x400>;
80 ath,mac-offset = <0x16>;
81 ath,mac-increment = <1>;
82 ath,eep-swap;
83 };
84 };
85
86 gpio: pinmux@E100B10 {
87 pinctrl-names = "default";
88 pinctrl-0 = <&state_default>;
89
90 state_default: pinmux {
91 ebu {
92 lantiq,groups = "ebu cs1";
93 lantiq,function = "ebu";
94 };
95 pci_in {
96 lantiq,groups = "req1", "req2";
97 lantiq,function = "pci";
98 lantiq,open-drain = <1>;
99 lantiq,pull = <2>;
100 lantiq,output = <0>;
101 };
102 pci_out {
103 lantiq,groups = "gnt1", "gnt2";
104 lantiq,function = "pci";
105 lantiq,pull = <0>;
106 lantiq,output = <1>;
107 };
108 };
109 };
110
111 etop@E180000 {
112 phy-mode = "mii";
113 mtd-mac-address = <&boardconfig 0x16>;
114 };
115
116 ifxhcd@E101000 {
117 status = "okay";
118 gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
119 };
120
121 pci@E105400 {
122 status = "okay";
123 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
124 req-mask = <0xf>;
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
134 rfkill {
135 label = "rfkill";
136 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
137 linux,code = <KEY_RFKILL>;
138 };
139 reset {
140 label = "reset";
141 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
142 linux,code = <KEY_RESTART>;
143 };
144 };
145
146 gpio-leds {
147 compatible = "gpio-leds";
148 power: power {
149 label = "power";
150 gpios = <&gpio 3 GPIO_ACTIVE_HIGH>;
151 default-state = "keep";
152 };
153 dsl: dsl {
154 label = "dsl";
155 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
156 };
157 online: online {
158 label = "online";
159 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
160 };
161 wifi: wifi {
162 label = "wifi";
163 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
164 };
165 wps {
166 label = "wps";
167 gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
168 };
169 dsl2 {
170 label = "dsl2";
171 gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
172 };
173 usb: usb {
174 label = "usb";
175 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
176 };
177 voice {
178 label = "voice";
179 gpios = <&gpiomm 0 GPIO_ACTIVE_LOW>;
180 };
181 fxs1 {
182 label = "fxs1";
183 gpios = <&gpiomm 1 GPIO_ACTIVE_LOW>;
184 };
185 fxs2 {
186 label = "fxs2";
187 gpios = <&gpiomm 2 GPIO_ACTIVE_LOW>;
188 };
189 fxo {
190 label = "fxo";
191 gpios = <&gpiomm 3 GPIO_ACTIVE_LOW>;
192 };
193 };
194 };