5 #include <dt-bindings/input/input.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-internet = &info_green;
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
34 poll-interval = <100>;
38 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
39 linux,code = <KEY_RFKILL>;
43 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
44 linux,code = <KEY_PHONE>;
49 compatible = "gpio-leds";
51 label = "fritz7320:green:power";
52 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
53 default-state = "keep";
56 label = "fritz7320:green:fon";
57 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
60 label = "fritz7320:green:dect";
61 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
64 label = "fritz7320:green:wlan";
65 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
67 info_green: info_green {
68 label = "fritz7320:green:info";
69 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
72 label = "fritz7320:red:info";
73 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
79 pinctrl-names = "default";
80 pinctrl-0 = <&state_default>;
82 state_default: pinmux {
84 lantiq,groups = "gnt1", "req1", "req2", "req3", "req4", "gnt2", "gnt3", "gnt4";
85 lantiq,function = "pci";
88 lantiq,groups = "req1", "req2", "req3", "req4";
90 lantiq,open-drain = <1>;
94 lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
103 mtd-mac-address = <&ath9k_cal 0xa91>;
104 mtd-mac-address-increment = <(-2)>;
109 compatible = "lantiq,nor";
111 reg = <0 0x0 0x1000000>;
112 #address-cells = <1>;
116 compatible = "fixed-partitions";
117 #address-cells = <1>;
120 ath9k_cal: partition@0 {
122 reg = <0x00000 0x20000>;
128 reg = <0x20000 0xf60000>;
133 reg = <0xf80000 0x40000>;
139 reg = <0xfc0000 0x40000>;
149 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
152 compatible = "pci0,0";
153 reg = <0x7000 0 0 0 0>;
154 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */