mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-22 12:14:01 +08:00
d5a8003135
Add device tree support to the OMAP2+ McSPI driver. Add the bindings documentation. Based on original code from Rajendra. Signed-off-by: Benoit Cousson <b-cousson@ti.com> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Rajendra Nayak <rnayak@ti.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
21 lines
417 B
Plaintext
21 lines
417 B
Plaintext
OMAP2+ McSPI device
|
|
|
|
Required properties:
|
|
- compatible :
|
|
- "ti,omap2-spi" for OMAP2 & OMAP3.
|
|
- "ti,omap4-spi" for OMAP4+.
|
|
- ti,spi-num-cs : Number of chipselect supported by the instance.
|
|
- ti,hwmods: Name of the hwmod associated to the McSPI
|
|
|
|
|
|
Example:
|
|
|
|
mcspi1: mcspi@1 {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
compatible = "ti,omap4-mcspi";
|
|
ti,hwmods = "mcspi1";
|
|
ti,spi-num-cs = <4>;
|
|
};
|
|
|