3 #include <dt-bindings/input/input.h>
6 compatible = "arcadyan,vgv7519", "lantiq,xway", "lantiq,vr9";
9 bootargs = "console=ttyLTQ0,115200 mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
13 led-boot = &power_green;
14 led-failsafe = &power_red;
15 led-running = &power_green;
17 led-dsl = &broadband_green;
18 led-internet = &internet_green;
19 led-wifi = &wireless_green;
25 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
26 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
27 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?
32 reg = <0x0 0x4000000>;
38 compatible = "lantiq,nor";
40 reg = <0 0x0 0x800000>, <1 0x800000 0x800000>;
45 compatible = "fixed-partitions";
49 boardconfig: partition@40000 {
50 label = "board_config";
51 reg = <0x40000 0x10000>;
58 gpio: pinmux@E100B10 {
59 pinctrl-names = "default";
60 pinctrl-0 = <&state_default>;
62 state_default: pinmux {
64 lantiq,groups = "stp";
65 lantiq,function = "stp";
66 lantiq,open-drain = <0>;
71 lantiq,groups = "mdio";
72 lantiq,function = "mdio";
76 lantiq,open-drain = <0>;
81 lantiq,groups = "gphy0 led1", "gphy1 led0";
82 lantiq,function = "gphy";
83 lantiq,open-drain = <0>;
91 compatible = "lantiq,gpio-stp-xway";
92 reg = <0xE100BB0 0x40>;
96 lantiq,shadow = <0xffff>;
97 lantiq,groups = <0x3>;
106 gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
107 lantiq,portmask = <0x3>;
112 gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
121 compatible = "lantiq,phy-xrx200";
122 firmware1 = "lantiq/xrx200_phy11g_a14.bin"; /*VR9 1.1*/
123 firmware2 = "lantiq/xrx200_phy11g_a22.bin"; /*VR9 1.2*/
128 compatible = "gpio-keys-polled";
129 #address-cells = <1>;
131 poll-interval = <100>;
134 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
135 linux,code = <KEY_RESTART>;
139 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
140 linux,code = <BTN_0>;
144 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
145 linux,code = <KEY_RFKILL>;
149 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
150 linux,code = <KEY_WPS_BUTTON>;
155 compatible = "gpio-leds";
158 label = "vgv7519:blue:eco";
159 gpios = <&stp 2 GPIO_ACTIVE_LOW>;
162 label = "vgv7519:red:wps";
163 gpios = <&stp 3 GPIO_ACTIVE_LOW>;
166 label = "vgv7519:green:wps";
167 gpios = <&stp 4 GPIO_ACTIVE_LOW>;
170 label = "vgv7519:blue:upgrade";
171 gpios = <&stp 5 GPIO_ACTIVE_LOW>;
174 label = "vgv7519:green:tv";
175 gpios = <&stp 6 GPIO_ACTIVE_LOW>;
177 internet_green: internet_green {
178 label = "vgv7519:green:internet";
179 gpios = <&stp 7 GPIO_ACTIVE_LOW>;
182 label = "vgv7519:red:internet";
183 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
186 label = "vgv7519:red:broadband";
187 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
189 broadband_green: broadband_green {
190 label = "vgv7519:green:broadband";
191 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
194 label = "vgv7519:green:voice";
195 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
198 label = "vgv7519:red:wireless";
199 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
201 wireless_green: wireless_green {
202 label = "vgv7519:green:wireless";
203 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
205 power_green: power2 {
206 label = "vgv7519:green:power";
207 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
208 default-state = "keep";
211 label = "vgv7519:red:power";
212 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
219 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
222 compatible = "pci1814,3091";
223 reg = <0x7000 0 0 0 0>;
224 ralink,mtd-eeprom = <&boardconfig 0x410>;
225 ralink,mtd-eeprom-swap;
226 mtd-mac-address = <&boardconfig 0x16>;
227 mtd-mac-address-increment = <1>;
233 compatible = "lantiq,xrx200-pdi";
234 #address-cells = <1>;
237 mtd-mac-address = <&boardconfig 0x16>;
238 mtd-mac-address-increment = <1>;
242 compatible = "lantiq,xrx200-pdi-port";
245 phy-handle = <&phy0>;
248 compatible = "lantiq,xrx200-pdi-port";
251 phy-handle = <&phy1>;
254 compatible = "lantiq,xrx200-pdi-port";
257 phy-handle = <&phy11>;
260 compatible = "lantiq,xrx200-pdi-port";
263 phy-handle = <&phy13>;
266 compatible = "lantiq,xrx200-pdi-port";
269 phy-handle = <&phy5>;
274 #address-cells = <1>;
276 compatible = "lantiq,xrx200-mdio";
277 phy0: ethernet-phy@0 {
279 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
281 phy1: ethernet-phy@1 {
283 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
285 phy5: ethernet-phy@5 {
287 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
289 phy11: ethernet-phy@11 {
291 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
293 phy13: ethernet-phy@13 {
295 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";