0001 STMicroelectronics SSC (SPI) Controller
0002 ---------------------------------------
0003
0004 Required properties:
0005 - compatible : "st,comms-ssc4-spi"
0006 - reg : Offset and length of the device's register set
0007 - interrupts : The interrupt specifier
0008 - clock-names : Must contain "ssc"
0009 - clocks : Must contain an entry for each name in clock-names
0010 See ../clk/*
0011 - pinctrl-names : Uses "default", can use "sleep" if provided
0012 See ../pinctrl/pinctrl-bindings.txt
0013
0014 Optional properties:
0015 - cs-gpios : List of GPIO chip selects
0016 See ../spi/spi-bus.txt
0017
0018 Child nodes represent devices on the SPI bus
0019 See ../spi/spi-bus.txt
0020
0021 Example:
0022 spi@9840000 {
0023 compatible = "st,comms-ssc4-spi";
0024 reg = <0x9840000 0x110>;
0025 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
0026 clocks = <&clk_s_c0_flexgen CLK_EXT2F_A9>;
0027 clock-names = "ssc";
0028 pinctrl-0 = <&pinctrl_spi0_default>;
0029 pinctrl-names = "default";
0030 cs-gpios = <&pio17 5 0>;
0031 #address-cells = <1>;
0032 #size-cells = <0>;
0033
0034 st95hf@0{
0035 compatible = "st,st95hf";
0036 reg = <0>;
0037 spi-max-frequency = <1000000>;
0038 interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
0039 };
0040 };