mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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:
parent
a471646a08
commit
f4a041af29
2 changed files with 12 additions and 1 deletions
10
sys/dts/arm/overlays/sun8i-h3-spi0.dtso
Normal file
10
sys/dts/arm/overlays/sun8i-h3-spi0.dtso
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
compatible = "allwinner,sun8i-h3";
|
||||
};
|
||||
|
||||
&{/soc/spi@1c68000} {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Reference in a new issue