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>
9 model = "Netgear R6100";
10 compatible = "netgear,r6100", "qca,ar9344";
13 label-mac-device = ð0;
14 led-boot = &led_power_green;
15 led-failsafe = &led_power_amber;
16 led-running = &led_power_green;
17 led-upgrade = &led_power_green;
21 compatible = "gpio-export";
25 gpio-export,name = "usb-power";
26 gpio-export,output = <1>;
27 gpios = <&gpio 16 GPIO_ACTIVE_HIGH>;
32 compatible = "gpio-keys";
36 linux,code = <KEY_RESTART>;
37 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
38 debounce-interval = <60>;
43 linux,code = <KEY_RFKILL>;
44 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
45 debounce-interval = <60>;
50 linux,code = <KEY_WPS_BUTTON>;
51 gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
52 debounce-interval = <60>;
57 compatible = "gpio-leds";
59 led_power_amber: power_amber {
60 label = "amber:power";
61 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
64 led_power_green: power_green {
65 label = "green:power";
66 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
71 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
72 trigger-sources = <&hub_port>;
73 linux,default-trigger = "usbport";
78 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
83 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
88 gpios = <&gpio 0 GPIO_ACTIVE_LOW>;
89 linux,default-trigger = "phy1tpt";
97 phy-handle = <&swphy0>;
99 nvmem-cells = <&macaddr_caldata_6>;
100 nvmem-cell-names = "mac-address";
104 switch-phy-swap = <1>;
111 nvmem-cells = <&macaddr_caldata_0>;
112 nvmem-cell-names = "mac-address";
119 compatible = "fixed-partitions";
120 #address-cells = <1>;
125 reg = <0x0000000 0x0020000>;
129 caldata: partition@20000 {
131 reg = <0x0020000 0x0040000>;
136 label = "caldata-backup";
137 reg = <0x0060000 0x0040000>;
143 reg = <0x00a0000 0x0080000>;
149 reg = <0x0120000 0x0080000>;
155 reg = <0x01a0000 0x0400000>;
160 reg = <0x05a0000 0x7560000>;
165 reg = <0x7b00000 0x0200000>;
170 label = "traffic_meter";
171 reg = <0x7d00000 0x0300000>;
181 compatible = "qcom,ath10k";
182 reg = <0x0000 0 0 0 0>;
184 nvmem-cells = <&cal_ath10k>, <&macaddr_caldata_c>;
185 nvmem-cell-names = "calibration", "mac-address";
190 clock-frequency = <40000000>;
204 nvmem-cells = <&cal_ath9k>;
205 nvmem-cell-names = "calibration";
209 compatible = "nvmem-cells";
210 #address-cells = <1>;
213 cal_ath9k: calibration@1000 {
214 reg = <0x1000 0x440>;
217 cal_ath10k: calibration@5000 {
218 reg = <0x5000 0x844>;
221 macaddr_caldata_0: macaddr@0 {
225 macaddr_caldata_6: macaddr@6 {
229 macaddr_caldata_c: macaddr@c {