> -----Original Message----- > From: Chuanhua Han <chuanhua....@nxp.com> > Sent: Thursday, August 1, 2019 2:07 PM > To: Prabhakar Kushwaha <prabhakar.kushw...@nxp.com>; Ashish Kumar > <ashish.ku...@nxp.com>; Rajesh Bhagat <rajesh.bha...@nxp.com> > Cc: u-boot@lists.denx.de; Chuanhua Han <chuanhua....@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. > > USBOSC: > 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 > sources > > SPR[3:2]: > 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 > device. > > SPR[1:0]: > 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....@nxp.com> > ---
This patch has been applied to fsl-qoriq master, awaiting upstream. --pk _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot