Linux 6.7-rc7
[linux-modified.git] / arch / arm64 / boot / dts / socionext / uniphier-pxs3-ref-gadget1.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 //
3 // Device Tree Source for UniPhier PXs3 Reference Board (for USB-Device #1)
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 #1)";
13 };
14
15 /* I2C3 pinctrl is shared with USB*VBUSIN */
16 &i2c3 {
17         status = "disabled";
18 };
19
20 &usb1 {
21         status = "okay";
22         dr_mode = "peripheral";
23         pinctrl-0 = <&pinctrl_usb1_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 = <&usb1_hsphy0>, <&usb1_ssphy0>;
30 };
31
32 &usb1_hsphy0 {
33         /delete-property/ vbus-supply;
34 };
35
36 &usb1_ssphy0 {
37         /delete-property/ vbus-supply;
38 };
39
40 /delete-node/ &usb1_hsphy1;