From: Quanyang Wang <quanyang.w...@windriver.com> Since a new usb phy driver for ulpi otg phys is introduced, we switch to it instead of using "Nop USB Transceiver driver". This is because that we shouldn't rely on the usb phy initialization in u-boot.
Signed-off-by: Quanyang Wang <quanyang.w...@windriver.com> --- arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi | 10 +++++++--- arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi | 10 +++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi b/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi index 37ee494aedc6..4fc7f04e9ed5 100644 --- a/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi +++ b/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi @@ -9,8 +9,12 @@ chosen { stdout-path = "serial0:115200n8"; }; - usbphynop: usbphynop { - compatible = "usb-nop-xceiv"; + usbphyulpi: usbphyulpi { + compatible = "nxp,saf1508", "usb-phy-ulpi-generic"; + /* ULPI_OTG_ID_PULLUP | ULPI_OTG_DRVVBUS_EXT | ULPI_OTG_EXTVBUSIND | + * ULPI_IC_IND_PASSTHRU | ULPI_IC_EXTVBUS_INDINV + */ + usb-ulpi-flags = <0x60C1>; #phy-cells = <0>; }; }; @@ -22,7 +26,7 @@ &usbmisc { &usbotg { pinctrl-names = "default"; pinctrl-0 = <&usbotg_pins>; - fsl,usbphy = <&usbphynop>; + fsl,usbphy = <&usbphyulpi>; status = "okay"; }; diff --git a/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi b/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi index cb0ba0b27759..6f6f17dc067e 100644 --- a/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi +++ b/arch/arm64/boot/dts/freescale/s32gxxxa-rdb.dtsi @@ -12,8 +12,12 @@ chosen { stdout-path = "serial0:115200n8"; }; - usbphynop: usbphynop { - compatible = "usb-nop-xceiv"; + usbphyulpi: usbphyulpi { + compatible = "nxp,saf1508", "usb-phy-ulpi-generic"; + /* ULPI_OTG_ID_PULLUP | ULPI_OTG_DRVVBUS_EXT | ULPI_OTG_EXTVBUSIND | + * ULPI_IC_IND_PASSTHRU | ULPI_IC_EXTVBUS_INDINV + */ + usb-ulpi-flags = <0x60C1>; #phy-cells = <0>; }; }; @@ -757,7 +761,7 @@ &usbmisc { &usbotg { pinctrl-names = "default"; pinctrl-0 = <&usbotg_pins>; - fsl,usbphy = <&usbphynop>; + fsl,usbphy = <&usbphyulpi>; status = "okay"; }; -- 2.36.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#11485): https://lists.yoctoproject.org/g/linux-yocto/message/11485 Mute This Topic: https://lists.yoctoproject.org/mt/92454292/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-