^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) Serial Peripheral Interface on Cirrus Logic CL-PS71xx, EP72xx, EP73xx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - #address-cells: must be <1>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - #size-cells: must be <0>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - compatible: should include "cirrus,ep7209-spi"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - reg: Address and length of one register range
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - interrupts: one interrupt line
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - clocks: One entry, refers to the SPI bus clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - cs-gpios: Specifies the gpio pins to be used for chipselects.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) See: Documentation/devicetree/bindings/spi/spi-bus.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) An additional register is present in the system controller,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) which is assumed to be in the same device tree, with and marked
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) as compatible with "cirrus,ep7209-syscon3".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) spi@80000500 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) compatible = "cirrus,ep7209-spi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) reg = <0x80000500 0x4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) interrupts = <15>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) clocks = <&clks CLPS711X_CLK_SPI>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) syscon3: syscon@80002200 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) compatible = "cirrus,ep7209-syscon3", "syscon";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) reg = <0x80002200 0x40>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)