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;
22 device_type = "memory";
23 reg = <0x0 0x7f00000>;
27 compatible = "gpio-keys-polled";
28 poll-interval = <100>;
32 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
38 gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
39 linux,code = <KEY_RFKILL>;
40 linux,input-type = <EV_SW>;
45 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
46 linux,code = <KEY_WPS_BUTTON>;
51 compatible = "gpio-leds";
55 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
56 default-state = "keep";
61 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
64 led_internet: internet {
65 label = "blue:internet";
66 gpios = <&gpio 5 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
76 gpios = <&gpio 40 GPIO_ACTIVE_LOW>;
81 gpios = <&gpio 24 GPIO_ACTIVE_LOW>;
85 label = "blue:wlan5g";
86 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
90 usb_vbus: regulator-usb-vbus {
91 compatible = "regulator-fixed";
93 regulator-name = "USB_VBUS";
95 regulator-min-microvolt = <5000000>;
96 regulator-max-microvolt = <5000000>;
98 gpio = <&gpio 33 GPIO_ACTIVE_HIGH>;
104 pinctrl-0 = <&mdio_pins>, <&gphy0_led1_pins>, <&gphy1_led1_pins>;
105 pinctrl-names = "default";
108 compatible = "lantiq,xrx200-pdi";
109 #address-cells = <1>;
112 mtd-mac-address = <&romfile 0xf100>;
116 compatible = "lantiq,xrx200-pdi-port";
119 phy-handle = <&phy0>;
120 // gpios = <&gpio 42 GPIO_ACTIVE_LOW>;
123 compatible = "lantiq,xrx200-pdi-port";
126 phy-handle = <&phy11>;
129 compatible = "lantiq,xrx200-pdi-port";
132 phy-handle = <&phy13>;
135 compatible = "lantiq,xrx200-pdi-port";
138 phy-handle = <&phy5>;
143 #address-cells = <1>;
145 compatible = "lantiq,xrx200-mdio";
147 phy0: ethernet-phy@0 {
149 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
151 phy5: ethernet-phy@5 {
153 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
155 phy11: ethernet-phy@11 {
157 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
159 phy13: ethernet-phy@13 {
161 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
167 lantiq,gphy-mode = <GPHY_MODE_GE>;
171 lantiq,gphy-mode = <GPHY_MODE_GE>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&state_default>;
178 state_default: pinmux {
180 lantiq,pins = "io42";
182 lantiq,open-drain = <0>;
186 lantiq,pins = "io38";
196 #interrupt-cells = <1>;
198 #address-cells = <3>;
203 mediatek,mtd-eeprom = <&radio 0x0000>;
205 ieee80211-freq-limit = <5000000 6000000>;
206 mtd-mac-address = <&romfile 0xf100>;
207 mtd-mac-address-increment = <2>;
214 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
221 compatible = "jedec,spi-nor";
223 spi-max-frequency = <33250000>;
227 compatible = "fixed-partitions";
228 #address-cells = <1>;
238 reg = <0x20000 0xf90000>;
243 reg = <0xfb0000 0x10000>;
249 reg = <0xfc0000 0x10000>;
254 romfile: partition@fd0000 {
255 reg = <0xfd0000 0x10000>;
261 reg = <0xfe0000 0x10000>;
266 radio: partition@ff0000 {
267 reg = <0xff0000 0x10000>;
285 vbus-supply = <&usb_vbus>;
290 vbus-supply = <&usb_vbus>;