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";
35 poll-interval = <100>;
39 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_RFKILL>;
44 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
45 linux,code = <KEY_PHONE>;
50 compatible = "gpio-leds";
52 label = "fritz7320:green:power";
53 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
57 label = "fritz7320:green:fon";
58 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
61 label = "fritz7320:green:dect";
62 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
65 label = "fritz7320:green:wlan";
66 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
68 info_green: info_green {
69 label = "fritz7320:green:info";
70 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
73 label = "fritz7320:red:info";
74 gpios = <&gpio 45 GPIO_ACTIVE_LOW>;
80 pinctrl-names = "default";
81 pinctrl-0 = <&state_default>;
83 state_default: pinmux {
85 lantiq,groups = "gnt1", "req1", "req2", "req3", "req4", "gnt2", "gnt3", "gnt4";
86 lantiq,function = "pci";
89 lantiq,groups = "req1", "req2", "req3", "req4";
91 lantiq,open-drain = <1>;
95 lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
104 mtd-mac-address = <&ath9k_cal 0xa91>;
105 mtd-mac-address-increment = <(-2)>;
110 compatible = "lantiq,nor";
112 reg = <0 0x0 0x1000000>;
113 #address-cells = <1>;
117 compatible = "fixed-partitions";
118 #address-cells = <1>;
121 ath9k_cal: partition@0 {
123 reg = <0x00000 0x20000>;
129 reg = <0x20000 0xf60000>;
134 reg = <0xf80000 0x40000>;
140 reg = <0xfc0000 0x40000>;
150 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
153 compatible = "pci0,0";
154 reg = <0x7000 0 0 0 0>;
155 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */