Back to home page

OSCL-LXR

 
 

    


0001 Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx
0002 
0003 Required properties
0004 - #address-cells: must be <1>
0005 - #size-cells: must be <0>
0006 - compatible: should include "cirrus,ep7209-spi"
0007 - reg: Address and length of one register range
0008 - interrupts: one interrupt line
0009 - clocks: One entry, refers to the SPI bus clock
0010 - cs-gpios: Specifies the gpio pins to be used for chipselects.
0011             See: Documentation/devicetree/bindings/spi/spi-bus.txt
0012 
0013 An additional register is present in the system controller,
0014 which is assumed to be in the same device tree, with and marked
0015 as compatible with "cirrus,ep7209-syscon3".
0016 
0017 Example:
0018 
0019 spi@80000500 {
0020         #address-cells = <1>;
0021         #size-cells = <0>;
0022         compatible = "cirrus,ep7209-spi";
0023         reg = <0x80000500 0x4>;
0024         interrupts = <15>;
0025         clocks = <&clks CLPS711X_CLK_SPI>;
0026 };
0027 
0028 syscon3: syscon@80002200 {
0029         compatible = "cirrus,ep7209-syscon3", "syscon";
0030         reg = <0x80002200 0x40>;
0031 };
0032