3 /include/ "danube.dtsi"
6 model = "ARV7518PW - Astoria Networks";
9 bootargs = "console=ttyLTQ0,115200 init=/etc/preinit";
13 failsafe = &power_red;
14 running = &power_green;
17 internet = &online_green;
24 reg = <0x0 0x4000000>;
36 compatible = "lantiq,nor";
38 reg = <0 0x0 0x2000000>;
43 compatible = "fixed-partitions";
49 reg = <0x00000 0x10000>;
55 reg = <0x10000 0x10000>;
60 reg = <0x20000 0x7d0000>;
63 boardconfig: partition@400000 {
64 label = "boardconfig";
65 reg = <0x7f0000 0x10000>;
71 gpiomm: gpiomm@4000000 {
72 compatible = "lantiq,gpio-mm";
78 lantiq,shadow = <0x0>;
82 compatible = "ath9k,eeprom";
83 ath,eep-flash = <&boardconfig 0x400>;
84 ath,mac-offset = <0x16>;
85 ath,mac-increment = <1>;
91 gpio: pinmux@E100B10 {
92 pinctrl-names = "default";
93 pinctrl-0 = <&state_default>;
95 state_default: pinmux {
97 lantiq,groups = "ebu cs1";
98 lantiq,function = "ebu";
101 lantiq,groups = "req1";
102 lantiq,function = "pci";
103 lantiq,open-drain = <1>;
108 lantiq,groups = "gnt1";
109 lantiq,function = "pci";
114 lantiq,pins = "io21";
119 lantiq,pins = "io2", "io4", "io5", "io6", "io7", "io8", "io19";
123 lantiq,pins = "io28", "io30";
126 lantiq,open-drain = <1>;
133 mtd-mac-address = <&boardconfig 0x16>;
138 gpios = <&gpio 14 0>;
143 lantiq,external-clock;
144 gpio-reset = <&gpio 21 0>;
151 #define SWITCH_RESET 13
154 compatible = "gpio-keys-polled";
155 #address-cells = <1>;
157 poll-interval = <100>;
161 gpios = <&gpio 28 1>;
166 gpios = <&gpio 30 1>;
167 linux,code = <0x198>;
172 compatible = "gpio-leds";
174 label = "arv7518pw:green:power";
176 default-state = "keep";
179 label = "arv7518pw:green:dsl";
182 online_green: online {
183 label = "arv7518pw:green:internet";
187 label = "arv7518pw:green:wlan";
191 label = "arv7518pw:red:power";
195 label = "arv7518pw:red:internet";
199 label = "arv7518pw:green:usb";
200 gpios = <&gpio 19 1>;
203 label = "arv7518pw:green:voip";
204 gpios = <&gpiomm 0 1>;
207 label = "arv7518pw:green:phone1";
208 gpios = <&gpiomm 1 1>;
211 label = "arv7518pw:green:phone2";
212 gpios = <&gpiomm 2 1>;
215 label = "arv7518pw:amber:unlabeled";
216 gpios = <&gpiomm 3 1>;
219 label = "arv7518pw:amber:wps";
220 gpios = <&gpiomm 4 1>;
223 label = "arv7518pw:green:wps";
224 gpios = <&gpiomm 5 1>;
227 label = "arv7518pw:red:wps";
228 gpios = <&gpiomm 6 1>;