overlays: add spi override to merus-amp overlay

adds an override to the merus-amp overlay to turn the spi bus off

Change-type: patch
Signed-off-by: Aaron Shaw <shawaj@gmail.com>
This commit is contained in:
Aaron Shaw
2020-12-26 03:13:14 +00:00
committed by Phil Elwell
parent b1dbbba42e
commit bcf09c55a2
2 changed files with 12 additions and 2 deletions

View File

@@ -1914,8 +1914,8 @@ Params: speed Display SPI bus speed
Name: merus-amp
Info: Configures the merus-amp audio card
Load: dtoverlay=merus-amp
Params: <None>
Load: dtoverlay=merus-amp,<param>=<val>
Params: spioff Turn SPI bus off
Name: midi-uart0

View File

@@ -57,4 +57,14 @@
status = "okay";
};
};
fragment@4 {
target = <&spi0>;
frag4: __overlay__ {
};
};
__overrides__ {
spioff = <&frag4>, "status=disabled";
};
};