3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/leds/common.h>
5 #include <dt-bindings/mtd/partitions/uimage.h>
8 compatible = "avm,fritz7320", "lantiq,xway", "lantiq,ar9";
9 model = "AVM FRITZ!Box 7320";
12 bootargs = "console=ttyLTQ0,115200";
17 led-failsafe = &power;
21 led-dsl = &info_green;
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RFKILL>;
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_PHONE>;
47 compatible = "gpio-leds";
49 function = LED_FUNCTION_POWER;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
52 default-state = "keep";
56 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
60 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
63 function = LED_FUNCTION_WLAN;
64 color = <LED_COLOR_ID_GREEN>;
65 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
67 info_green: info_green {
69 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
77 usb0_vbus: regulator-usb0-vbus {
78 compatible = "regulator-fixed";
80 regulator-name = "USB0_VBUS";
82 regulator-min-microvolt = <5000000>;
83 regulator-max-microvolt = <5000000>;
85 gpio = <&gpio 50 GPIO_ACTIVE_HIGH>;
89 usb1_vbus: regulator-usb1-vbus {
90 compatible = "regulator-fixed";
92 regulator-name = "USB1_VBUS";
94 regulator-min-microvolt = <5000000>;
95 regulator-max-microvolt = <5000000>;
97 gpio = <&gpio 51 GPIO_ACTIVE_HIGH>;
104 phy-handle = <&phy0>;
105 nvmem-cells = <&macaddr_ath9k_cal_a91 (-2)>;
106 nvmem-cell-names = "mac-address";
109 #address-cells = <1>;
112 phy0: ethernet-phy@0 {
114 reset-gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
120 pinctrl-names = "default";
121 pinctrl-0 = <&state_default>;
123 state_default: pinmux {
125 lantiq,pins = "io36";
131 lantiq,pins = "io50";
133 lantiq,open-drain = <0>;
137 lantiq,pins = "io51";
139 lantiq,open-drain = <0>;
147 compatible = "lantiq,nor";
149 reg = <0 0x0 0x1000000>;
152 compatible = "fixed-partitions";
153 #address-cells = <1>;
156 ath9k_cal: partition@0 {
158 reg = <0x00000 0x20000>;
162 compatible = "fixed-layout";
163 #address-cells = <1>;
166 macaddr_ath9k_cal_a91: macaddr@a91 {
167 compatible = "mac-base";
169 #nvmem-cell-cells = <1>;
175 compatible = "openwrt,uimage", "denx,uimage";
177 reg = <0x20000 0xf60000>;
178 openwrt,ih-magic = <IH_MAGIC_OKLI>;
179 openwrt,offset = <0x11000>;
184 reg = <0xf80000 0x40000>;
190 reg = <0xfc0000 0x40000>;
200 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
201 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
202 <&pci_req1_pins>, <&pci_req2_pins>,
203 <&pci_req3_pins>, <&pci_req4_pins>;
206 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
209 compatible = "pci0,0";
210 reg = <0x7000 0 0 0 0>;
211 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
225 vbus-supply = <&usb0_vbus>;
230 vbus-supply = <&usb1_vbus>;