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>;
135 compatible = "fixed-layout";
136 #address-cells = <1>;
139 cal_ath9k: calibration@1000 {
140 reg = <0x1000 0x440>;
143 cal_ath10k: calibration@5000 {
144 reg = <0x5000 0x844>;
147 macaddr_caldata_0: macaddr@0 {
151 macaddr_caldata_6: macaddr@6 {
155 macaddr_caldata_c: macaddr@c {
162 label = "caldata-backup";
163 reg = <0x0060000 0x0040000>;
169 reg = <0x00a0000 0x0080000>;
175 reg = <0x0120000 0x0080000>;
181 reg = <0x01a0000 0x0400000>;
186 reg = <0x05a0000 0x7560000>;
191 reg = <0x7b00000 0x0200000>;
196 label = "traffic_meter";
197 reg = <0x7d00000 0x0300000>;
207 compatible = "qcom,ath10k";
208 reg = <0x0000 0 0 0 0>;
210 nvmem-cells = <&cal_ath10k>, <&macaddr_caldata_c>;
211 nvmem-cell-names = "calibration", "mac-address";
216 clock-frequency = <40000000>;
230 nvmem-cells = <&cal_ath9k>;
231 nvmem-cell-names = "calibration";