jcore,spi.txt 737 B

12345678910111213141516171819202122232425262728293031323334
  1. J-Core SPI master
  2. Required properties:
  3. - compatible: Must be "jcore,spi2".
  4. - reg: Memory region for registers.
  5. - #address-cells: Must be 1.
  6. - #size-cells: Must be 0.
  7. Optional properties:
  8. - clocks: If a phandle named "ref_clk" is present, SPI clock speed
  9. programming is relative to the frequency of the indicated clock.
  10. Necessary only if the input clock rate is something other than a
  11. fixed 50 MHz.
  12. - clock-names: Clock names, one for each phandle in clocks.
  13. See spi-bus.txt for additional properties not specific to this device.
  14. Example:
  15. spi@40 {
  16. compatible = "jcore,spi2";
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. reg = <0x40 0x8>;
  20. spi-max-frequency = <25000000>;
  21. clocks = <&bus_clk>;
  22. clock-names = "ref_clk";
  23. }