[U-Boot] [PATCH] armv8: ls1088aqds: support DSPI mode by hwconfig
prabhakar.kushwaha at nxp.com
Thu Aug 22 08:33:03 UTC 2019
> -----Original Message-----
> From: Chuanhua Han <chuanhua.han at nxp.com>
> Sent: Thursday, August 1, 2019 2:07 PM
> To: Prabhakar Kushwaha <prabhakar.kushwaha at nxp.com>; Ashish Kumar
> <ashish.kumar at nxp.com>; Rajesh Bhagat <rajesh.bhagat at nxp.com>
> Cc: u-boot at lists.denx.de; Chuanhua Han <chuanhua.han at nxp.com>
> Subject: [PATCH] armv8: ls1088aqds: support DSPI mode by hwconfig
> BRDCFG4[USBOSC] and BRDCFG5[SPR] register field of Qixis device is used to
> control SPI and other IP signal routing.
> 0= SPI_CLK used as external USB REFCLK input driven with 24.000 MHz.
> SPI devices are unusable in this mode.
> 1= SPI_CLK used as SPI clock.
> SPI devices are usable in this mode. USB block is clocked from internal
> SPI_CS / SDHC_DAT4:7 Routing (schematic net CFG_SPI_ROUTE[3:2]):
> 00= SDHC/eMMC 8-bit
> 01= SD Card Rev 2.0/3.0
> 10= SPI on-board memory
> 11= TDM Riser / SPI off-board connector.
> The default value is 00 if an SDCard/eMMC card is selected as the boot
> SPI_SIN/SOUT/SCK Routing (schematic net CFG_SPI_ROUTE[1:0]):
> 00= SDHC Sync loop
> 01= TDM Riser / SPI off-board connector.
> 10= SPI on-board memory.
> 11= SPI off-board connector.
> By default, the SPI feature is not available, so we need to configure the
> above register fields to select the route to the SPI feature.
> Signed-off-by: Chuanhua Han <chuanhua.han at nxp.com>
This patch has been applied to fsl-qoriq master, awaiting upstream.
More information about the U-Boot