1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
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 compatible = "gpio-leds";
22 power_amber: power_amber {
23 label = "amber:power";
24 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
27 power_green: power_green {
28 label = "green:power";
29 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
38 label = "blue:rightarrow";
39 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
43 label = "blue:leftarrow";
44 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
48 label = "green:router";
49 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
50 linux,default-trigger = "phy1tpt";
55 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
59 label = "green:client";
60 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
61 linux,default-trigger = "phy0tpt";
66 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
71 compatible = "gpio-keys";
75 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
76 linux,code = <KEY_WPS_BUTTON>;
81 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
82 linux,code = <KEY_RESTART>;
86 label = "AP/Extender toggle";
87 gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
89 /* Active when switch is set to "Access Point" */
98 compatible = "jedec,spi-nor";
100 spi-max-frequency = <10000000>;
103 compatible = "fixed-partitions";
104 #address-cells = <1>;
115 reg = <0x30000 0x10000>;
119 factory: partition@40000 {
121 reg = <0x40000 0x10000>;
126 compatible = "denx,uimage";
128 reg = <0x50000 0xe80000>;
133 reg = <0xed0000 0x10000>;
139 reg = <0xef0000 0x20000>;
145 reg = <0xf10000 0x20000>;
151 reg = <0xf30000 0x20000>;
157 reg = <0xf50000 0x20000>;
163 reg = <0xf70000 0x20000>;
169 reg = <0xf90000 0x20000>;
175 reg = <0xfb0000 0x10000>;
181 reg = <0xfc0000 0x10000>;
187 reg = <0xfd0000 0x10000>;
192 label = "board_data";
193 reg = <0xfe0000 0x10000>;
199 reg = <0xff0000 0x10000>;
212 reg = <0x0000 0 0 0 0>;
213 mediatek,mtd-eeprom = <&factory 0x8000>;
214 ieee80211-freq-limit = <5000000 6000000>;
220 reg = <0x0000 0 0 0 0>;
221 mediatek,mtd-eeprom = <&factory 0x0000>;
222 ieee80211-freq-limit = <2400000 2500000>;
227 mtd-mac-address = <&factory 0x4>;
241 groups = "sdhci", "rgmii2", "jtag";