On 2020/7/9 上午5:57, Johannes Krottmayer wrote:
Add U-Boot SPI support for the RK3328

Signed-off-by: Johannes Krottmayer <krj...@gmail.com>
Cc: Kever Yang <kever.y...@rock-chips.com>
Cc: Jagan Teki <ja...@amarulasolutions.com>
Reviewed-by: Kever Yang<kever.y...@rock-chips.com>

Thanks,
- Kever
---
  arch/arm/dts/rk3328-u-boot.dtsi | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/rk3328-u-boot.dtsi b/arch/arm/dts/rk3328-u-boot.dtsi
index c69e13e11e..c980daae99 100644
--- a/arch/arm/dts/rk3328-u-boot.dtsi
+++ b/arch/arm/dts/rk3328-u-boot.dtsi
@@ -7,6 +7,7 @@
        aliases {
                mmc0 = &emmc;
                mmc1 = &sdmmc;
+               spi0 = &spi0;
        };
chosen {
@@ -66,3 +67,7 @@
  &usb20_otg {
        hnp-srp-disable;
  };
+
+&spi0 {
+       u-boot,dm-pre-reloc;
+};


Reply via email to