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>
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_amber;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_amber;
14 label-mac-device = ð0;
18 compatible = "spi-gpio";
22 sck-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
23 mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
24 num-chipselects = <0>;
26 led_gpio: led_gpio@0 {
27 compatible = "nxp,74lvc594";
31 registers-number = <1>;
32 spi-max-frequency = <500000>;
36 gpios = <4 GPIO_ACTIVE_HIGH>;
38 line-name = "gpio-latch-bit";
44 compatible = "gpio-leds";
46 led_power_green: power_green {
47 label = "netgear:green:power";
48 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
51 led_power_amber: power_amber {
52 label = "netgear:amber:power";
53 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
57 label = "netgear:blue:left";
58 gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
62 label = "netgear:blue:right";
63 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
67 label = "netgear:green:wps";
68 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
72 label = "netgear:red:client";
73 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
77 label = "netgear:green:client";
78 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
82 label = "netgear:red:router";
83 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
87 label = "netgear:green:router";
88 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
93 compatible = "gpio-keys";
96 label = "Reset button";
97 linux,code = <KEY_RESTART>;
98 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
99 debounce-interval = <60>;
103 label = "WPS button";
104 linux,code = <KEY_WPS_BUTTON>;
105 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
106 debounce-interval = <60>;
110 label = "EXTENDER/APMODE switch";
111 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
112 linux,code = <BTN_0>;
113 linux,input-type = <EV_SW>;
114 debounce-interval = <60>;
137 compatible = "jedec,spi-nor";
139 spi-max-frequency = <25000000>;
142 compatible = "fixed-partitions";
143 #address-cells = <1>;
148 reg = <0x000000 0x040000>;
153 label = "u-boot-env";
154 reg = <0x040000 0x010000>;
157 caldata: partition@50000 {
159 reg = <0x050000 0x010000>;
164 label = "caldata-backup";
165 reg = <0x060000 0x010000>;
171 reg = <0x070000 0x010000>;
176 reg = <0x080000 0x010000>;
181 reg = <0x090000 0xf30000>;
182 compatible = "denx,uimage";
187 reg = <0xfc0000 0x040000>;
196 mtd-cal-data = <&caldata 0x1000>;
197 mtd-mac-address = <&caldata 0x06>;
203 phy4: ethernet-phy@4 {
212 mtd-mac-address = <&caldata 0x00>;
214 phy-handle = <&phy4>;
215 phy-mode = "rgmii-rxid";
217 pll-data = <0x86000000 0x80000101 0x80001313>;