1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
10 bootargs = "console=ttyS0,115200n8";
14 led-boot = &led_power_amber;
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 = "gpio-keys";
26 linux,code = <KEY_WPS_BUTTON>;
27 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
32 linux,code = <KEY_RESTART>;
33 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RFKILL>;
39 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
44 compatible = "gpio-leds";
46 pinctrl-names = "default";
47 pinctrl-0 = <&enable_gpio_11>;
49 led_power_green: power_green {
50 label = "green:power";
51 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
54 led_power_amber: power_amber {
55 label = "amber:power";
56 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
57 default-state = "keep";
61 label = "green:wlan2g";
62 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
63 linux,default-trigger = "phy0tpt";
67 label = "blue:wlan5g";
68 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
69 linux,default-trigger = "phy1tpt";
74 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
79 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
84 compatible = "mtd-concat";
85 devices = <&ubiconcat0 &ubiconcat1>;
88 compatible = "fixed-partitions";
94 reg = <0x0 0x7500000>;
101 enable_gpio_11: pinmux_enable_gpio_11 {
102 pinctrl-single,bits = <0x8 0x0 0xff000000>;
110 compatible = "fixed-partitions";
111 #address-cells = <1>;
121 label = "u-boot-env";
122 reg = <0x40000 0x40000>;
125 caldata: partition@80000 {
127 reg = <0x80000 0x40000>;
133 reg = <0xc0000 0x80000>;
138 reg = <0x140000 0x200000>;
143 reg = <0x340000 0x80000>;
147 label = "traffic_meter";
148 reg = <0x3c0000 0x300000>;
153 reg = <0x6c0000 0x400000>;
156 ubiconcat0: partition@ac0000 {
157 label = "ubiconcat0";
158 reg = <0xac0000 0x1500000>;
163 reg = <0x6c0000 0x1900000>;
164 compatible = "netgear,uimage";
168 label = "caldata_backup";
169 reg = <0x1fc0000 0x40000>;
173 ubiconcat1: partition@2000000 {
174 label = "ubiconcat1";
175 reg = <0x2000000 0x6000000>;
181 clock-frequency = <40000000>;
185 resets = <&rst 8>, <&rst 12>;
186 reset-names = "switch", "switch-analog";
194 phy0: ethernet-phy@0 {
197 qca,mib-poll-interval = <500>;
199 qca,ar8327-initvals = <
216 /* default for ar934x, except for 1000M */
217 pll-data = <0x06000000 0x00000101 0x00001616>;
219 mtd-mac-address = <&caldata 0x0>;
222 phy-handle = <&phy0>;
228 line-name = "netgear:ext:lna0";
229 gpios = <18 GPIO_ACTIVE_HIGH>;
235 line-name = "netgear:ext:lna1";
236 gpios = <19 GPIO_ACTIVE_HIGH>;
244 mtd-mac-address = <&caldata 0x0>;
252 compatible = "pci168c,0033";
253 reg = <0x0000 0 0 0 0>;
254 mtd-mac-address = <&caldata 0xc>;