3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
7 compatible = "arcadyan,vgv7510kw22", "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;
20 led-internet = &internet_green;
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RESTART>;
43 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_WPS_BUTTON>;
49 compatible = "gpio-leds";
52 label = "vgv7510kw22:green:dsl";
53 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
57 label = "vgv7510kw22:red:internet";
58 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
62 label = "vgv7510kw22:red:info";
63 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
67 label = "vgv7510kw22:green:power";
68 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
69 default-state = "keep";
73 label = "vgv7510kw22:green:info";
74 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
77 internet_green: internet_green {
78 label = "vgv7510kw22:green:internet";
79 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
83 label = "vgv7510kw22:green:wlan";
84 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
88 label = "vgv7510kw22:red:power";
89 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
93 label = "vgv7510kw22:green:telefon";
94 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
98 usb_vbus: regulator-usb-vbus {
99 compatible = "regulator-fixed";
101 regulator-name = "USB_VBUS";
103 regulator-min-microvolt = <5000000>;
104 regulator-max-microvolt = <5000000>;
106 gpio = <&gpio 47 GPIO_ACTIVE_HIGH>;
113 compatible = "lantiq,xrx200-pdi";
114 #address-cells = <1>;
117 mtd-mac-address = <&boardconfig 0x16>;
121 compatible = "lantiq,xrx200-pdi-port";
124 phy-handle = <&phy1>;
127 compatible = "lantiq,xrx200-pdi-port";
130 phy-handle = <&phy11>;
133 compatible = "lantiq,xrx200-pdi-port";
136 phy-handle = <&phy12>;
139 compatible = "lantiq,xrx200-pdi-port";
142 phy-handle = <&phy13>;
145 compatible = "lantiq,xrx200-pdi-port";
148 phy-handle = <&phy14>;
153 #address-cells = <1>;
155 compatible = "lantiq,xrx200-mdio";
158 phy1: ethernet-phy@1 {
160 compatible = "ethernet-phy-ieee802.3-c22";
163 phy11: ethernet-phy@11 {
165 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
167 phy12: ethernet-phy@12 {
169 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
171 phy13: ethernet-phy@13 {
173 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
175 phy14: ethernet-phy@14 {
177 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
183 lantiq,gphy-mode = <GPHY_MODE_FE>;
187 lantiq,gphy-mode = <GPHY_MODE_FE>;
191 pinctrl-names = "default";
192 pinctrl-0 = <&state_default>;
194 state_default: pinmux {
196 lantiq,groups = "gphy0 led0", "gphy0 led1",
197 "gphy1 led0", "gphy1 led1";
198 lantiq,function = "gphy";
199 lantiq,open-drain = <0>;
204 lantiq,groups = "mdio";
205 lantiq,function = "mdio";
208 lantiq,pins = "io21";
209 lantiq,open-drain = <0>;
218 compatible = "lantiq,nor";
220 reg = <0 0x0 0x1000000>;
221 #address-cells = <1>;
225 compatible = "fixed-partitions";
226 #address-cells = <1>;
229 boardconfig: partition@fe0000 {
230 label = "board_config";
231 reg = <0xfe0000 0x20000>;
240 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
243 compatible = "pci1814,3592";
244 reg = <0x7000 0 0 0 0>;
245 ralink,mtd-eeprom = <&boardconfig 0x410>;
246 ralink,mtd-eeprom-swap;
247 mtd-mac-address = <&boardconfig 0x16>;
248 mtd-mac-address-increment = <1>;
262 vbus-supply = <&usb_vbus>;
267 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
268 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
269 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?