aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq40xx/files/arch/arm/boot/dts/qcom-ipq4018-wap-r-ac.dts
blob: e7f28f23cf494a465a7157086bbd1d459ea8b000 (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
42
43
44
45
// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
/* Copyright (c) 2022, Alexander Couzens <lynxis@fe80.eu> */

#include "qcom-ipq4018-wap-ac.dtsi"

/ {
	model = "MikroTik wAP R ac";
	compatible = "mikrotik,wap-r-ac";

	soc {
		tcsr@194b000 {
			/* select hostmode */
			compatible = "qcom,tcsr";
			reg = <0x194b000 0x100>;
			qcom,usb-hsphy-mode-select = <TCSR_USB_HSPHY_HOST_MODE>;
			status = "okay";
		};

		usb3@8af8800 {
			status = "okay";

			dwc3@8a00000 {
				phys = <&usb3_hs_phy>;
				phy-names = "usb2-phy";
			};
		};
	};
};

&tlmm {
	enable-usb-power {
		gpio-hog;
		gpios = <2 GPIO_ACTIVE_HIGH>;
		output-high;
		line-name = "enable USB power";
	};
};

&usb3_hs_phy {
	status = "okay";
};

&usb3 {
	status = "okay";
};