add overlay for enabling spi0 on allwinner h3

At least on Orange Pi PC Plus it is routed to the 40-pin header, so it
can used to communicate with external devices.

MFC after:	2 weeks
This commit is contained in:
Andriy Gapon 2021-11-24 18:36:34 +02:00
parent a471646a08
commit f4a041af29
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,10 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun8i-h3";
};
&{/soc/spi@1c68000} {
status = "okay";
};

View File

@ -29,7 +29,8 @@ DTSO= sun8i-a83t-sid.dtso \
sun8i-h3-i2c1.dtso \
sun8i-h3-mmc0-disable.dtso \
sun8i-h3-mmc1-disable.dtso \
sun8i-h3-mmc2-disable.dtso
sun8i-h3-mmc2-disable.dtso \
sun8i-h3-spi0.dtso
LINKS= \
${DTBDIR}/sun4i-a10-cubieboard.dtb ${DTBDIR}/cubieboard.dtb \