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;
19 led-internet = &internet_green;
24 reg = <0x0 0x4000000>;
28 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
35 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RESTART>;
41 gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_WPS_BUTTON>;
47 compatible = "gpio-leds";
50 label = "vgv7510kw22:green:dsl";
51 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
55 label = "vgv7510kw22:red:internet";
56 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
60 label = "vgv7510kw22:red:info";
61 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
65 label = "vgv7510kw22:green:power";
66 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
67 default-state = "keep";
71 label = "vgv7510kw22:green:info";
72 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
75 internet_green: internet_green {
76 label = "vgv7510kw22:green:internet";
77 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
81 label = "vgv7510kw22:green:wlan";
82 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
86 label = "vgv7510kw22:red:power";
87 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
91 label = "vgv7510kw22:green:telefon";
92 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
96 usb_vbus: regulator-usb-vbus {
97 compatible = "regulator-fixed";
99 regulator-name = "USB_VBUS";
101 regulator-min-microvolt = <5000000>;
102 regulator-max-microvolt = <5000000>;
104 gpio = <&gpio 47 GPIO_ACTIVE_HIGH>;
111 compatible = "lantiq,xrx200-pdi";
112 #address-cells = <1>;
115 mtd-mac-address = <&boardconfig 0x16>;
119 compatible = "lantiq,xrx200-pdi-port";
122 phy-handle = <&phy1>;
125 compatible = "lantiq,xrx200-pdi-port";
128 phy-handle = <&phy11>;
131 compatible = "lantiq,xrx200-pdi-port";
134 phy-handle = <&phy12>;
137 compatible = "lantiq,xrx200-pdi-port";
140 phy-handle = <&phy13>;
143 compatible = "lantiq,xrx200-pdi-port";
146 phy-handle = <&phy14>;
151 #address-cells = <1>;
153 compatible = "lantiq,xrx200-mdio";
156 phy1: ethernet-phy@1 {
158 compatible = "ethernet-phy-ieee802.3-c22";
161 phy11: ethernet-phy@11 {
163 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
165 phy12: ethernet-phy@12 {
167 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
169 phy13: ethernet-phy@13 {
171 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
173 phy14: ethernet-phy@14 {
175 compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22";
181 lantiq,gphy-mode = <GPHY_MODE_FE>;
185 lantiq,gphy-mode = <GPHY_MODE_FE>;
189 pinctrl-names = "default";
190 pinctrl-0 = <&state_default>;
192 state_default: pinmux {
194 lantiq,groups = "gphy0 led0", "gphy0 led1",
195 "gphy1 led0", "gphy1 led1";
196 lantiq,function = "gphy";
197 lantiq,open-drain = <0>;
202 lantiq,groups = "mdio";
203 lantiq,function = "mdio";
206 lantiq,pins = "io21";
207 lantiq,open-drain = <0>;
216 compatible = "lantiq,nor";
218 reg = <0 0x0 0x1000000>;
219 #address-cells = <1>;
223 compatible = "fixed-partitions";
224 #address-cells = <1>;
227 boardconfig: partition@fe0000 {
228 label = "board_config";
229 reg = <0xfe0000 0x20000>;
238 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
241 compatible = "pci1814,3592";
242 reg = <0x7000 0 0 0 0>;
243 ralink,mtd-eeprom = <&boardconfig 0x410>;
244 ralink,mtd-eeprom-swap;
245 mtd-mac-address = <&boardconfig 0x16>;
246 mtd-mac-address-increment = <1>;
260 vbus-supply = <&usb_vbus>;
265 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
266 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
267 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?