snps,dw-apb-ssi.txt 897 B

123456789101112131415161718192021222324252627282930
  1. Synopsys DesignWare AMBA 2.0 Synchronous Serial Interface.
  2. Required properties:
  3. - compatible : "snps,dw-apb-ssi"
  4. - reg : The register base for the controller.
  5. - interrupts : One interrupt, used by the controller.
  6. - #address-cells : <1>, as required by generic SPI binding.
  7. - #size-cells : <0>, also as required by generic SPI binding.
  8. Optional properties:
  9. - cs-gpios : Specifies the gpio pis to be used for chipselects.
  10. - num-cs : The number of chipselects. If omitted, this will default to 4.
  11. - reg-io-width : The I/O register width (in bytes) implemented by this
  12. device. Supported values are 2 or 4 (the default).
  13. Child nodes as per the generic SPI binding.
  14. Example:
  15. spi@fff00000 {
  16. compatible = "snps,dw-apb-ssi";
  17. reg = <0xfff00000 0x1000>;
  18. interrupts = <0 154 4>;
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. num-cs = <2>;
  22. cs-gpios = <&gpio0 13 0>,
  23. <&gpio0 14 0>;
  24. };