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 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
35 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
40 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
45 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_RFKILL>;
50 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
51 linux,code = <KEY_WPS_BUTTON>;
56 compatible = "gpio-leds";
59 label = "vgv7519:blue:eco";
60 gpios = <&stp 2 GPIO_ACTIVE_LOW>;
63 label = "vgv7519:red:wps";
64 gpios = <&stp 3 GPIO_ACTIVE_LOW>;
67 label = "vgv7519:green:wps";
68 gpios = <&stp 4 GPIO_ACTIVE_LOW>;
71 label = "vgv7519:blue:upgrade";
72 gpios = <&stp 5 GPIO_ACTIVE_LOW>;
75 label = "vgv7519:green:tv";
76 gpios = <&stp 6 GPIO_ACTIVE_LOW>;
78 internet_green: internet_green {
79 label = "vgv7519:green:internet";
80 gpios = <&stp 7 GPIO_ACTIVE_LOW>;
83 label = "vgv7519:red:internet";
84 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
87 label = "vgv7519:red:broadband";
88 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
90 broadband_green: broadband_green {
91 label = "vgv7519:green:broadband";
92 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
95 label = "vgv7519:green:voice";
96 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
99 label = "vgv7519:red:wireless";
100 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
102 wireless_green: wireless_green {
103 label = "vgv7519:green:wireless";
104 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
106 power_green: power2 {
107 label = "vgv7519:green:power";
108 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
109 default-state = "keep";
112 label = "vgv7519:red:power";
113 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
117 usb_vbus: regulator-usb-vbus {
118 compatible = "regulator-fixed";
120 regulator-name = "USB_VBUS";
122 regulator-min-microvolt = <5000000>;
123 regulator-max-microvolt = <5000000>;
125 gpio = <&gpio 32 GPIO_ACTIVE_HIGH>;
132 compatible = "lantiq,xrx200-pdi";
133 #address-cells = <1>;
136 mtd-mac-address = <&boardconfig 0x16>;
137 mtd-mac-address-increment = <1>;
141 compatible = "lantiq,xrx200-pdi-port";
144 phy-handle = <&phy0>;
147 compatible = "lantiq,xrx200-pdi-port";
150 phy-handle = <&phy1>;
153 compatible = "lantiq,xrx200-pdi-port";
156 phy-handle = <&phy11>;
159 compatible = "lantiq,xrx200-pdi-port";
162 phy-handle = <&phy13>;
165 compatible = "lantiq,xrx200-pdi-port";
168 phy-handle = <&phy5>;
173 #address-cells = <1>;
175 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>;
282 lantiq,shadow = <0xffff>;
283 lantiq,groups = <0x3>;
300 vbus-supply = <&usb_vbus>;
305 vbus-supply = <&usb_vbus>;
310 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
311 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
312 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?