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 (-2)>;
101 nvmem-cell-names = "mac-address";
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>;
132 compatible = "fixed-layout";
133 #address-cells = <1>;
136 macaddr_ath9k_cal_a91: macaddr@a91 {
137 compatible = "mac-base";
139 #nvmem-cell-cells = <1>;
146 compatible = "openwrt,uimage", "denx,uimage";
147 reg = <0x20000 0xf60000>;
148 openwrt,ih-magic = <IH_MAGIC_OKLI>;
149 openwrt,offset = <0x11000>;
154 reg = <0xf80000 0x40000>;
160 reg = <0xfc0000 0x40000>;
170 pinctrl-0 = <&pci_gnt1_pins>, <&pci_gnt2_pins>,
171 <&pci_gnt3_pins>, <&pci_gnt4_pins>,
172 <&pci_req1_pins>, <&pci_req2_pins>,
174 pinctrl-names = "default";
177 gpio-reset = <&gpio 21 GPIO_ACTIVE_LOW>;
180 compatible = "pci0,0";
181 reg = <0x7000 0 0 0 0>;
182 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:00:0e.0.bin */