aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/dts/ar9344_netgear_wndr_usb.dtsi
blob: 0ca3b761bf1dd37d54b4918edfbbb0ee21cc7e82 (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
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

&leds {
	usb_green {
		label = "green:usb";
		gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
		trigger-sources = <&hub_port>;
		linux,default-trigger = "usbport";
	};
};

&ath9k {
	usb_power {
		gpio-hog;
		line-name = "netgear:power:usb";
		gpios = <0 GPIO_ACTIVE_HIGH>;
		output-high;
	};
};

&usb_phy {
	status = "okay";
};

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

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