diff --git a/boards/arm/mimxrt595_evk/mimxrt595_evk_cm33.dts b/boards/arm/mimxrt595_evk/mimxrt595_evk_cm33.dts index e4dc1b29326..ee8fa3b534d 100644 --- a/boards/arm/mimxrt595_evk/mimxrt595_evk_cm33.dts +++ b/boards/arm/mimxrt595_evk/mimxrt595_evk_cm33.dts @@ -24,7 +24,7 @@ watchdog0 = &wwdt0; magn0 = &fxos8700; accel0 = &fxos8700; - sdhc0 = &usdhc1; + sdhc0 = &usdhc0; }; chosen { @@ -320,7 +320,7 @@ zephyr_udc0: &usbhs { status = "okay"; }; -&usdhc1 { +&usdhc0 { status = "okay"; pwr-gpios = <&gpio2 10 GPIO_ACTIVE_HIGH>; cd-gpios = <&gpio2 9 GPIO_ACTIVE_LOW>; diff --git a/dts/arm/nxp/nxp_rt5xx_common.dtsi b/dts/arm/nxp/nxp_rt5xx_common.dtsi index 68c39a566f2..d96230b0f43 100644 --- a/dts/arm/nxp/nxp_rt5xx_common.dtsi +++ b/dts/arm/nxp/nxp_rt5xx_common.dtsi @@ -362,7 +362,7 @@ clk-divider = <1>; }; - usdhc1: usdhc@136000 { + usdhc0: usdhc@136000 { compatible = "nxp,imx-usdhc"; reg = <0x136000 0x1000>; status = "disabled"; @@ -374,7 +374,7 @@ min-bus-freq = <400000>; }; - usdhc2: usdhc@137000 { + usdhc1: usdhc@137000 { compatible = "nxp,imx-usdhc"; reg = <0x137000 0x1000>; status = "disabled"; diff --git a/soc/arm/nxp_imx/rt5xx/soc.c b/soc/arm/nxp_imx/rt5xx/soc.c index 8196059c086..343456066ba 100644 --- a/soc/arm/nxp_imx/rt5xx/soc.c +++ b/soc/arm/nxp_imx/rt5xx/soc.c @@ -147,7 +147,7 @@ static void usb_device_clock_init(void) BOARD_USB_PHY_TXCAL45DM, }; - /* Make sure USDHC ram buffer and usb1 phy has power up */ + /* Make sure USBHS ram buffer and usb1 phy has power up */ POWER_DisablePD(kPDRUNCFG_APD_USBHS_SRAM); POWER_DisablePD(kPDRUNCFG_PPD_USBHS_SRAM); POWER_DisablePD(kPDRUNCFG_LP_HSPAD_FSPI0_VDET); @@ -289,7 +289,7 @@ static void clock_init(void) /* Switch CLKOUT to FRO_DIV2 */ CLOCK_AttachClk(kFRO_DIV2_to_CLKOUT); -#if DT_NODE_HAS_STATUS(DT_NODELABEL(usdhc1), okay) && CONFIG_IMX_USDHC +#if DT_NODE_HAS_STATUS(DT_NODELABEL(usdhc0), okay) && CONFIG_IMX_USDHC /* Make sure USDHC ram buffer has been power up*/ POWER_DisablePD(kPDRUNCFG_APD_USDHC0_SRAM); POWER_DisablePD(kPDRUNCFG_PPD_USDHC0_SRAM);