1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "ar9344_tplink_tl-wdrxxxx.dtsi"
7 label-mac-device = &ath9k;
13 label = "tp-link:green:usb1";
14 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
15 trigger-sources = <&hub_port1>;
16 linux,default-trigger = "usbport";
20 label = "tp-link:green:usb2";
21 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
22 trigger-sources = <&hub_port2>;
23 linux,default-trigger = "usbport";
30 gpios = <18 GPIO_ACTIVE_HIGH>;
32 line-name = "tp-link:ext:lna0";
37 gpios = <19 GPIO_ACTIVE_HIGH>;
39 line-name = "tp-link:ext:lna1";
44 gpios = <22 GPIO_ACTIVE_HIGH>;
46 line-name = "tp-link:power:usb1";
51 gpios = <21 GPIO_ACTIVE_HIGH>;
53 line-name = "tp-link:power:usb2";
66 #trigger-source-cells = <0>;
70 #trigger-source-cells = <0>;
75 #trigger-source-cells = <0>;
85 mtd-mac-address = <&uboot 0x1fc00>;
89 mtd-mac-address = <&uboot 0x1fc00>;
90 mtd-mac-address-increment = <(-1)>;
98 phy0: ethernet-phy@0 {
102 qca,ar8327-initvals = <
103 0x04 0x07600000 /* PORT0 PAD MODE CTRL */
104 0x10 0x80000080 /* POWER_ON_STRIP */
105 0x50 0xc737c737 /* LED_CTRL0 */
106 0x54 0x00000000 /* LED_CTRL1 */
107 0x58 0x00000000 /* LED_CTRL2 */
108 0x5c 0x0030c300 /* LED_CTRL3 */
109 0x7c 0x0000007e /* PORT0_STATUS */
117 /* default for ar934x, except for 1000M */
118 pll-data = <0x06000000 0x00000101 0x00001616>;
120 mtd-mac-address = <&uboot 0x1fc00>;
121 mtd-mac-address-increment = <(-2)>;
124 phy-handle = <&phy0>;