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 device_type = "memory";
28 reg = <0x0 0x4000000>;
32 compatible = "gpio-keys-polled";
33 poll-interval = <100>;
37 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
38 linux,code = <KEY_RFKILL>;
42 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
43 linux,code = <KEY_PHONE>;
48 compatible = "gpio-leds";
50 label = "fritz7320:green:power";
51 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
52 default-state = "keep";
55 label = "fritz7320:green:fon";
56 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
59 label = "fritz7320:green:dect";
60 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
63 label = "fritz7320:green:wlan";
64 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
66 info_green: info_green {
67 label = "fritz7320:green:info";
68 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
71 label = "fritz7320:red:info";
72 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
78 pinctrl-names = "default";
79 pinctrl-0 = <&state_default>;
81 state_default: pinmux {
83 lantiq,groups = "gnt1", "req1", "req2", "req3", "req4", "gnt2", "gnt3", "gnt4";
84 lantiq,function = "pci";
87 lantiq,groups = "req1", "req2", "req3", "req4";
89 lantiq,open-drain = <1>;
93 lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
102 mtd-mac-address = <&ath9k_cal 0xa91>;
103 mtd-mac-address-increment = <(-2)>;
108 compatible = "lantiq,nor";
110 reg = <0 0x0 0x1000000>;
113 compatible = "fixed-partitions";
114 #address-cells = <1>;
117 ath9k_cal: partition@0 {
119 reg = <0x00000 0x20000>;
125 reg = <0x20000 0xf60000>;
130 reg = <0xf80000 0x40000>;
136 reg = <0xfc0000 0x40000>;
146 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
149 compatible = "pci0,0";
150 reg = <0x7000 0 0 0 0>;
151 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */