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 = &led_power_green;
17 led-failsafe = &led_power_red;
18 led-running = &led_power_green;
19 led-upgrade = &led_power_red;
21 led-dsl = &led_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_RFKILL>;
48 compatible = "gpio-leds";
50 led_power_green: power_green {
51 label = "green:power";
52 gpios = <&gpio 32 GPIO_ACTIVE_LOW>;
53 default-state = "keep";
56 led_power_red: power_red {
58 gpios = <&gpio 33 GPIO_ACTIVE_LOW>;
61 led_info_green: info_green {
63 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
68 gpios = <&gpio 36 GPIO_ACTIVE_LOW>;
73 gpios = <&gpio 34 GPIO_ACTIVE_LOW>;
78 gpios = <&gpio 35 GPIO_ACTIVE_LOW>;
85 compatible = "lantiq,xrx200-pdi";
89 mtd-mac-address = <&urlader 0xa91>;
90 mtd-mac-address-increment = <(-2)>;
94 compatible = "lantiq,xrx200-pdi-port";
101 compatible = "lantiq,xrx200-pdi-port";
104 phy-handle = <&phy1>;
108 compatible = "lantiq,xrx200-pdi-port";
111 phy-handle = <&phy11>;
115 compatible = "lantiq,xrx200-pdi-port";
118 phy-handle = <&phy13>;
123 #address-cells = <1>;
125 compatible = "lantiq,xrx200-mdio";
127 phy0: ethernet-phy@0 {
129 compatible = "ethernet-phy-ieee802.3-c22";
130 reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
133 phy1: ethernet-phy@1 {
135 compatible = "ethernet-phy-ieee802.3-c22";
136 reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
139 phy11: ethernet-phy@11 {
141 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
144 phy13: ethernet-phy@13 {
146 compatible = "lantiq,phy11g", "ethernet-phy-ieee802.3-c22";
152 lantiq,gphy-mode = <GPHY_MODE_GE>;
156 lantiq,gphy-mode = <GPHY_MODE_GE>;
160 pinctrl-names = "default";
161 pinctrl-0 = <&state_default>;
163 state_default: pinmux {
165 lantiq,pins = "io37", "io44";
172 lantiq,pins = "io21";
173 lantiq,open-drain = <1>;
182 gpio-reset = <&gpio 21 GPIO_ACTIVE_HIGH>;
187 compatible = "pci168c,002e";
189 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */