3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
7 compatible = "arcadyan,vgv7519", "lantiq,xway", "lantiq,vr9";
10 bootargs = "console=ttyLTQ0,115200 mem=62M vpe1_load_addr=0x83e00000 vpe1_mem=2M maxvpes=1 maxtcs=1 nosmp";
14 led-boot = &power_green;
15 led-failsafe = &power_red;
16 led-running = &power_green;
17 led-upgrade = &power_green;
19 led-dsl = &broadband_green;
20 led-internet = &internet_green;
21 led-wifi = &wireless_green;
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
36 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
46 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
47 linux,code = <KEY_RFKILL>;
51 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
52 linux,code = <KEY_WPS_BUTTON>;
57 compatible = "gpio-leds";
60 label = "vgv7519:blue:eco";
61 gpios = <&stp 2 GPIO_ACTIVE_LOW>;
64 label = "vgv7519:red:wps";
65 gpios = <&stp 3 GPIO_ACTIVE_LOW>;
68 label = "vgv7519:green:wps";
69 gpios = <&stp 4 GPIO_ACTIVE_LOW>;
72 label = "vgv7519:blue:upgrade";
73 gpios = <&stp 5 GPIO_ACTIVE_LOW>;
76 label = "vgv7519:green:tv";
77 gpios = <&stp 6 GPIO_ACTIVE_LOW>;
79 internet_green: internet_green {
80 label = "vgv7519:green:internet";
81 gpios = <&stp 7 GPIO_ACTIVE_LOW>;
84 label = "vgv7519:red:internet";
85 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
88 label = "vgv7519:red:broadband";
89 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
91 broadband_green: broadband_green {
92 label = "vgv7519:green:broadband";
93 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
96 label = "vgv7519:green:voice";
97 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
100 label = "vgv7519:red:wireless";
101 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
103 wireless_green: wireless_green {
104 label = "vgv7519:green:wireless";
105 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
107 power_green: power2 {
108 label = "vgv7519:green:power";
109 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
110 default-state = "keep";
113 label = "vgv7519:red:power";
114 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
118 usb_vbus: regulator-usb-vbus {
119 compatible = "regulator-fixed";
121 regulator-name = "USB_VBUS";
123 regulator-min-microvolt = <5000000>;
124 regulator-max-microvolt = <5000000>;
126 gpio = <&gpio 32 GPIO_ACTIVE_HIGH>;
133 compatible = "lantiq,xrx200-pdi";
134 #address-cells = <1>;
137 mtd-mac-address = <&boardconfig 0x16>;
138 mtd-mac-address-increment = <1>;
142 compatible = "lantiq,xrx200-pdi-port";
145 phy-handle = <&phy0>;
148 compatible = "lantiq,xrx200-pdi-port";
151 phy-handle = <&phy1>;
154 compatible = "lantiq,xrx200-pdi-port";
157 phy-handle = <&phy11>;
160 compatible = "lantiq,xrx200-pdi-port";
163 phy-handle = <&phy13>;
166 compatible = "lantiq,xrx200-pdi-port";
169 phy-handle = <&phy5>;
174 #address-cells = <1>;
176 compatible = "lantiq,xrx200-mdio";
178 phy0: ethernet-phy@0 {
180 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
182 phy1: ethernet-phy@1 {
184 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
186 phy5: ethernet-phy@5 {
188 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
190 phy11: ethernet-phy@11 {
192 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
194 phy13: ethernet-phy@13 {
196 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
202 lantiq,gphy-mode = <GPHY_MODE_GE>;
206 lantiq,gphy-mode = <GPHY_MODE_GE>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&state_default>;
213 state_default: pinmux {
215 lantiq,groups = "stp";
216 lantiq,function = "stp";
217 lantiq,open-drain = <0>;
222 lantiq,groups = "mdio";
223 lantiq,function = "mdio";
226 lantiq,pins = "io21";
227 lantiq,open-drain = <0>;
232 lantiq,groups = "gphy0 led1", "gphy1 led0";
233 lantiq,function = "gphy";
234 lantiq,open-drain = <0>;
243 compatible = "lantiq,nor";
245 reg = <0 0x0 0x800000>, <1 0x800000 0x800000>;
246 #address-cells = <1>;
250 compatible = "fixed-partitions";
251 #address-cells = <1>;
254 boardconfig: partition@40000 {
255 label = "board_config";
256 reg = <0x40000 0x10000>;
265 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
268 compatible = "pci1814,3091";
269 reg = <0x7000 0 0 0 0>;
270 ralink,mtd-eeprom = <&boardconfig 0x410>;
271 ralink,mtd-eeprom-swap;
272 mtd-mac-address = <&boardconfig 0x16>;
273 mtd-mac-address-increment = <1>;
283 lantiq,shadow = <0xffff>;
284 lantiq,groups = <0x3>;
301 vbus-supply = <&usb_vbus>;
306 vbus-supply = <&usb_vbus>;
311 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
312 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
313 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?