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 mtd-mac-address = <&ath9k_cal 0xa91>;
101 mtd-mac-address-increment = <(-2)>;
105 pinctrl-names = "default";
106 pinctrl-0 = <&state_default>;
108 state_default: pinmux {
110 lantiq,pins = "io50";
112 lantiq,open-drain = <0>;
116 lantiq,pins = "io51";
118 lantiq,open-drain = <0>;
126 compatible = "lantiq,nor";
128 reg = <0 0x0 0x1000000>;
131 compatible = "fixed-partitions";
132 #address-cells = <1>;
135 ath9k_cal: partition@0 {
137 reg = <0x00000 0x20000>;
143 reg = <0x20000 0xf60000>;
148 reg = <0xf80000 0x40000>;
154 reg = <0xfc0000 0x40000>;
164 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
165 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
166 <&pci_req1_pins>, <&pci_req2_pins>,
167 <&pci_req3_pins>, <&pci_req4_pins>;
170 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
173 compatible = "pci0,0";
174 reg = <0x7000 0 0 0 0>;
175 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
189 vbus-supply = <&usb0_vbus>;
194 vbus-supply = <&usb1_vbus>;