1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca956x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Netgear EX7300 v2";
10 compatible = "netgear,ex7300-v2", "qca,qcn5500", "qca,qca9560";
13 led-boot = &led_power_green;
14 led-failsafe = &led_power_amber;
15 led-running = &led_power_green;
16 led-upgrade = &led_power_amber;
17 label-mac-device = ð0;
21 compatible = "spi-gpio";
25 sck-gpios = <&gpio 14 GPIO_ACTIVE_HIGH>;
26 mosi-gpios = <&gpio 0 GPIO_ACTIVE_HIGH>;
27 num-chipselects = <0>;
29 led_gpio: led_gpio@0 {
30 compatible = "fairchild,74hc595";
34 registers-number = <1>;
35 spi-max-frequency = <500000>;
40 compatible = "gpio-leds";
42 led_power_green: power_green {
43 label = "green:power";
44 gpios = <&gpio 4 GPIO_ACTIVE_LOW>;
47 led_power_amber: power_amber {
48 label = "amber:power";
49 gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
54 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
59 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
63 label = "green:router";
64 gpios = <&led_gpio 4 GPIO_ACTIVE_LOW>;
69 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
73 label = "green:client";
74 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
79 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
84 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
89 compatible = "gpio-keys";
92 label = "Reset button";
93 linux,code = <KEY_RESTART>;
94 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
95 debounce-interval = <60>;
100 linux,code = <KEY_WPS_BUTTON>;
101 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
102 debounce-interval = <60>;
106 label = "EXTENDER/APMODE switch";
107 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
108 linux,code = <BTN_0>;
109 linux,input-type = <EV_SW>;
110 debounce-interval = <60>;
119 compatible = "qcom,ath10k";
122 nvmem-cells = <&macaddr_artmtd_c>, <&precal_art_5000>;
123 nvmem-cell-names = "mac-address", "pre-calibration";
131 compatible = "jedec,spi-nor";
133 spi-max-frequency = <25000000>;
136 compatible = "fixed-partitions";
137 #address-cells = <1>;
142 reg = <0x000000 0x040000>;
147 label = "u-boot-env";
148 reg = <0x040000 0x010000>;
154 reg = <0x050000 0x010000>;
159 reg = <0x060000 0x010000>;
165 reg = <0x70000 0xe30000>;
166 compatible = "denx,uimage";
171 reg = <0xea0000 0x100000>;
177 reg = <0xfa0000 0x40000>;
183 reg = <0xfe0000 0x10000>;
185 compatible = "nvmem-cells";
186 #address-cells = <1>;
189 macaddr_artmtd_0: macaddr@0 {
193 macaddr_artmtd_6: macaddr@6 {
197 macaddr_artmtd_c: macaddr@c {
204 reg = <0xff0000 0x10000>;
207 compatible = "nvmem-cells";
208 #address-cells = <1>;
211 cal_art_1000: cal@1000 {
212 reg = <0x1000 0x440>;
215 precal_art_5000: precal@5000 {
216 reg = <0x5000 0x2f20>;
225 /* Does not work due to lack of QCN5502 support in ath9k. */
228 nvmem-cells = <&macaddr_artmtd_6>, <&cal_art_1000>;
229 nvmem-cell-names = "mac-address", "calibration";
235 phy5: ethernet-phy@5 {
244 nvmem-cells = <&macaddr_artmtd_0>;
245 nvmem-cell-names = "mac-address";
247 phy-handle = <&phy5>;
250 pll-data = <0x03000000 0x00000101 0x00001313>;