1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar9344_tplink_tl-wdrxxxx.dtsi"
7 label = "tp-link:green:usb1";
8 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
9 trigger-sources = <&hub_port1>;
10 linux,default-trigger = "usbport";
14 label = "tp-link:green:usb2";
15 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
16 trigger-sources = <&hub_port2>;
17 linux,default-trigger = "usbport";
24 gpios = <18 GPIO_ACTIVE_HIGH>;
26 line-name = "tp-link:ext:lna0";
31 gpios = <19 GPIO_ACTIVE_HIGH>;
33 line-name = "tp-link:ext:lna1";
38 gpios = <22 GPIO_ACTIVE_HIGH>;
40 line-name = "tp-link:power:usb1";
45 gpios = <21 GPIO_ACTIVE_HIGH>;
47 line-name = "tp-link:power:usb2";
60 #trigger-source-cells = <0>;
64 #trigger-source-cells = <0>;
69 #trigger-source-cells = <0>;
79 mtd-mac-address = <&uboot 0x1fc00>;
83 mtd-mac-address = <&uboot 0x1fc00>;
84 mtd-mac-address-increment = <(-1)>;
92 phy0: ethernet-phy@0 {
96 qca,ar8327-initvals = <
97 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
98 0x10 0x80000080 /* POWER_ON_STRIP */
99 0x50 0xc737c737 /* LED_CTRL0 */
100 0x54 0x00000000 /* LED_CTRL1 */
101 0x58 0x00000000 /* LED_CTRL2 */
102 0x5c 0x0030c300 /* LED_CTRL3 */
103 0x7c 0x0000007e /* PORT0_STATUS */
111 /* default for ar934x, except for 1000M */
112 pll-data = <0x06000000 0x00000101 0x00001616>;
114 mtd-mac-address = <&uboot 0x1fc00>;
115 mtd-mac-address-increment = <(-2)>;
118 phy-handle = <&phy0>;