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 nvmem-cells = <&macaddr_romfile_f100 0>;
104 nvmem-cell-names = "mac-address";
108 lantiq,gphy-mode = <GPHY_MODE_GE>;
112 lantiq,gphy-mode = <GPHY_MODE_GE>;
116 pinctrl-names = "default";
117 pinctrl-0 = <&state_default>;
119 state_default: pinmux {
121 lantiq,pins = "io42";
123 lantiq,open-drain = <0>;
127 lantiq,pins = "io38";
135 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
136 pinctrl-names = "default";
140 phy0: ethernet-phy@0 {
142 // reset-gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
144 phy5: ethernet-phy@5 {
147 phy11: ethernet-phy@11 {
150 phy13: ethernet-phy@13 {
160 phy-handle = <&phy0>;
165 phy-mode = "internal";
166 phy-handle = <&phy11>;
171 phy-mode = "internal";
172 phy-handle = <&phy13>;
178 phy-handle = <&phy5>;
185 #interrupt-cells = <1>;
187 #address-cells = <3>;
192 mediatek,mtd-eeprom = <&radio 0x0000>;
194 ieee80211-freq-limit = <5000000 6000000>;
195 nvmem-cells = <&macaddr_romfile_f100 2>;
196 nvmem-cell-names = "mac-address";
203 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
210 compatible = "jedec,spi-nor";
212 spi-max-frequency = <33250000>;
216 compatible = "fixed-partitions";
217 #address-cells = <1>;
227 reg = <0x20000 0xf90000>;
232 reg = <0xfb0000 0x10000>;
238 reg = <0xfc0000 0x10000>;
243 romfile: partition@fd0000 {
244 reg = <0xfd0000 0x10000>;
249 compatible = "fixed-layout";
250 #address-cells = <1>;
253 macaddr_romfile_f100: macaddr@f100 {
254 compatible = "mac-base";
256 #nvmem-cell-cells = <1>;
262 reg = <0xfe0000 0x10000>;
267 radio: partition@ff0000 {
268 reg = <0xff0000 0x10000>;
286 vbus-supply = <&usb_vbus>;
291 vbus-supply = <&usb_vbus>;