nvidia,tegra114-spi.txt 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. NVIDIA Tegra114 SPI controller.
  2. Required properties:
  3. - compatible : For Tegra114, must contain "nvidia,tegra114-spi".
  4. Otherwise, must contain '"nvidia,<chip>-spi", "nvidia,tegra114-spi"' where
  5. <chip> is tegra124, tegra132, or tegra210.
  6. - reg: Should contain SPI registers location and length.
  7. - interrupts: Should contain SPI interrupts.
  8. - clock-names : Must include the following entries:
  9. - spi
  10. - resets : Must contain an entry for each entry in reset-names.
  11. See ../reset/reset.txt for details.
  12. - reset-names : Must include the following entries:
  13. - spi
  14. - dmas : Must contain an entry for each entry in clock-names.
  15. See ../dma/dma.txt for details.
  16. - dma-names : Must include the following entries:
  17. - rx
  18. - tx
  19. - clocks : Must contain an entry for each entry in clock-names.
  20. See ../clocks/clock-bindings.txt for details.
  21. Recommended properties:
  22. - spi-max-frequency: Definition as per
  23. Documentation/devicetree/bindings/spi/spi-bus.txt
  24. Example:
  25. spi@7000d600 {
  26. compatible = "nvidia,tegra114-spi";
  27. reg = <0x7000d600 0x200>;
  28. interrupts = <0 82 0x04>;
  29. spi-max-frequency = <25000000>;
  30. #address-cells = <1>;
  31. #size-cells = <0>;
  32. clocks = <&tegra_car 44>;
  33. clock-names = "spi";
  34. resets = <&tegra_car 44>;
  35. reset-names = "spi";
  36. dmas = <&apbdma 16>, <&apbdma 16>;
  37. dma-names = "rx", "tx";
  38. status = "disabled";
  39. };