1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca955x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
9 model = "Netgear EX7300";
10 compatible = "netgear,ex7300", "qca,qca9558";
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 18 GPIO_ACTIVE_HIGH>;
26 mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
27 num-chipselects = <0>;
29 led_gpio: led_gpio@0 {
30 compatible = "nxp,74lvc594";
34 registers-number = <1>;
35 spi-max-frequency = <500000>;
39 gpios = <4 GPIO_ACTIVE_HIGH>;
41 line-name = "gpio-latch-bit";
47 compatible = "gpio-leds";
49 led_power_green: power_green {
50 label = "green:power";
51 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
54 led_power_amber: power_amber {
55 label = "amber:power";
56 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
61 gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
66 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
71 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
76 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
80 label = "green:client";
81 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
86 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
90 label = "green:router";
91 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
96 compatible = "gpio-keys";
99 label = "Reset button";
100 linux,code = <KEY_RESTART>;
101 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
102 debounce-interval = <60>;
106 label = "WPS button";
107 linux,code = <KEY_WPS_BUTTON>;
108 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
109 debounce-interval = <60>;
113 label = "EXTENDER/APMODE switch";
114 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
115 linux,code = <BTN_0>;
116 linux,input-type = <EV_SW>;
117 debounce-interval = <60>;
126 compatible = "qcom,ath10k";
129 nvmem-cells = <&macaddr_caldata_c>, <&precal_caldata_5000>;
130 nvmem-cell-names = "mac-address", "pre-calibration";
138 compatible = "jedec,spi-nor";
140 spi-max-frequency = <25000000>;
143 compatible = "fixed-partitions";
144 #address-cells = <1>;
149 reg = <0x000000 0x040000>;
154 label = "u-boot-env";
155 reg = <0x040000 0x010000>;
158 caldata: partition@50000 {
160 reg = <0x050000 0x010000>;
164 compatible = "fixed-layout";
165 #address-cells = <1>;
168 macaddr_caldata_0: macaddr@0 {
172 macaddr_caldata_6: macaddr@6 {
176 macaddr_caldata_c: macaddr@c {
180 cal_caldata_1000: cal@1000 {
181 reg = <0x1000 0x440>;
184 precal_caldata_5000: precal@5000 {
185 reg = <0x5000 0x2f20>;
191 label = "caldata-backup";
192 reg = <0x060000 0x010000>;
198 reg = <0x070000 0x010000>;
203 reg = <0x080000 0x010000>;
208 reg = <0x090000 0xf30000>;
209 compatible = "denx,uimage";
214 reg = <0xfc0000 0x040000>;
223 nvmem-cells = <&macaddr_caldata_6>, <&cal_caldata_1000>;
224 nvmem-cell-names = "mac-address", "calibration";
230 phy4: ethernet-phy@4 {
239 nvmem-cells = <&macaddr_caldata_0>;
240 nvmem-cell-names = "mac-address";
242 phy-handle = <&phy4>;
243 phy-mode = "rgmii-rxid";
245 pll-data = <0x86000000 0x80000101 0x80001313>;