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:
parent
d3dd66792b
commit
c9f3a1ac17
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356637
17
sys/dts/arm64/overlays/sun50i-a64-spi0-spigen.dtso
Normal file
17
sys/dts/arm64/overlays/sun50i-a64-spi0-spigen.dtso
Normal 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";
|
||||
};
|
||||
};
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user