5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 compatible = "netgear,ex6150", "mediatek,mt7621-soc";
10 model = "Netgear EX6150";
13 led-boot = &power_green;
14 led-failsafe = &power_amber;
15 led-running = &power_green;
16 led-upgrade = &power_amber;
20 device_type = "memory";
21 reg = <0x0 0x4000000>;
25 bootargs = "console=ttyS0,57600";
29 compatible = "gpio-leds";
31 power_amber: power_amber {
32 label = "ex6150:amber:power";
33 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
36 power_green: power_green {
37 label = "ex6150:green:power";
38 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
42 label = "ex6150:green:wps";
43 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
47 label = "ex6150:blue:rightarrow";
48 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
52 label = "ex6150:blue:leftarrow";
53 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
57 label = "ex6150:green:router";
58 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
59 linux,default-trigger = "phy1tpt";
63 label = "ex6150:red:router";
64 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
68 label = "ex6150:green:client";
69 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
70 linux,default-trigger = "phy0tpt";
74 label = "ex6150:red:client";
75 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
80 compatible = "gpio-keys-polled";
85 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
86 linux,code = <KEY_WPS_BUTTON>;
91 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
92 linux,code = <KEY_RESTART>;
96 label = "AP/Extender toggle";
97 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
99 /* Active when switch is set to "Access Point" */
108 compatible = "jedec,spi-nor";
110 spi-max-frequency = <10000000>;
113 compatible = "fixed-partitions";
114 #address-cells = <1>;
125 reg = <0x30000 0x10000>;
129 factory: partition@40000 {
131 reg = <0x40000 0x10000>;
136 compatible = "denx,uimage";
138 reg = <0x50000 0xe80000>;
143 reg = <0xed0000 0x10000>;
149 reg = <0xef0000 0x20000>;
155 reg = <0xf10000 0x20000>;
161 reg = <0xf30000 0x20000>;
167 reg = <0xf50000 0x20000>;
173 reg = <0xf70000 0x20000>;
179 reg = <0xf90000 0x20000>;
185 reg = <0xfb0000 0x10000>;
191 reg = <0xfc0000 0x10000>;
197 reg = <0xfd0000 0x10000>;
202 label = "board_data";
203 reg = <0xfe0000 0x10000>;
209 reg = <0xff0000 0x10000>;
222 reg = <0x0000 0 0 0 0>;
223 mediatek,mtd-eeprom = <&factory 0x8000>;
224 ieee80211-freq-limit = <5000000 6000000>;
230 reg = <0x0000 0 0 0 0>;
231 mediatek,mtd-eeprom = <&factory 0x0000>;
232 ieee80211-freq-limit = <2400000 2500000>;
237 mtd-mac-address = <&factory 0x00000004>;
241 state_default: pinctrl0 {
243 ralink,group = "sdhci", "rgmii2", "jtag";
244 ralink,function = "gpio";