1// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2//
3// Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #0)
4//
5// Copyright (C) 2021 Socionext Inc.
6//   Author: Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
7
8/dts-v1/;
9#include "uniphier-pxs3-ref.dts"
10
11/ {
12	model = "UniPhier PXs3 Reference Board (USB-Device #0)";
13};
14
15/* I2C3 pinctrl is shared with USB*VBUSIN */
16&i2c3 {
17	status = "disabled";
18};
19
20&usb0 {
21	status = "okay";
22	dr_mode = "peripheral";
23	pinctrl-0 = <&pinctrl_usb0_device>;
24	snps,dis_enblslpm_quirk;
25	snps,dis_u2_susphy_quirk;
26	snps,dis_u3_susphy_quirk;
27	snps,usb2-gadget-lpm-disable;
28	phy-names = "usb2-phy", "usb3-phy";
29	phys = <&usb0_hsphy0>, <&usb0_ssphy0>;
30};
31
32&usb0_hsphy0 {
33	/delete-property/ vbus-supply;
34};
35
36&usb0_ssphy0 {
37	/delete-property/ vbus-supply;
38};
39
40/delete-node/ &usb0_hsphy1;
41/delete-node/ &usb0_ssphy1;
42