3 #include <dt-bindings/input/input.h>
6 compatible = "avm,fritz7320", "lantiq,xway", "lantiq,ar9";
7 model = "AVM FRITZ!Box 7320";
10 bootargs = "console=ttyLTQ0,115200";
15 led-failsafe = &power;
19 led-dsl = &info_green;
24 device_type = "memory";
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
30 poll-interval = <100>;
34 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RFKILL>;
39 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_PHONE>;
45 compatible = "gpio-leds";
47 label = "green:power";
48 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
49 default-state = "keep";
53 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
57 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
61 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
63 info_green: info_green {
65 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
69 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
73 usb0_vbus: regulator-usb0-vbus {
74 compatible = "regulator-fixed";
76 regulator-name = "USB0_VBUS";
78 regulator-min-microvolt = <5000000>;
79 regulator-max-microvolt = <5000000>;
81 gpio = <&gpio 50 GPIO_ACTIVE_HIGH>;
85 usb1_vbus: regulator-usb1-vbus {
86 compatible = "regulator-fixed";
88 regulator-name = "USB1_VBUS";
90 regulator-min-microvolt = <5000000>;
91 regulator-max-microvolt = <5000000>;
93 gpio = <&gpio 51 GPIO_ACTIVE_HIGH>;
100 nvmem-cells = <&macaddr_ath9k_cal_a91>;
101 nvmem-cell-names = "mac-address";
102 mac-address-increment = <(-2)>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&state_default>;
109 state_default: pinmux {
111 lantiq,pins = "io50";
113 lantiq,open-drain = <0>;
117 lantiq,pins = "io51";
119 lantiq,open-drain = <0>;
127 compatible = "lantiq,nor";
129 reg = <0 0x0 0x1000000>;
132 compatible = "fixed-partitions";
133 #address-cells = <1>;
136 ath9k_cal: partition@0 {
138 reg = <0x00000 0x20000>;
144 reg = <0x20000 0xf60000>;
149 reg = <0xf80000 0x40000>;
155 reg = <0xfc0000 0x40000>;
165 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
166 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
167 <&pci_req1_pins>, <&pci_req2_pins>,
168 <&pci_req3_pins>, <&pci_req4_pins>;
171 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
174 compatible = "pci0,0";
175 reg = <0x7000 0 0 0 0>;
176 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
190 vbus-supply = <&usb0_vbus>;
195 vbus-supply = <&usb1_vbus>;
199 compatible = "nvmem-cells";
200 #address-cells = <1>;
203 macaddr_ath9k_cal_a91: macaddr@a91 {