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";
31 poll-interval = <100>;
34 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RESTART>;
39 gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
44 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_RFKILL>;
49 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
50 linux,code = <KEY_WPS_BUTTON>;
55 compatible = "gpio-leds";
58 label = "vgv7519:blue:eco";
59 gpios = <&stp 2 GPIO_ACTIVE_LOW>;
62 label = "vgv7519:red:wps";
63 gpios = <&stp 3 GPIO_ACTIVE_LOW>;
66 label = "vgv7519:green:wps";
67 gpios = <&stp 4 GPIO_ACTIVE_LOW>;
70 label = "vgv7519:blue:upgrade";
71 gpios = <&stp 5 GPIO_ACTIVE_LOW>;
74 label = "vgv7519:green:tv";
75 gpios = <&stp 6 GPIO_ACTIVE_LOW>;
77 internet_green: internet_green {
78 label = "vgv7519:green:internet";
79 gpios = <&stp 7 GPIO_ACTIVE_LOW>;
82 label = "vgv7519:red:internet";
83 gpios = <&stp 8 GPIO_ACTIVE_LOW>;
86 label = "vgv7519:red:broadband";
87 gpios = <&stp 9 GPIO_ACTIVE_LOW>;
89 broadband_green: broadband_green {
90 label = "vgv7519:green:broadband";
91 gpios = <&stp 10 GPIO_ACTIVE_LOW>;
94 label = "vgv7519:green:voice";
95 gpios = <&stp 11 GPIO_ACTIVE_LOW>;
98 label = "vgv7519:red:wireless";
99 gpios = <&stp 12 GPIO_ACTIVE_LOW>;
101 wireless_green: wireless_green {
102 label = "vgv7519:green:wireless";
103 gpios = <&stp 13 GPIO_ACTIVE_LOW>;
105 power_green: power2 {
106 label = "vgv7519:green:power";
107 gpios = <&stp 14 GPIO_ACTIVE_LOW>;
108 default-state = "keep";
111 label = "vgv7519:red:power";
112 gpios = <&stp 15 GPIO_ACTIVE_LOW>;
116 usb_vbus: regulator-usb-vbus {
117 compatible = "regulator-fixed";
119 regulator-name = "USB_VBUS";
121 regulator-min-microvolt = <5000000>;
122 regulator-max-microvolt = <5000000>;
124 gpio = <&gpio 32 GPIO_ACTIVE_HIGH>;
131 compatible = "lantiq,xrx200-pdi";
132 #address-cells = <1>;
135 mtd-mac-address = <&boardconfig 0x16>;
136 mtd-mac-address-increment = <1>;
140 compatible = "lantiq,xrx200-pdi-port";
143 phy-handle = <&phy0>;
146 compatible = "lantiq,xrx200-pdi-port";
149 phy-handle = <&phy1>;
152 compatible = "lantiq,xrx200-pdi-port";
155 phy-handle = <&phy11>;
158 compatible = "lantiq,xrx200-pdi-port";
161 phy-handle = <&phy13>;
164 compatible = "lantiq,xrx200-pdi-port";
167 phy-handle = <&phy5>;
172 #address-cells = <1>;
174 compatible = "lantiq,xrx200-mdio";
176 phy0: ethernet-phy@0 {
178 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
180 phy1: ethernet-phy@1 {
182 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
184 phy5: ethernet-phy@5 {
186 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
188 phy11: ethernet-phy@11 {
190 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
192 phy13: ethernet-phy@13 {
194 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
200 lantiq,gphy-mode = <GPHY_MODE_GE>;
204 lantiq,gphy-mode = <GPHY_MODE_GE>;
208 pinctrl-names = "default";
209 pinctrl-0 = <&state_default>;
211 state_default: pinmux {
213 lantiq,groups = "stp";
214 lantiq,function = "stp";
215 lantiq,open-drain = <0>;
220 lantiq,groups = "mdio";
221 lantiq,function = "mdio";
224 lantiq,pins = "io21";
225 lantiq,open-drain = <0>;
230 lantiq,groups = "gphy0 led1", "gphy1 led0";
231 lantiq,function = "gphy";
232 lantiq,open-drain = <0>;
241 compatible = "lantiq,nor";
243 reg = <0 0x0 0x800000>, <1 0x800000 0x800000>;
246 compatible = "fixed-partitions";
247 #address-cells = <1>;
250 boardconfig: partition@40000 {
251 label = "board_config";
252 reg = <0x40000 0x10000>;
261 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
264 compatible = "pci1814,3091";
265 reg = <0x7000 0 0 0 0>;
266 ralink,mtd-eeprom = <&boardconfig 0x410>;
267 ralink,mtd-eeprom-swap;
268 mtd-mac-address = <&boardconfig 0x16>;
269 mtd-mac-address-increment = <1>;
279 lantiq,shadow = <0xffff>;
280 lantiq,groups = <0x3>;
297 vbus-supply = <&usb_vbus>;
302 vbus-supply = <&usb_vbus>;
307 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
308 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
309 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?