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 mtd-mac-address = <&romfile 0xf100>;
107 lantiq,gphy-mode = <GPHY_MODE_GE>;
111 lantiq,gphy-mode = <GPHY_MODE_GE>;
115 pinctrl-names = "default";
116 pinctrl-0 = <&state_default>;
118 state_default: pinmux {
120 lantiq,pins = "io42";
122 lantiq,open-drain = <0>;
126 lantiq,pins = "io38";
134 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
135 pinctrl-names = "default";
139 phy0: ethernet-phy@0 {
141 // reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
143 phy5: ethernet-phy@5 {
146 phy11: ethernet-phy@11 {
149 phy13: ethernet-phy@13 {
159 phy-handle = <&phy0>;
164 phy-mode = "internal";
165 phy-handle = <&phy11>;
170 phy-mode = "internal";
171 phy-handle = <&phy13>;
177 phy-handle = <&phy5>;
184 #interrupt-cells = <1>;
186 #address-cells = <3>;
191 mediatek,mtd-eeprom = <&radio 0x0000>;
193 ieee80211-freq-limit = <5000000 6000000>;
194 mtd-mac-address = <&romfile 0xf100>;
195 mac-address-increment = <2>;
202 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
209 compatible = "jedec,spi-nor";
211 spi-max-frequency = <33250000>;
215 compatible = "fixed-partitions";
216 #address-cells = <1>;
226 reg = <0x20000 0xf90000>;
231 reg = <0xfb0000 0x10000>;
237 reg = <0xfc0000 0x10000>;
242 romfile: partition@fd0000 {
243 reg = <0xfd0000 0x10000>;
249 reg = <0xfe0000 0x10000>;
254 radio: partition@ff0000 {
255 reg = <0xff0000 0x10000>;
273 vbus-supply = <&usb_vbus>;
278 vbus-supply = <&usb_vbus>;