summaryrefslogtreecommitdiffstats
path: root/dts/src/arm64/socionext/uniphier-pxs3-ref-gadget0.dts
blob: 7069f51bc120e9d0bcd5eb28a61ac93981a4952f (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
//
// Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #0)
//
// Copyright (C) 2021 Socionext Inc.
//   Author: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>

/dts-v1/;
#include "uniphier-pxs3-ref.dts"

/ {
	model = "UniPhier PXs3 Reference Board (USB-Device #0)";
};

/* I2C3 pinctrl is shared with USB*VBUSIN */
&i2c3 {
	status = "disabled";
};

&usb0 {
	status = "okay";
	dr_mode = "peripheral";
	pinctrl-0 = <&pinctrl_usb0_device>;
	snps,dis_enblslpm_quirk;
	snps,dis_u2_susphy_quirk;
	snps,dis_u3_susphy_quirk;
	snps,usb2_gadget_lpm_disable;
	phy-names = "usb2-phy", "usb3-phy";
	phys = <&usb0_hsphy0>, <&usb0_ssphy0>;
};

&usb0_hsphy0 {
	/delete-property/ vbus-supply;
};

&usb0_ssphy0 {
	/delete-property/ vbus-supply;
};

/delete-node/ &usb0_hsphy1;
/delete-node/ &usb0_ssphy1;