3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mtd/partitions/uimage.h>
7 compatible = "avm,fritz7320", "lantiq,xway", "lantiq,ar9";
8 model = "AVM FRITZ!Box 7320";
11 bootargs = "console=ttyLTQ0,115200";
16 led-failsafe = &power;
20 led-dsl = &info_green;
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
35 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RFKILL>;
40 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_PHONE>;
46 compatible = "gpio-leds";
48 label = "green:power";
49 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
50 default-state = "keep";
54 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
64 info_green: info_green {
66 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
70 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
74 usb0_vbus: regulator-usb0-vbus {
75 compatible = "regulator-fixed";
77 regulator-name = "USB0_VBUS";
79 regulator-min-microvolt = <5000000>;
80 regulator-max-microvolt = <5000000>;
82 gpio = <&gpio 50 GPIO_ACTIVE_HIGH>;
86 usb1_vbus: regulator-usb1-vbus {
87 compatible = "regulator-fixed";
89 regulator-name = "USB1_VBUS";
91 regulator-min-microvolt = <5000000>;
92 regulator-max-microvolt = <5000000>;
94 gpio = <&gpio 51 GPIO_ACTIVE_HIGH>;
101 nvmem-cells = <&macaddr_ath9k_cal_a91>;
102 nvmem-cell-names = "mac-address";
103 mac-address-increment = <(-2)>;
107 pinctrl-names = "default";
108 pinctrl-0 = <&state_default>;
110 state_default: pinmux {
112 lantiq,pins = "io50";
114 lantiq,open-drain = <0>;
118 lantiq,pins = "io51";
120 lantiq,open-drain = <0>;
128 compatible = "lantiq,nor";
130 reg = <0 0x0 0x1000000>;
133 compatible = "fixed-partitions";
134 #address-cells = <1>;
137 ath9k_cal: partition@0 {
139 reg = <0x00000 0x20000>;
144 compatible = "openwrt,uimage", "denx,uimage";
146 reg = <0x20000 0xf60000>;
147 openwrt,ih-magic = <IH_MAGIC_OKLI>;
148 openwrt,offset = <0x11000>;
153 reg = <0xf80000 0x40000>;
159 reg = <0xfc0000 0x40000>;
169 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
170 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
171 <&pci_req1_pins>, <&pci_req2_pins>,
172 <&pci_req3_pins>, <&pci_req4_pins>;
175 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
178 compatible = "pci0,0";
179 reg = <0x7000 0 0 0 0>;
180 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
194 vbus-supply = <&usb0_vbus>;
199 vbus-supply = <&usb1_vbus>;
203 compatible = "nvmem-cells";
204 #address-cells = <1>;
207 macaddr_ath9k_cal_a91: macaddr@a91 {