aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/qca9563_netgear_wndr4500-v3.dts
blob: 95e30ea84b6ea0cfed85661b0b1c6e879633d4af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

/dts-v1/;

#include "qca9563_netgear_wndr.dtsi"

/ {
	compatible = "netgear,wndr4500-v3", "qca,qca9563";
	model = "Netgear WNDR4500 v3";
};

&leds {
	usb1_green {
		label = "netgear:green:usb1";
		gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
		trigger-sources = <&hub_port0>;
		linux,default-trigger = "usbport";
	};

	usb2_green {
		label = "netgear:green:usb2";
		gpios = <&gpio 8 GPIO_ACTIVE_LOW>;
		trigger-sources = <&hub_port1>;
		linux,default-trigger = "usbport";
	};
};

&usb_phy1 {
	status = "okay";
};

&usb1 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	hub_port1: port@1 {
		reg = <1>;
		#trigger-source-cells = <0>;
	};
};