1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include <dt-bindings/leds/common.h>
5 #include "ar9344_tplink_tl-wdrxxxx.dtsi"
8 model = "TP-Link TL-WDR3500 v1";
9 compatible = "tplink,tl-wdr3500-v1", "qca,ar9344";
12 label-mac-device = &wmac;
18 function = LED_FUNCTION_USB;
19 color = <LED_COLOR_ID_GREEN>;
20 gpios = <&gpio 11 GPIO_ACTIVE_LOW>;
21 linux,default-trigger = "usbport";
22 trigger-sources = <&hub_port>;
29 gpios = <12 GPIO_ACTIVE_HIGH>;
31 line-name = "tp-link:power:usb";
36 pmx_led_wan_lan: pinmux_led_wan_lan {
37 pinctrl-single,bits = <0x10 0x2c2d0000 0xffff0000>,
38 <0x14 0x292a2b 0xffffff>;
43 pinctrl-names = "default";
44 pinctrl-0 = <&pmx_led_wan_lan>;
57 nvmem-cells = <&macaddr_uboot_1fc00 0>, <&cal_art_1000>;
58 nvmem-cell-names = "mac-address", "calibration";
65 compatible = "pci168c,0033";
66 reg = <0x0000 0 0 0 0>;
69 nvmem-cells = <&macaddr_uboot_1fc00 1>, <&cal_art_5000>;
70 nvmem-cell-names = "mac-address", "calibration";
77 nvmem-cells = <&macaddr_uboot_1fc00 (-1)>;
78 nvmem-cell-names = "mac-address";
82 switch-phy-swap = <0>;
83 switch-only-mode = <1>;
90 phy-handle = <&swphy4>;
92 nvmem-cells = <&macaddr_uboot_1fc00 2>;
93 nvmem-cell-names = "mac-address";