spi-st-ssc.txt 1.1 KB

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