^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) STMicroelectronics SSC (SPI) Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) ---------------------------------------
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - compatible : "st,comms-ssc4-spi"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - reg : Offset and length of the device's register set
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - interrupts : The interrupt specifier
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - clock-names : Must contain "ssc"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) - clocks : Must contain an entry for each name in clock-names
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) See ../clk/*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - pinctrl-names : Uses "default", can use "sleep" if provided
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) See ../pinctrl/pinctrl-bindings.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - cs-gpios : List of GPIO chip selects
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) See ../spi/spi-bus.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) Child nodes represent devices on the SPI bus
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) See ../spi/spi-bus.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) spi@9840000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) compatible = "st,comms-ssc4-spi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) reg = <0x9840000 0x110>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) clock-names = "ssc";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) pinctrl-0 = <&pinctrl_spi0_default>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) pinctrl-names = "default";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) cs-gpios = <&pio17 5 0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) #address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) #size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) st95hf@0{
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) compatible = "st,st95hf";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) reg = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) spi-max-frequency = <1000000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) };