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 phy-handle = <&phy0>;
102 nvmem-cells = <&macaddr_ath9k_cal_a91 (-2)>;
103 nvmem-cell-names = "mac-address";
106 #address-cells = <1>;
109 phy0: ethernet-phy@0 {
111 reset-gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&state_default>;
120 state_default: pinmux {
122 lantiq,pins = "io36";
128 lantiq,pins = "io50";
130 lantiq,open-drain = <0>;
134 lantiq,pins = "io51";
136 lantiq,open-drain = <0>;
144 compatible = "lantiq,nor";
146 reg = <0 0x0 0x1000000>;
149 compatible = "fixed-partitions";
150 #address-cells = <1>;
153 ath9k_cal: partition@0 {
155 reg = <0x00000 0x20000>;
159 compatible = "fixed-layout";
160 #address-cells = <1>;
163 macaddr_ath9k_cal_a91: macaddr@a91 {
164 compatible = "mac-base";
166 #nvmem-cell-cells = <1>;
172 compatible = "openwrt,uimage", "denx,uimage";
174 reg = <0x20000 0xf60000>;
175 openwrt,ih-magic = <IH_MAGIC_OKLI>;
176 openwrt,offset = <0x11000>;
181 reg = <0xf80000 0x40000>;
187 reg = <0xfc0000 0x40000>;
197 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
198 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
199 <&pci_req1_pins>, <&pci_req2_pins>,
200 <&pci_req3_pins>, <&pci_req4_pins>;
203 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
206 compatible = "pci0,0";
207 reg = <0x7000 0 0 0 0>;
208 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
222 vbus-supply = <&usb0_vbus>;
227 vbus-supply = <&usb1_vbus>;