3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 led-failsafe = &led_power;
10 led-running = &led_power;
11 led-upgrade = &led_power;
14 led-internet = &led_internet;
15 led-wifi = &led_wlan5g;
19 device_type = "memory";
20 reg = <0x0 0x7f00000>;
24 compatible = "gpio-keys-polled";
25 poll-interval = <100>;
29 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
30 linux,code = <KEY_RESTART>;
35 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
36 linux,code = <KEY_RFKILL>;
37 linux,input-type = <EV_SW>;
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_WPS_BUTTON>;
48 compatible = "gpio-leds";
52 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
53 default-state = "keep";
58 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
61 led_internet: internet {
62 label = "blue:internet";
63 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
68 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
69 trigger-sources = <&ehci_port1>, <&ehci_port2>;
70 linux,default-trigger = "usbport";
75 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
80 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
84 label = "blue:wlan5g";
85 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
89 usb_vbus: regulator-usb-vbus {
90 compatible = "regulator-fixed";
92 regulator-name = "USB_VBUS";
94 regulator-min-microvolt = <5000000>;
95 regulator-max-microvolt = <5000000>;
97 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
103 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
104 pinctrl-names = "default";
107 compatible = "lantiq,xrx200-pdi";
108 #address-cells = <1>;
111 mtd-mac-address = <&romfile 0xf100>;
115 compatible = "lantiq,xrx200-pdi-port";
118 phy-handle = <&phy0>;
119 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
122 compatible = "lantiq,xrx200-pdi-port";
125 phy-handle = <&phy11>;
128 compatible = "lantiq,xrx200-pdi-port";
131 phy-handle = <&phy13>;
134 compatible = "lantiq,xrx200-pdi-port";
137 phy-handle = <&phy5>;
142 #address-cells = <1>;
144 compatible = "lantiq,xrx200-mdio";
146 phy0: ethernet-phy@0 {
148 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
150 phy5: ethernet-phy@5 {
152 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
154 phy11: ethernet-phy@11 {
156 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
158 phy13: ethernet-phy@13 {
160 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
166 lantiq,gphy-mode = <GPHY_MODE_GE>;
170 lantiq,gphy-mode = <GPHY_MODE_GE>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&state_default>;
177 state_default: pinmux {
179 lantiq,pins = "io42";
181 lantiq,open-drain = <0>;
185 lantiq,pins = "io38";
195 #interrupt-cells = <1>;
197 #address-cells = <3>;
202 mediatek,mtd-eeprom = <&radio 0x0000>;
204 ieee80211-freq-limit = <5000000 6000000>;
205 mtd-mac-address = <&romfile 0xf100>;
206 mtd-mac-address-increment = <2>;
213 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
220 compatible = "jedec,spi-nor";
222 spi-max-frequency = <33250000>;
226 compatible = "fixed-partitions";
227 #address-cells = <1>;
237 reg = <0x20000 0xf90000>;
242 reg = <0xfb0000 0x10000>;
248 reg = <0xfc0000 0x10000>;
253 romfile: partition@fd0000 {
254 reg = <0xfd0000 0x10000>;
260 reg = <0xfe0000 0x10000>;
265 radio: partition@ff0000 {
266 reg = <0xff0000 0x10000>;
284 vbus-supply = <&usb_vbus>;
289 vbus-supply = <&usb_vbus>;