spi-sun6i.txt 725 B

123456789101112131415161718192021222324
  1. Allwinner A31 SPI controller
  2. Required properties:
  3. - compatible: Should be "allwinner,sun6i-a31-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. - resets: phandle to the reset controller asserting this device in
  12. reset
  13. Example:
  14. spi1: spi@01c69000 {
  15. compatible = "allwinner,sun6i-a31-spi";
  16. reg = <0x01c69000 0x1000>;
  17. interrupts = <0 66 4>;
  18. clocks = <&ahb1_gates 21>, <&spi1_clk>;
  19. clock-names = "ahb", "mod";
  20. resets = <&ahb1_rst 21>;
  21. };