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;
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";
52 label = "fritz7312:green:power";
53 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
54 default-state = "keep";
57 label = "fritz7312:green:fon";
58 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
61 label = "fritz7312:green:dect";
62 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
65 label = "fritz7312:green:wlan";
66 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
68 info_green: info_green {
69 label = "fritz7312:green:info";
70 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
76 pinctrl-names = "default";
77 pinctrl-0 = <&state_default>;
79 state_default: pinmux {
81 lantiq,groups = "gnt1", "req1", "req2", "req4", "gnt2", "gnt3", "gnt4";
82 lantiq,function = "pci";
85 lantiq,groups = "req1", "req2", "req4";
87 lantiq,open-drain = <1>;
91 lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
96 lantiq,groups = "exin3";
97 lantiq,function = "exin";
102 lantiq,groups = "clkout2";
107 lantiq,pins = "io34";
117 phy-handle = <&phy0>;
118 mtd-mac-address = <&ath9k_cal 0xa91>;
119 mtd-mac-address-increment = <(-2)>;
122 #address-cells = <1>;
126 phy0: ethernet-phy@0 {
128 reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
135 compatible = "lantiq,nor";
137 reg = <0 0x0 0x1000000>;
138 #address-cells = <1>;
142 compatible = "fixed-partitions";
143 #address-cells = <1>;
146 ath9k_cal: partition@0 {
148 reg = <0x00000 0x20000>;
154 reg = <0x20000 0xf60000>;
159 reg = <0xf80000 0x40000>;
165 reg = <0xfc0000 0x40000>;
175 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
178 compatible = "pci0,0";
179 reg = <0x7000 0 0 0 0>;
180 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */