1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/input/input.h>
10 compatible = "netgear,ex6150", "mediatek,mt7621-soc";
11 model = "Netgear EX6150";
14 led-boot = &power_green;
15 led-failsafe = &power_amber;
16 led-running = &power_green;
17 led-upgrade = &power_amber;
21 bootargs = "console=ttyS0,57600";
25 compatible = "gpio-leds";
27 power_amber: power_amber {
28 label = "ex6150:amber:power";
29 gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
32 power_green: power_green {
33 label = "ex6150:green:power";
34 gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
38 label = "ex6150:green:wps";
39 gpios = <&gpio0 16 GPIO_ACTIVE_LOW>;
43 label = "ex6150:blue:rightarrow";
44 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
48 label = "ex6150:blue:leftarrow";
49 gpios = <&gpio0 31 GPIO_ACTIVE_LOW>;
53 label = "ex6150:green:router";
54 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
55 linux,default-trigger = "phy1tpt";
59 label = "ex6150:red:router";
60 gpios = <&gpio0 30 GPIO_ACTIVE_LOW>;
64 label = "ex6150:green:client";
65 gpios = <&gpio1 1 GPIO_ACTIVE_LOW>;
66 linux,default-trigger = "phy0tpt";
70 label = "ex6150:red:client";
71 gpios = <&gpio1 0 GPIO_ACTIVE_LOW>;
76 compatible = "gpio-keys";
80 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
81 linux,code = <KEY_WPS_BUTTON>;
86 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_RESTART>;
91 label = "AP/Extender toggle";
92 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
94 /* Active when switch is set to "Access Point" */
103 compatible = "jedec,spi-nor";
105 spi-max-frequency = <10000000>;
108 compatible = "fixed-partitions";
109 #address-cells = <1>;
120 reg = <0x30000 0x10000>;
124 factory: partition@40000 {
126 reg = <0x40000 0x10000>;
131 compatible = "denx,uimage";
133 reg = <0x50000 0xe80000>;
138 reg = <0xed0000 0x10000>;
144 reg = <0xef0000 0x20000>;
150 reg = <0xf10000 0x20000>;
156 reg = <0xf30000 0x20000>;
162 reg = <0xf50000 0x20000>;
168 reg = <0xf70000 0x20000>;
174 reg = <0xf90000 0x20000>;
180 reg = <0xfb0000 0x10000>;
186 reg = <0xfc0000 0x10000>;
192 reg = <0xfd0000 0x10000>;
197 label = "board_data";
198 reg = <0xfe0000 0x10000>;
204 reg = <0xff0000 0x10000>;
217 reg = <0x0000 0 0 0 0>;
218 mediatek,mtd-eeprom = <&factory 0x8000>;
219 ieee80211-freq-limit = <5000000 6000000>;
225 reg = <0x0000 0 0 0 0>;
226 mediatek,mtd-eeprom = <&factory 0x0000>;
227 ieee80211-freq-limit = <2400000 2500000>;
232 mtd-mac-address = <&factory 0x00000004>;
236 state_default: pinctrl0 {
238 ralink,group = "sdhci", "rgmii2", "jtag";
239 ralink,function = "gpio";