nvidia,tegra114-spi.txt 1.2 KB

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