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_LOW>;
37 linux,code = <KEY_PHONE>;
42 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
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>;
84 lantiq,gphy-mode = <GPHY_MODE_GE>;
88 lantiq,gphy-mode = <GPHY_MODE_GE>;
92 pinctrl-names = "default";
93 pinctrl-0 = <&state_default>;
95 state_default: pinmux {
97 lantiq,pins = "io37", "io44";
107 pinctrl-0 = <&mdio_pins>;
108 pinctrl-names = "default";
112 phy0: ethernet-phy@0 {
114 reset-gpios = <&gpio 37 GPIO_ACTIVE_LOW>;
117 phy1: ethernet-phy@1 {
119 reset-gpios = <&gpio 44 GPIO_ACTIVE_LOW>;
122 phy11: ethernet-phy@11 {
126 phy13: ethernet-phy@13 {
136 phy-handle = <&phy0>;
143 phy-handle = <&phy1>;
149 phy-mode = "internal";
150 phy-handle = <&phy11>;
156 phy-mode = "internal";
157 phy-handle = <&phy13>;
166 #interrupt-cells = <1>;
168 #address-cells = <2>;
172 compatible = "pci168c,002e";
174 qca,no-eeprom; /* load from ath9k-eeprom-pci-0000:01:00.0.bin */