1 Serial Peripheral Interface on Cirrus Logic CL 1 Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx 2 2 3 Required properties 3 Required properties 4 - #address-cells: must be <1> 4 - #address-cells: must be <1> 5 - #size-cells: must be <0> 5 - #size-cells: must be <0> 6 - compatible: should include "cirrus,ep7209-sp 6 - compatible: should include "cirrus,ep7209-spi" 7 - reg: Address and length of one register rang 7 - reg: Address and length of one register range 8 - interrupts: one interrupt line 8 - interrupts: one interrupt line 9 - clocks: One entry, refers to the SPI bus clo 9 - clocks: One entry, refers to the SPI bus clock 10 - cs-gpios: Specifies the gpio pins to be used 10 - cs-gpios: Specifies the gpio pins to be used for chipselects. 11 See: Documentation/devicetree/bind 11 See: Documentation/devicetree/bindings/spi/spi-bus.txt 12 12 13 An additional register is present in the syste 13 An additional register is present in the system controller, 14 which is assumed to be in the same device tree 14 which is assumed to be in the same device tree, with and marked 15 as compatible with "cirrus,ep7209-syscon3". 15 as compatible with "cirrus,ep7209-syscon3". 16 16 17 Example: 17 Example: 18 18 19 spi@80000500 { 19 spi@80000500 { 20 #address-cells = <1>; 20 #address-cells = <1>; 21 #size-cells = <0>; 21 #size-cells = <0>; 22 compatible = "cirrus,ep7209-spi"; 22 compatible = "cirrus,ep7209-spi"; 23 reg = <0x80000500 0x4>; 23 reg = <0x80000500 0x4>; 24 interrupts = <15>; 24 interrupts = <15>; 25 clocks = <&clks CLPS711X_CLK_SPI>; 25 clocks = <&clks CLPS711X_CLK_SPI>; >> 26 status = "disabled"; 26 }; 27 }; 27 28 28 syscon3: syscon@80002200 { 29 syscon3: syscon@80002200 { 29 compatible = "cirrus,ep7209-syscon3", 30 compatible = "cirrus,ep7209-syscon3", "syscon"; 30 reg = <0x80002200 0x40>; 31 reg = <0x80002200 0x40>; 31 }; 32 }; 32 33
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.