5 #include <dt-bindings/input/input.h>
8 compatible = "avm,fritz7312", "lantiq,xway", "lantiq,ar9";
9 model = "FritzBox 7312 (1&1 WLAN-MODEM)";
12 bootargs = "console=ttyLTQ0,115200";
17 led-failsafe = &power;
20 led-internet = &info_green;
26 reg = <0x0 0x4000000>;
30 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";
51 label = "fritz7312:green:power";
52 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
53 default-state = "keep";
56 label = "fritz7312:green:fon";
57 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
60 label = "fritz7312:green:dect";
61 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
64 label = "fritz7312:green:wlan";
65 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
67 info_green: info_green {
68 label = "fritz7312:green:info";
69 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
75 pinctrl-names = "default";
76 pinctrl-0 = <&state_default>;
78 state_default: pinmux {
80 lantiq,groups = "gnt1", "req1", "req2", "req4", "gnt2", "gnt3", "gnt4";
81 lantiq,function = "pci";
84 lantiq,groups = "req1", "req2", "req4";
86 lantiq,open-drain = <1>;
90 lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
95 lantiq,groups = "exin3";
96 lantiq,function = "exin";
101 lantiq,groups = "clkout2";
106 lantiq,pins = "io34";
116 phy-handle = <&phy0>;
117 mtd-mac-address = <&ath9k_cal 0xa91>;
118 mtd-mac-address-increment = <(-2)>;
121 #address-cells = <1>;
125 phy0: ethernet-phy@0 {
127 reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
134 compatible = "lantiq,nor";
136 reg = <0 0x0 0x1000000>;
137 #address-cells = <1>;
141 compatible = "fixed-partitions";
142 #address-cells = <1>;
145 ath9k_cal: partition@0 {
147 reg = <0x00000 0x20000>;
153 reg = <0x20000 0xf60000>;
158 reg = <0xf80000 0x40000>;
164 reg = <0xfc0000 0x40000>;
174 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
177 compatible = "pci0,0";
178 reg = <0x7000 0 0 0 0>;
179 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */