3 #include <dt-bindings/input/input.h>
6 compatible = "avm,fritz7312", "lantiq,xway", "lantiq,ar9";
7 model = "AVM FRITZ!Box 7312";
10 bootargs = "console=ttyLTQ0,115200";
15 led-failsafe = &power;
19 led-dsl = &info_green;
24 device_type = "memory";
25 reg = <0x0 0x4000000>;
29 compatible = "gpio-keys-polled";
30 poll-interval = <100>;
34 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
35 linux,code = <KEY_RFKILL>;
39 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
40 linux,code = <KEY_PHONE>;
45 compatible = "gpio-leds";
48 label = "green:power";
49 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
50 default-state = "keep";
54 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
58 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
62 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
64 info_green: info_green {
66 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
72 pinctrl-names = "default";
73 pinctrl-0 = <&state_default>;
75 state_default: pinmux {
77 lantiq,groups = "exin3";
78 lantiq,function = "exin";
83 lantiq,groups = "clkout2";
99 mtd-mac-address = <&ath9k_cal 0xa91>;
100 mac-address-increment = <(-2)>;
103 #address-cells = <1>;
106 phy0: ethernet-phy@0 {
108 reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
116 compatible = "lantiq,nor";
118 reg = <0 0x0 0x1000000>;
121 compatible = "fixed-partitions";
122 #address-cells = <1>;
125 ath9k_cal: partition@0 {
127 reg = <0x00000 0x20000>;
133 reg = <0x20000 0xf60000>;
138 reg = <0xf80000 0x40000>;
144 reg = <0xfc0000 0x40000>;
154 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
155 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
156 <&pci_req1_pins>, <&pci_req2_pins>,
158 pinctrl-names = "default";
161 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
164 compatible = "pci0,0";
165 reg = <0x7000 0 0 0 0>;
166 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */