spi-sun4i.txt 675 B

123456789101112131415161718192021222324
  1. Allwinner A10 SPI controller
  2. Required properties:
  3. - compatible: Should be "allwinner,sun4-a10-spi".
  4. - reg: Should contain register location and length.
  5. - interrupts: Should contain interrupt.
  6. - clocks: phandle to the clocks feeding the SPI controller. Two are
  7. needed:
  8. - "ahb": the gated AHB parent clock
  9. - "mod": the parent module clock
  10. - clock-names: Must contain the clock names described just above
  11. Example:
  12. spi1: spi@01c06000 {
  13. compatible = "allwinner,sun4i-a10-spi";
  14. reg = <0x01c06000 0x1000>;
  15. interrupts = <11>;
  16. clocks = <&ahb_gates 21>, <&spi1_clk>;
  17. clock-names = "ahb", "mod";
  18. status = "disabled";
  19. #address-cells = <1>;
  20. #size-cells = <0>;
  21. };