1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
7 #include "qca9557.dtsi"
11 bootargs = "console=ttyS0,115200n8";
15 led-boot = &power_green;
16 led-failsafe = &power_amber;
17 led-running = &power_green;
18 led-upgrade = &power_amber;
22 compatible = "spi-gpio";
26 sck-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
27 mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
28 num-chipselects = <0>;
30 led_gpio: led_gpio@0 {
31 compatible = "nxp,74lvc594";
35 registers-number = <1>;
36 spi-max-frequency = <500000>;
40 gpios = <4 GPIO_ACTIVE_HIGH>;
42 line-name = "gpio-latch-bit";
48 compatible = "gpio-leds";
50 power_green: power_green {
51 label = "netgear:green:power";
52 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
55 power_amber: power_amber {
56 label = "netgear:amber:power";
57 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
61 label = "netgear:blue:left";
62 gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
66 label = "netgear:blue:right";
67 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
71 label = "netgear:green:wps";
72 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
76 label = "netgear:red:client";
77 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
81 label = "netgear:green:client";
82 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
86 label = "netgear:red:router";
87 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
91 label = "netgear:green:router";
92 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
97 compatible = "gpio-keys";
100 label = "Reset button";
101 linux,code = <KEY_RESTART>;
102 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
103 debounce-interval = <60>;
107 label = "WPS button";
108 linux,code = <KEY_WPS_BUTTON>;
109 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
110 debounce-interval = <60>;
114 label = "EXTENDER/APMODE switch";
115 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
116 linux,code = <BTN_0>;
117 linux,input-type = <EV_SW>;
118 debounce-interval = <60>;
140 compatible = "jedec,spi-nor";
142 spi-max-frequency = <25000000>;
145 compatible = "fixed-partitions";
146 #address-cells = <1>;
151 reg = <0x000000 0x040000>;
156 label = "u-boot-env";
157 reg = <0x040000 0x010000>;
160 caldata: partition@50000 {
162 reg = <0x050000 0x010000>;
167 label = "caldata-backup";
168 reg = <0x060000 0x010000>;
174 reg = <0x070000 0x010000>;
179 reg = <0x080000 0x010000>;
184 reg = <0x090000 0xf30000>;
185 compatible = "denx,uimage";
190 reg = <0xfc0000 0x040000>;
199 mtd-cal-data = <&caldata 0x1000>;
200 mtd-mac-address = <&caldata 0x06>;
206 phy4: ethernet-phy@4 {
215 mtd-mac-address = <&caldata 0x00>;
217 phy-handle = <&phy4>;
220 pll-data = <0x83000000 0x80000101 0x80001313>;