arm64: allwinner: dtso: Add spi0 spigen DTSO

This overlays can be used on A64 board to use spigen and spi(8)
on the spi0 pins.

Tested On:  Pine64-LTS, A64-Olinuxino

Submitted by:	Gary Otten <gdotten@gmail.com>
This commit is contained in:
Emmanuel Vadot 2020-01-11 18:36:10 +00:00
parent d3dd66792b
commit c9f3a1ac17
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/dts-v1/;
/plugin/;
/ {
compatible = "allwinner,sun50i-a64";
};
&{/soc/spi@1c68000} {
status = "okay";
spigen0: spigen0 {
compatible = "freebsd,spigen";
reg = <0>;
spi-max-frequency = <500000>;
status = "okay";
};
};

View File

@ -54,6 +54,7 @@ DTSO= sun50i-a64-opp.dtso \
sun50i-a64-pwm.dtso \
sun50i-a64-rpwm.dtso \
sun50i-a64-sid.dtso \
sun50i-a64-spi0-spigen.dtso \
sun50i-a64-ths.dtso \
sun50i-a64-timer.dtso \
sun50i-h5-opp.dtso \