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;
23 reg = <0x0 0x4000000>;
27 compatible = "lantiq,phy-xrx200";
28 firmware1 = "lantiq/xrx200_phy11g_a14.bin"; /*VR9 1.1*/
29 firmware2 = "lantiq/xrx200_phy11g_a22.bin"; /*VR9 1.2*/
34 compatible = "gpio-keys-polled";
37 poll-interval = <100>;
40 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_RESTART>;
45 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
50 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_RFKILL>;
55 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
56 linux,code = <KEY_WPS_BUTTON>;
61 compatible = "gpio-leds";
64 label = "vgv7519:blue:eco";
65 gpios = <&stp 2 GPIO_ACTIVE_LOW>;
68 label = "vgv7519:red:wps";
69 gpios = <&stp 3 GPIO_ACTIVE_LOW>;
72 label = "vgv7519:green:wps";
73 gpios = <&stp 4 GPIO_ACTIVE_LOW>;
76 label = "vgv7519:blue:upgrade";
77 gpios = <&stp 5 GPIO_ACTIVE_LOW>;
80 label = "vgv7519:green:tv";
81 gpios = <&stp 6 GPIO_ACTIVE_LOW>;
83 internet_green: internet_green {
84 label = "vgv7519:green:internet";
85 gpios = <&stp 7 GPIO_ACTIVE_LOW>;
88 label = "vgv7519:red:internet";
89 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
92 label = "vgv7519:red:broadband";
93 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
95 broadband_green: broadband_green {
96 label = "vgv7519:green:broadband";
97 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
100 label = "vgv7519:green:voice";
101 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
104 label = "vgv7519:red:wireless";
105 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
107 wireless_green: wireless_green {
108 label = "vgv7519:green:wireless";
109 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
111 power_green: power2 {
112 label = "vgv7519:green:power";
113 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
114 default-state = "keep";
117 label = "vgv7519:red:power";
118 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
125 compatible = "lantiq,xrx200-pdi";
126 #address-cells = <1>;
129 mtd-mac-address = <&boardconfig 0x16>;
130 mtd-mac-address-increment = <1>;
134 compatible = "lantiq,xrx200-pdi-port";
137 phy-handle = <&phy0>;
140 compatible = "lantiq,xrx200-pdi-port";
143 phy-handle = <&phy1>;
146 compatible = "lantiq,xrx200-pdi-port";
149 phy-handle = <&phy11>;
152 compatible = "lantiq,xrx200-pdi-port";
155 phy-handle = <&phy13>;
158 compatible = "lantiq,xrx200-pdi-port";
161 phy-handle = <&phy5>;
166 #address-cells = <1>;
168 compatible = "lantiq,xrx200-mdio";
171 phy0: ethernet-phy@0 {
173 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
175 phy1: ethernet-phy@1 {
177 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
179 phy5: ethernet-phy@5 {
181 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
183 phy11: ethernet-phy@11 {
185 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
187 phy13: ethernet-phy@13 {
189 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
195 pinctrl-names = "default";
196 pinctrl-0 = <&state_default>;
198 state_default: pinmux {
200 lantiq,groups = "stp";
201 lantiq,function = "stp";
202 lantiq,open-drain = <0>;
207 lantiq,groups = "mdio";
208 lantiq,function = "mdio";
211 lantiq,pins = "io21";
212 lantiq,open-drain = <0>;
217 lantiq,groups = "gphy0 led1", "gphy1 led0";
218 lantiq,function = "gphy";
219 lantiq,open-drain = <0>;
228 compatible = "lantiq,nor";
230 reg = <0 0x0 0x800000>, <1 0x800000 0x800000>;
231 #address-cells = <1>;
235 compatible = "fixed-partitions";
236 #address-cells = <1>;
239 boardconfig: partition@40000 {
240 label = "board_config";
241 reg = <0x40000 0x10000>;
250 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
253 compatible = "pci1814,3091";
254 reg = <0x7000 0 0 0 0>;
255 ralink,mtd-eeprom = <&boardconfig 0x410>;
256 ralink,mtd-eeprom-swap;
257 mtd-mac-address = <&boardconfig 0x16>;
258 mtd-mac-address-increment = <1>;
267 lantiq,shadow = <0xffff>;
268 lantiq,groups = <0x3>;
277 gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
278 lantiq,portmask = <0x3>;
283 gpios = <&gpio 32 GPIO_ACTIVE_HIGH>;
288 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
289 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
290 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?