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 nvmem-cells = <&macaddr_ath9k_cal_a91>;
100 nvmem-cell-names = "mac-address";
101 mac-address-increment = <(-2)>;
104 #address-cells = <1>;
107 phy0: ethernet-phy@0 {
109 reset-gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
117 compatible = "lantiq,nor";
119 reg = <0 0x0 0x1000000>;
122 compatible = "fixed-partitions";
123 #address-cells = <1>;
126 ath9k_cal: partition@0 {
128 reg = <0x00000 0x20000>;
134 reg = <0x20000 0xf60000>;
139 reg = <0xf80000 0x40000>;
145 reg = <0xfc0000 0x40000>;
155 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
156 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
157 <&pci_req1_pins>, <&pci_req2_pins>,
159 pinctrl-names = "default";
162 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
165 compatible = "pci0,0";
166 reg = <0x7000 0 0 0 0>;
167 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
172 compatible = "nvmem-cells";
173 #address-cells = <1>;
176 macaddr_ath9k_cal_a91: macaddr@a91 {