balena-allwinner/layers/meta-resin-allwinner/recipes-kernel/linux/linux-4.11.5/add-spi-aliases.patch
2017-07-27 13:38:15 +02:00

16 lines
389 B
Diff

diff --git a/arch/arm/boot/dts/sun8i-h3.dtsi b/arch/arm/boot/dts/sun8i-h3.dtsi
index ea74f58..d1aced2 100644
--- a/arch/arm/boot/dts/sun8i-h3.dtsi
+++ b/arch/arm/boot/dts/sun8i-h3.dtsi
@@ -43,6 +43,11 @@
#include "sunxi-h3-h5.dtsi"
/ {
+ aliases {
+ spi0 = &spi0;
+ spi1 = &spi1;
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;