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-dsl = &info_green;
26 device_type = "memory";
27 reg = <0x0 0x4000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
37 linux,code = <KEY_RFKILL>;
41 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
42 linux,code = <KEY_PHONE>;
47 compatible = "gpio-leds";
50 label = "fritz7312:green:power";
51 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
52 default-state = "keep";
55 label = "fritz7312:green:fon";
56 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
59 label = "fritz7312:green:dect";
60 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
63 label = "fritz7312:green:wlan";
64 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
66 info_green: info_green {
67 label = "fritz7312:green:info";
68 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
74 pinctrl-names = "default";
75 pinctrl-0 = <&state_default>;
77 state_default: pinmux {
79 lantiq,groups = "exin3";
80 lantiq,function = "exin";
85 lantiq,groups = "clkout2";
100 phy-handle = <&phy0>;
101 mtd-mac-address = <&ath9k_cal 0xa91>;
102 mtd-mac-address-increment = <(-2)>;
105 #address-cells = <1>;
108 phy0: ethernet-phy@0 {
110 reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
118 compatible = "lantiq,nor";
120 reg = <0 0x0 0x1000000>;
123 compatible = "fixed-partitions";
124 #address-cells = <1>;
127 ath9k_cal: partition@0 {
129 reg = <0x00000 0x20000>;
135 reg = <0x20000 0xf60000>;
140 reg = <0xf80000 0x40000>;
146 reg = <0xfc0000 0x40000>;
156 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
157 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
158 <&pci_req1_pins>, <&pci_req2_pins>,
160 pinctrl-names = "default";
163 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
166 compatible = "pci0,0";
167 reg = <0x7000 0 0 0 0>;
168 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */