spi-mt65xx.txt 862 B

123456789101112131415161718192021222324252627282930313233
  1. MTK SPI device
  2. Required properties:
  3. - compatible: should be one of the following.
  4. - mediatek,mt8173-spi: for mt8173 platforms
  5. - mediatek,mt8135-spi: for mt8135 platforms
  6. - mediatek,mt6589-spi: for mt6589 platforms
  7. - mediatek,mt8173-spi: for mt2701 platforms
  8. - reg: Address and length of the register set for the device
  9. - interrupts: Should contain spi interrupt
  10. - clock-names: tuple listing input clock names.
  11. Required elements: "main"
  12. - clocks: phandles to input clocks.
  13. - pad-select: should specify spi pad used, only required for MT8173.
  14. This value should be 0~3.
  15. Example:
  16. - SoC Specific Portion:
  17. spi: spi@1100a000 {
  18. compatible = "mediatek,mt8173-spi";
  19. reg = <0 0x1100a000 0 0x1000>;
  20. interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_LOW>;
  21. clocks = <&pericfg PERI_SPI0>;
  22. clock-names = "main";
  23. pad-select = <1>;
  24. status = "disabled";
  25. };