Skip to contentSkip to conversation

PINE64 Rock64 board: Add SPI Flash support

PATCH New Johannes Krottmayer 2 participants 6 messages Jul 8, 2020 – Jul 18, 2020 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover PINE64 Rock64 board: Add SPI Flash support

This patch series adds SPI Flash support for the PINE64 Rock64 board.

Tested with the version 2.0 of the board.

Johannes Krottmayer (2):
ARM: dts: rk3328-rock64: Add SPI Flash support
configs: rock64-rk3328_defconfig: Add SPI Flash support

 arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
 configs/rock64-rk3328_defconfig        | 2 ++
 2 files changed, 8 insertions(+)
Signature · 1 line
2.26.2
#1 lore raw

PATCH 1/2 ARM: dts: rk3328-rock64: Add SPI Flash support

Add U-Boot SPI Flash support for the PINE64 Rock64 board

---
 arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
 1 file changed, 6 insertions(+)
arch/arm/dts/rk3328-rock64-u-boot.dtsi +6 -0
index f076075076..7340ef95f1 100644
@@ -46,3 +46,9 @@
 &vcc_sd {
 	u-boot,dm-spl;
 };
+
+&spi0 {
+	spi_flash: spiflash at 0 {
+		u-boot,dm-pre-reloc;
+	};
+};
Signature · 1 line
2.26.2
#3 lore raw

PATCH 2/2 configs: rock64-rk3328_defconfig: Add SPI Flash support

In reply to Johannes Krottmayer

Add U-Boot SPI Flash support for the PINE64 Rock64 board

---
 configs/rock64-rk3328_defconfig | 2 ++
 1 file changed, 2 insertions(+)
configs/rock64-rk3328_defconfig +2 -0
index f123826358..0a51e51a0c 100644
@@ -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
Signature · 1 line
2.26.2
#2 lore raw

PATCH 1/2 ARM: dts: rk3328-rock64: Add SPI Flash support

In reply to Johannes Krottmayer
Quoted 4 lines · Johannes Krottmayer

Add U-Boot SPI Flash support for the PINE64 Rock64 board

Thanks,
- Kever

Quoted 18 lines
---
  arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
  1 file changed, 6 insertions(+)
arch/arm/dts/rk3328-rock64-u-boot.dtsi +6 -0
index f076075076..7340ef95f1 100644
@@ -46,3 +46,9 @@
  &vcc_sd {
  	u-boot,dm-spl;
  };
+
+&spi0 {
+	spi_flash: spiflash at 0 {
+		u-boot,dm-pre-reloc;
+	};
+};
#4 lore raw

PATCH 2/2 configs: rock64-rk3328_defconfig: Add SPI Flash support

In reply to Johannes Krottmayer
Quoted 4 lines · Johannes Krottmayer

Add U-Boot SPI Flash support for the PINE64 Rock64 board

Thanks,
- Kever

Quoted 14 lines
---
  configs/rock64-rk3328_defconfig | 2 ++
  1 file changed, 2 insertions(+)
configs/rock64-rk3328_defconfig +2 -0
index f123826358..0a51e51a0c 100644
@@ -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
#5 lore raw

cover PINE64 Rock64 board: Add SPI Flash support

In reply to Johannes Krottmayer
Quoted 5 lines · Johannes Krottmayer

This patch series adds SPI Flash support for the PINE64 Rock64 board.

Tested with the version 2.0 of the board.

Quoted 8 lines

Johannes Krottmayer (2):
ARM: dts: rk3328-rock64: Add SPI Flash support
configs: rock64-rk3328_defconfig: Add SPI Flash support

  arch/arm/dts/rk3328-rock64-u-boot.dtsi | 6 ++++++
  configs/rock64-rk3328_defconfig        | 2 ++
  2 files changed, 8 insertions(+)

Applied to u-boot-rockchip master for this patch set, thanks.