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";
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";
51 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
55 label = "red:internet";
56 gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
65 label = "green:power";
66 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
67 default-state = "keep";
72 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
75 internet_green: internet_green {
76 label = "green:internet";
77 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
82 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
83 linux,default-trigger = "phy0tpt";
88 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
92 label = "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>;
111 nvmem-cells = <&macaddr_boardconfig_16>;
112 nvmem-cell-names = "mac-address";
116 lantiq,gphy-mode = <GPHY_MODE_FE>;
120 lantiq,gphy-mode = <GPHY_MODE_FE>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&state_default>, <&gphy0_led1_pins>;
127 state_default: pinmux {
129 lantiq,pins = "io21";
130 lantiq,open-drain = <0>;
138 pinctrl-0 = <&mdio_pins>,
140 <&gphy1_led0_pins>, <&gphy1_led1_pins>;
141 pinctrl-names = "default";
145 phy1: ethernet-phy@1 {
148 phy11: ethernet-phy@11 {
151 phy12: ethernet-phy@12 {
154 phy13: ethernet-phy@13 {
157 phy14: ethernet-phy@14 {
167 phy-handle = <&phy1>;
172 phy-mode = "internal";
173 phy-handle = <&phy11>;
178 phy-mode = "internal";
179 phy-handle = <&phy12>;
184 phy-mode = "internal";
185 phy-handle = <&phy13>;
190 phy-mode = "internal";
191 phy-handle = <&phy14>;
197 compatible = "lantiq,nor";
199 reg = <0 0x0 0x1000000>;
202 compatible = "fixed-partitions";
203 #address-cells = <1>;
206 boardconfig: partition@fe0000 {
207 label = "board_config";
208 reg = <0xfe0000 0x20000>;
217 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
220 compatible = "pci1814,3592";
221 reg = <0x7000 0 0 0 0>;
222 ralink,mtd-eeprom = <&boardconfig 0x410>;
224 nvmem-cells = <&macaddr_boardconfig_16>;
225 nvmem-cell-names = "mac-address";
226 mac-address-increment = <1>;
240 vbus-supply = <&usb_vbus>;
245 gpios = <&gpio 30 GPIO_ACTIVE_HIGH //fxs relay
246 &gpio 31 GPIO_ACTIVE_HIGH //still unknown
247 &gpio 3 GPIO_ACTIVE_HIGH>; //reset_slic?
251 compatible = "nvmem-cells";
252 #address-cells = <1>;
255 macaddr_boardconfig_16: macaddr@16 {