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>;
130 compatible = "jedec,spi-nor";
132 spi-max-frequency = <25000000>;
135 compatible = "fixed-partitions";
136 #address-cells = <1>;
141 reg = <0x000000 0x040000>;
146 label = "u-boot-env";
147 reg = <0x040000 0x010000>;
150 caldata: partition@50000 {
152 reg = <0x050000 0x010000>;
157 label = "caldata-backup";
158 reg = <0x060000 0x010000>;
164 reg = <0x070000 0x010000>;
169 reg = <0x080000 0x010000>;
174 reg = <0x090000 0xf30000>;
175 compatible = "denx,uimage";
180 reg = <0xfc0000 0x040000>;
189 mtd-cal-data = <&caldata 0x1000>;
190 nvmem-cells = <&macaddr_caldata_6>;
191 nvmem-cell-names = "mac-address";
197 phy4: ethernet-phy@4 {
206 nvmem-cells = <&macaddr_caldata_0>;
207 nvmem-cell-names = "mac-address";
209 phy-handle = <&phy4>;
210 phy-mode = "rgmii-rxid";
212 pll-data = <0x86000000 0x80000101 0x80001313>;
216 compatible = "nvmem-cells";
217 #address-cells = <1>;
220 macaddr_caldata_0: macaddr@0 {
224 macaddr_caldata_6: macaddr@6 {