dts: arm: nxp: enable udc DT on lpc55s69, rt1060 and rt685

define usbphy in DT and controller DT node ref to usbphy node.
define the usbphy yaml and update ehci and ip3511 yaml for usbphy.

Signed-off-by: Mark Wang <yichang.wang@nxp.com>
This commit is contained in:
Mark Wang 2024-05-27 15:26:55 +08:00 committed by Alberto Escolar
parent 97a734aa01
commit a4e411bd13
6 changed files with 65 additions and 0 deletions

View file

@ -385,6 +385,12 @@
status = "disabled";
};
usbphy1: usbphy@38000 {
compatible = "nxp,usbphy";
reg = <0x38000 0x1000>;
status = "disabled";
};
ctimer0: ctimer@8000 {
compatible = "nxp,lpc-ctimer";
reg = <0x8000 0x1000>;

View file

@ -835,6 +835,18 @@
status = "disabled";
};
usbphy1: usbphy@400d9000 {
compatible = "nxp,usbphy";
reg = <0x400D9000 0x1000>;
status = "disabled";
};
usbphy2: usbphy@400da000 {
compatible = "nxp,usbphy";
reg = <0x400DA000 0x1000>;
status = "disabled";
};
usdhc1: usdhc@402c0000 {
compatible = "nxp,imx-usdhc";
reg = <0x402c0000 0x4000>;

View file

@ -289,6 +289,12 @@
status = "disabled";
};
usbphy: usbphy@13b000 {
compatible = "nxp,usbphy";
reg = <0x13b000 0x1000>;
status = "disabled";
};
hs_lspi: spi@126000 {
compatible = "nxp,lpc-spi";
/* Enabling cs-gpios below will allow using GPIO CS,

View file

@ -6,3 +6,7 @@ description: NXP EHCI USB device mode
compatible: nxp,ehci
include: "nxp,mcux-usbd.yaml"
properties:
phy_handle:
type: phandle

View file

@ -6,3 +6,7 @@ description: NXP LPCIP3511 USB device mode
compatible: nxp,lpcip3511
include: "nxp,mcux-usbd.yaml"
properties:
phy_handle:
type: phandle

View file

@ -0,0 +1,33 @@
# Copyright 2024 NXP
# SPDX-License-Identifier: Apache-2.0
description: |
NXP USB high speed phy that is used on NXP RTxxxx, RTxxx, MCX, LPC and Kinetis
platforms if high speed usb is supported on these platforms.
Note: Only some LPC plafforms use it (like: LPC55S69, LPC55S28 and LPC55S16 etc).
compatible: "nxp,usbphy"
include: base.yaml
properties:
tx-d-cal:
type: int
required: true
description: |
It is board level's value that is used to trim the nominal 17.78mA
current source for the High Speed TX drivers on USB_DP and USB_DM.
tx-cal-45-dp-ohms:
type: int
required: true
description: |
It is board level's value that is used to trim the nominal 17.78mA
current source for the High Speed TX drivers on USB_DP and USB_DM.
tx-cal-45-dm-ohms:
type: int
required: true
description: |
It is board level's value that is used to trim the nominal 17.78mA
current source for the High Speed TX drivers on USB_DP and USB_DM.