Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
device-tree: spi: make spi-bcm2835 the default spi driver and prepare…
… for dma * make spi-bcm2835 the default driver for spi * add a fallback spi-bcm2708 overlay * add dma entries to device tree for future updates * add default cs-gpios entry showing how to extend the number of chip-selects. Signed-off-by: Martin Sperl <kernel@martin.sperl.org>
- Loading branch information
1 parent
c40ce86
commit 9f10489
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* | ||
* Device tree overlay for spi-bcm2835 | ||
*/ | ||
|
||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
compatible = "brcm,bcm2835", "brcm,bcm2836", "brcm,bcm2708", "brcm,bcm2709"; | ||
/* setting up compatiblity to allow loading the spi-bcm2835 driver */ | ||
fragment@0 { | ||
target = <&spi0>; | ||
__overlay__ { | ||
status = "okay"; | ||
compatible = "brcm,bcm2708-spi"; | ||
}; | ||
}; | ||
}; |