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 compatible = "gpio-leds";
23 power_amber: power_amber {
24 label = "ex6150:amber:power";
25 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
28 power_green: power_green {
29 label = "ex6150:green:power";
30 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
34 label = "ex6150:green:wps";
35 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
39 label = "ex6150:blue:rightarrow";
40 gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
44 label = "ex6150:blue:leftarrow";
45 gpios = <&gpio 31 GPIO_ACTIVE_LOW>;
49 label = "ex6150:green:router";
50 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
51 linux,default-trigger = "phy1tpt";
55 label = "ex6150:red:router";
56 gpios = <&gpio 30 GPIO_ACTIVE_LOW>;
60 label = "ex6150:green:client";
61 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
62 linux,default-trigger = "phy0tpt";
66 label = "ex6150:red:client";
67 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
72 compatible = "gpio-keys";
76 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
77 linux,code = <KEY_WPS_BUTTON>;
82 gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
83 linux,code = <KEY_RESTART>;
87 label = "AP/Extender toggle";
88 gpios = <&gpio 48 GPIO_ACTIVE_LOW>;
90 /* Active when switch is set to "Access Point" */
99 compatible = "jedec,spi-nor";
101 spi-max-frequency = <10000000>;
104 compatible = "fixed-partitions";
105 #address-cells = <1>;
116 reg = <0x30000 0x10000>;
120 factory: partition@40000 {
122 reg = <0x40000 0x10000>;
127 compatible = "denx,uimage";
129 reg = <0x50000 0xe80000>;
134 reg = <0xed0000 0x10000>;
140 reg = <0xef0000 0x20000>;
146 reg = <0xf10000 0x20000>;
152 reg = <0xf30000 0x20000>;
158 reg = <0xf50000 0x20000>;
164 reg = <0xf70000 0x20000>;
170 reg = <0xf90000 0x20000>;
176 reg = <0xfb0000 0x10000>;
182 reg = <0xfc0000 0x10000>;
188 reg = <0xfd0000 0x10000>;
193 label = "board_data";
194 reg = <0xfe0000 0x10000>;
200 reg = <0xff0000 0x10000>;
213 reg = <0x0000 0 0 0 0>;
214 mediatek,mtd-eeprom = <&factory 0x8000>;
215 ieee80211-freq-limit = <5000000 6000000>;
221 reg = <0x0000 0 0 0 0>;
222 mediatek,mtd-eeprom = <&factory 0x0000>;
223 ieee80211-freq-limit = <2400000 2500000>;
228 mtd-mac-address = <&factory 0x4>;
242 groups = "sdhci", "rgmii2", "jtag";