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>
11 bootargs = "console=ttyS0,115200n8";
15 led-boot = &led_power_amber;
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 = "gpio-keys";
27 linux,code = <KEY_WPS_BUTTON>;
28 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
33 linux,code = <KEY_RESTART>;
34 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RFKILL>;
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
45 compatible = "gpio-leds";
47 pinctrl-names = "default";
48 pinctrl-0 = <&enable_gpio_11>;
50 led_power_green: power_green {
51 label = "netgear:green:power";
52 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
55 led_power_amber: power_amber {
56 label = "netgear:amber:power";
57 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
58 default-state = "keep";
62 label = "netgear:green:wan";
63 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
67 label = "netgear:amber:wan";
68 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
72 label = "netgear:green:wlan2g";
73 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
74 linux,default-trigger = "phy0tpt";
78 label = "netgear:blue:wlan5g";
79 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
80 linux,default-trigger = "phy1tpt";
84 label = "netgear:green:wps";
85 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
89 label = "netgear:amber:wps";
90 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
94 label = "netgear:green:usb";
95 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
96 trigger-sources = <&hub_port>;
97 linux,default-trigger = "usbport";
103 enable_gpio_11: pinmux_enable_gpio_11 {
104 pinctrl-single,bits = <0x8 0x0 0xff000000>;
112 compatible = "fixed-partitions";
113 #address-cells = <1>;
123 label = "u-boot-env";
124 reg = <0x40000 0x40000>;
127 art: partition@80000 {
129 reg = <0x80000 0x40000>;
135 reg = <0xc0000 0x80000>;
140 reg = <0x140000 0x200000>;
145 reg = <0x340000 0x80000>;
149 label = "traffic_meter";
150 reg = <0x3c0000 0x300000>;
155 reg = <0x6c0000 0x200000>;
160 reg = <0x8c0000 0x1700000>;
165 reg = <0x6c0000 0x1900000>;
166 compatible = "netgear,uimage";
170 label = "caldata_backup";
171 reg = <0x1fc0000 0x40000>;
177 reg = <0x2000000 0x6000000>;
184 clock-frequency = <40000000>;
188 resets = <&rst 8>, <&rst 12>;
189 reset-names = "switch", "switch-analog";
197 phy0: ethernet-phy@0 {
200 qca,mib-poll-interval = <500>;
202 qca,ar8327-initvals = <
219 /* default for ar934x, except for 1000M */
220 pll-data = <0x06000000 0x00000101 0x00001616>;
222 mtd-mac-address = <&art 0x0>;
225 phy-handle = <&phy0>;
233 line-name = "netgear:ext:lna0";
234 gpios = <18 GPIO_ACTIVE_HIGH>;
240 line-name = "netgear:ext:lna1";
241 gpios = <19 GPIO_ACTIVE_HIGH>;
249 mtd-mac-address = <&art 0x0>;
257 compatible = "pci168c,0033";
258 reg = <0x0000 0 0 0 0>;
259 mtd-mac-address = <&art 0xc>;
266 line-name = "netgear:power:usb";
267 gpios = <0 GPIO_ACTIVE_HIGH>;
279 #address-cells = <1>;
284 #trigger-source-cells = <0>;