[PATCH 1/3] sunxi: dts: OrangePi Zero: Add SPI aliases to make bus usable with u-boot.

Michal Suchanek msuchanek at suse.de
Mon Sep 28 23:02:00 CEST 2020


The u-boot code relies on aliases to assign bus number.

Signed-off-by: Michal Suchanek <msuchanek at suse.de>
---
 arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
index f19ed981da..090570148e 100644
--- a/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
+++ b/arch/arm/dts/sun8i-h2-plus-orangepi-zero.dts
@@ -59,6 +59,8 @@
 		/* ethernet0 is the H3 emac, defined in sun8i-h3.dtsi */
 		ethernet0 = &emac;
 		ethernet1 = &xr819;
+		spi0 = &spi0;
+		spi1 = &spi1;
 	};
 
 	chosen {
-- 
2.28.0



More information about the U-Boot mailing list