Message ID | 20200703190021.2990-1-krjdev@gmail.com |
---|---|
State | New |
Headers | show |
Series | rockchip: rock64-rk3328: Add SPI Flash support | expand |
diff --git a/arch/arm/dts/rk3328-rock64-u-boot.dtsi b/arch/arm/dts/rk3328-rock64-u-boot.dtsi index f076075076..7340ef95f1 100644 --- a/arch/arm/dts/rk3328-rock64-u-boot.dtsi +++ b/arch/arm/dts/rk3328-rock64-u-boot.dtsi @@ -46,3 +46,9 @@ &vcc_sd { u-boot,dm-spl; }; + +&spi0 { + spi_flash: spiflash at 0 { + u-boot,dm-pre-reloc; + }; +}; diff --git a/configs/rock64-rk3328_defconfig b/configs/rock64-rk3328_defconfig index f123826358..0a51e51a0c 100644 --- a/configs/rock64-rk3328_defconfig +++ b/configs/rock64-rk3328_defconfig @@ -97,3 +97,5 @@ CONFIG_SPL_TINY_MEMSET=y CONFIG_TPL_TINY_MEMSET=y CONFIG_ERRNO_STR=y CONFIG_SMBIOS_MANUFACTURER="pine64" +CONFIG_ROCKCHIP_SPI=y +CONFIG_SPI_FLASH_GIGADEVICE=y
Add SPI Flash support for the PINE64 Rock64 board Signed-off-by: Johannes Krottmayer <krjdev at gmail.com> Cc: Kever Yang <kever.yang at rock-chips.com> Cc: Jagan Teki <jagan at amarulasolutions.com> --- Initial SPI Flash support. Okay? arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++ configs/rock64-rk3328_defconfig | 2 ++ 2 files changed, 8 insertions(+)