1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
6 #include "qca9557.dtsi"
10 bootargs = "console=ttyS0,115200n8";
14 led-boot = &led_power_green;
15 led-failsafe = &led_power_amber;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_amber;
18 label-mac-device = ð0;
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 led_power_green: power_green {
51 label = "netgear:green:power";
52 gpios = <&gpio 19 GPIO_ACTIVE_LOW>;
55 led_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>;
141 compatible = "jedec,spi-nor";
143 spi-max-frequency = <25000000>;
146 compatible = "fixed-partitions";
147 #address-cells = <1>;
152 reg = <0x000000 0x040000>;
157 label = "u-boot-env";
158 reg = <0x040000 0x010000>;
161 caldata: partition@50000 {
163 reg = <0x050000 0x010000>;
168 label = "caldata-backup";
169 reg = <0x060000 0x010000>;
175 reg = <0x070000 0x010000>;
180 reg = <0x080000 0x010000>;
185 reg = <0x090000 0xf30000>;
186 compatible = "denx,uimage";
191 reg = <0xfc0000 0x040000>;
200 mtd-cal-data = <&caldata 0x1000>;
201 mtd-mac-address = <&caldata 0x06>;
207 phy4: ethernet-phy@4 {
216 mtd-mac-address = <&caldata 0x00>;
218 phy-handle = <&phy4>;
219 phy-mode = "rgmii-rxid";
221 pll-data = <0x86000000 0x80000101 0x80001313>;