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> Signed-off-by: Bruce Ashfield <bruce.ashfi...@gmail.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 3bba371ba0101..331f6aed32643 100644 --- a/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi +++ b/arch/arm64/boot/dts/freescale/s32gxxxa-evb.dtsi @@ -10,8 +10,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>; }; }; @@ -23,7 +27,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 afe8a5cea3e16..defff5441f4dc 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>; }; }; @@ -980,7 +984,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 (#12310): https://lists.yoctoproject.org/g/linux-yocto/message/12310 Mute This Topic: https://lists.yoctoproject.org/mt/97817798/21656 Group Owner: linux-yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-