1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
5 #include <dt-bindings/input/input.h>
6 #include <dt-bindings/mips/lantiq_rcu_gphy.h>
9 compatible = "avm,fritz736x", "lantiq,xway", "lantiq,vr9";
12 bootargs = "console=ttyLTQ0,115200";
16 led-boot = &power_green;
17 led-failsafe = &power_red;
18 led-running = &power_green;
19 led-upgrade = &power_red;
21 led-dsl = &info_green;
26 device_type = "memory";
27 reg = <0x0 0x8000000>;
31 compatible = "gpio-keys-polled";
32 poll-interval = <100>;
36 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
37 linux,code = <KEY_PHONE>;
42 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
43 linux,code = <KEY_WLAN>;
48 compatible = "gpio-leds";
51 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
52 default-state = "keep";
56 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
59 info_green: info_green {
60 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
64 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
68 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
72 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
79 compatible = "lantiq,xrx200-pdi";
83 mtd-mac-address = <&urlader 0xa91>;
84 mtd-mac-address-increment = <(-2)>;
88 compatible = "lantiq,xrx200-pdi-port";
95 compatible = "lantiq,xrx200-pdi-port";
102 compatible = "lantiq,xrx200-pdi-port";
105 phy-handle = <&phy11>;
109 compatible = "lantiq,xrx200-pdi-port";
112 phy-handle = <&phy13>;
117 #address-cells = <1>;
119 compatible = "lantiq,xrx200-mdio";
121 phy0: ethernet-phy@0 {
123 compatible = "ethernet-phy-ieee802.3-c22";
124 reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
127 phy1: ethernet-phy@1 {
129 compatible = "ethernet-phy-ieee802.3-c22";
130 reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
133 phy11: ethernet-phy@11 {
135 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
138 phy13: ethernet-phy@13 {
140 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
146 lantiq,gphy-mode = <GPHY_MODE_GE>;
150 lantiq,gphy-mode = <GPHY_MODE_GE>;
154 pinctrl-names = "default";
155 pinctrl-0 = <&state_default>;
157 state_default: pinmux {
159 lantiq,groups = "mdio";
160 lantiq,function = "mdio";
164 lantiq,pins = "io37", "io44";
178 #interrupt-cells = <1>;
180 #address-cells = <2>;
184 compatible = "pci168c,002e";
186 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */