3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/mtd/partitions/uimage.h>
7 compatible = "avm,fritz7312", "lantiq,xway", "lantiq,ar9";
8 model = "AVM FRITZ!Box 7312";
11 bootargs = "console=ttyLTQ0,115200";
16 led-failsafe = &power;
20 led-dsl = &info_green;
25 device_type = "memory";
26 reg = <0x0 0x4000000>;
30 compatible = "gpio-keys-polled";
31 poll-interval = <100>;
35 gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
36 linux,code = <KEY_RFKILL>;
40 gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
41 linux,code = <KEY_PHONE>;
46 compatible = "gpio-leds";
49 label = "green:power";
50 gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
51 default-state = "keep";
55 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
59 gpios = <&gpio 38 GPIO_ACTIVE_LOW>;
63 gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
65 info_green: info_green {
67 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
73 pinctrl-names = "default";
74 pinctrl-0 = <&state_default>;
76 state_default: pinmux {
78 lantiq,groups = "exin3";
79 lantiq,function = "exin";
84 lantiq,groups = "clkout2";
100 nvmem-cells = <&macaddr_ath9k_cal_a91>;
101 nvmem-cell-names = "mac-address";
102 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 compatible = "openwrt,uimage", "denx,uimage";
136 reg = <0x20000 0xf60000>;
137 openwrt,ih-magic = <IH_MAGIC_OKLI>;
138 openwrt,offset = <0x11000>;
143 reg = <0xf80000 0x40000>;
149 reg = <0xfc0000 0x40000>;
159 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
160 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
161 <&pci_req1_pins>, <&pci_req2_pins>,
163 pinctrl-names = "default";
166 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
169 compatible = "pci0,0";
170 reg = <0x7000 0 0 0 0>;
171 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */
176 compatible = "nvmem-cells";
177 #address-cells = <1>;
180 macaddr_ath9k_cal_a91: macaddr@a91 {