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 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RESTART>;
42 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "gpio-leds";
51 label = "vgv7510kw22:green:dsl";
52 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
56 label = "vgv7510kw22:red:internet";
57 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
61 label = "vgv7510kw22:red:info";
62 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
66 label = "vgv7510kw22:green:power";
67 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
68 default-state = "keep";
72 label = "vgv7510kw22:green:info";
73 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
76 internet_green: internet_green {
77 label = "vgv7510kw22:green:internet";
78 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
82 label = "vgv7510kw22:green:wlan";
83 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
87 label = "vgv7510kw22:red:power";
88 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
92 label = "vgv7510kw22:green:telefon";
93 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
97 usb_vbus: regulator-usb-vbus {
98 compatible = "regulator-fixed";
100 regulator-name = "USB_VBUS";
102 regulator-min-microvolt = <5000000>;
103 regulator-max-microvolt = <5000000>;
105 gpio = <&gpio 47 GPIO_ACTIVE_HIGH>;
112 compatible = "lantiq,xrx200-pdi";
113 #address-cells = <1>;
116 mtd-mac-address = <&boardconfig 0x16>;
120 compatible = "lantiq,xrx200-pdi-port";
123 phy-handle = <&phy1>;
126 compatible = "lantiq,xrx200-pdi-port";
129 phy-handle = <&phy11>;
132 compatible = "lantiq,xrx200-pdi-port";
135 phy-handle = <&phy12>;
138 compatible = "lantiq,xrx200-pdi-port";
141 phy-handle = <&phy13>;
144 compatible = "lantiq,xrx200-pdi-port";
147 phy-handle = <&phy14>;
152 #address-cells = <1>;
154 compatible = "lantiq,xrx200-mdio";
157 phy1: ethernet-phy@1 {
159 compatible = "ethernet-phy-ieee802.3-c22";
162 phy11: ethernet-phy@11 {
164 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
166 phy12: ethernet-phy@12 {
168 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
170 phy13: ethernet-phy@13 {
172 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
174 phy14: ethernet-phy@14 {
176 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
182 lantiq,gphy-mode = <GPHY_MODE_FE>;
186 lantiq,gphy-mode = <GPHY_MODE_FE>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&state_default>;
193 state_default: pinmux {
195 lantiq,groups = "gphy0 led0", "gphy0 led1",
196 "gphy1 led0", "gphy1 led1";
197 lantiq,function = "gphy";
198 lantiq,open-drain = <0>;
203 lantiq,groups = "mdio";
204 lantiq,function = "mdio";
207 lantiq,pins = "io21";
208 lantiq,open-drain = <0>;
217 compatible = "lantiq,nor";
219 reg = <0 0x0 0x1000000>;
220 #address-cells = <1>;
224 compatible = "fixed-partitions";
225 #address-cells = <1>;
228 boardconfig: partition@fe0000 {
229 label = "board_config";
230 reg = <0xfe0000 0x20000>;
239 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
242 compatible = "pci1814,3592";
243 reg = <0x7000 0 0 0 0>;
244 ralink,mtd-eeprom = <&boardconfig 0x410>;
245 ralink,mtd-eeprom-swap;
246 mtd-mac-address = <&boardconfig 0x16>;
247 mtd-mac-address-increment = <1>;
261 vbus-supply = <&usb_vbus>;
266 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
267 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
268 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?