5 #include <dt-bindings/input/input.h>
8 compatible = "avm,fritz7312", "lantiq,xway", "lantiq,ar9";
9 model = "AVM FRITZ!Box 7312";
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";
53 label = "fritz7312:green:power";
54 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
55 default-state = "keep";
58 label = "fritz7312:green:fon";
59 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
62 label = "fritz7312:green:dect";
63 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
66 label = "fritz7312:green:wlan";
67 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
69 info_green: info_green {
70 label = "fritz7312:green:info";
71 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
77 pinctrl-names = "default";
78 pinctrl-0 = <&state_default>;
80 state_default: pinmux {
82 lantiq,groups = "gnt1", "req1", "req2", "req4", "gnt2", "gnt3", "gnt4";
83 lantiq,function = "pci";
86 lantiq,groups = "req1", "req2", "req4";
88 lantiq,open-drain = <1>;
92 lantiq,groups = "gnt1", "gnt2", "gnt3", "gnt4";
97 lantiq,groups = "exin3";
98 lantiq,function = "exin";
103 lantiq,groups = "clkout2";
108 lantiq,pins = "io34";
118 phy-handle = <&phy0>;
119 mtd-mac-address = <&ath9k_cal 0xa91>;
120 mtd-mac-address-increment = <(-2)>;
123 #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 */