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 = &led_power_green;
16 led-failsafe = &led_power_amber;
17 led-running = &led_power_green;
18 led-upgrade = &led_power_amber;
19 label-mac-device = ð0;
23 compatible = "spi-gpio";
27 sck-gpios = <&gpio 18 GPIO_ACTIVE_HIGH>;
28 mosi-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>;
29 num-chipselects = <0>;
31 led_gpio: led_gpio@0 {
32 compatible = "nxp,74lvc594";
36 registers-number = <1>;
37 spi-max-frequency = <500000>;
41 gpios = <4 GPIO_ACTIVE_HIGH>;
43 line-name = "gpio-latch-bit";
49 compatible = "gpio-leds";
51 led_power_green: power_green {
52 label = "netgear:green:power";
53 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
56 led_power_amber: power_amber {
57 label = "netgear:amber:power";
58 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
62 label = "netgear:blue:left";
63 gpios = <&led_gpio 7 GPIO_ACTIVE_LOW>;
67 label = "netgear:blue:right";
68 gpios = <&led_gpio 6 GPIO_ACTIVE_LOW>;
72 label = "netgear:green:wps";
73 gpios = <&led_gpio 5 GPIO_ACTIVE_LOW>;
77 label = "netgear:red:client";
78 gpios = <&led_gpio 3 GPIO_ACTIVE_LOW>;
82 label = "netgear:green:client";
83 gpios = <&led_gpio 2 GPIO_ACTIVE_LOW>;
87 label = "netgear:red:router";
88 gpios = <&led_gpio 1 GPIO_ACTIVE_LOW>;
92 label = "netgear:green:router";
93 gpios = <&led_gpio 0 GPIO_ACTIVE_LOW>;
98 compatible = "gpio-keys";
101 label = "Reset button";
102 linux,code = <KEY_RESTART>;
103 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
104 debounce-interval = <60>;
108 label = "WPS button";
109 linux,code = <KEY_WPS_BUTTON>;
110 gpios = <&gpio 22 GPIO_ACTIVE_LOW>;
111 debounce-interval = <60>;
115 label = "EXTENDER/APMODE switch";
116 gpios = <&gpio 23 GPIO_ACTIVE_LOW>;
117 linux,code = <BTN_0>;
118 linux,input-type = <EV_SW>;
119 debounce-interval = <60>;
142 compatible = "jedec,spi-nor";
144 spi-max-frequency = <25000000>;
147 compatible = "fixed-partitions";
148 #address-cells = <1>;
153 reg = <0x000000 0x040000>;
158 label = "u-boot-env";
159 reg = <0x040000 0x010000>;
162 caldata: partition@50000 {
164 reg = <0x050000 0x010000>;
169 label = "caldata-backup";
170 reg = <0x060000 0x010000>;
176 reg = <0x070000 0x010000>;
181 reg = <0x080000 0x010000>;
186 reg = <0x090000 0xf30000>;
187 compatible = "denx,uimage";
192 reg = <0xfc0000 0x040000>;
201 mtd-cal-data = <&caldata 0x1000>;
202 mtd-mac-address = <&caldata 0x06>;
208 phy4: ethernet-phy@4 {
217 mtd-mac-address = <&caldata 0x00>;
219 phy-handle = <&phy4>;
220 phy-mode = "rgmii-rxid";
222 pll-data = <0x86000000 0x80000101 0x80001313>;