csr,atlas7-car.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. * Clock and reset bindings for CSR atlas7
  2. Required properties:
  3. - compatible: Should be "sirf,atlas7-car"
  4. - reg: Address and length of the register set
  5. - #clock-cells: Should be <1>
  6. - #reset-cells: Should be <1>
  7. The clock consumer should specify the desired clock by having the clock
  8. ID in its "clocks" phandle cell.
  9. The ID list atlas7_clks defined in drivers/clk/sirf/clk-atlas7.c
  10. The reset consumer should specify the desired reset by having the reset
  11. ID in its "reset" phandle cell.
  12. The ID list atlas7_reset_unit defined in drivers/clk/sirf/clk-atlas7.c
  13. Examples: Clock and reset controller node:
  14. car: clock-controller@18620000 {
  15. compatible = "sirf,atlas7-car";
  16. reg = <0x18620000 0x1000>;
  17. #clock-cells = <1>;
  18. #reset-cells = <1>;
  19. };
  20. Examples: Consumers using clock or reset:
  21. timer@10dc0000 {
  22. compatible = "sirf,macro-tick";
  23. reg = <0x10dc0000 0x1000>;
  24. clocks = <&car 54>;
  25. interrupts = <0 0 0>,
  26. <0 1 0>,
  27. <0 2 0>,
  28. <0 49 0>,
  29. <0 50 0>,
  30. <0 51 0>;
  31. };
  32. uart1: uart@18020000 {
  33. cell-index = <1>;
  34. compatible = "sirf,macro-uart";
  35. reg = <0x18020000 0x1000>;
  36. clocks = <&clks 95>;
  37. interrupts = <0 18 0>;
  38. fifosize = <32>;
  39. };
  40. vpp@13110000 {
  41. compatible = "sirf,prima2-vpp";
  42. reg = <0x13110000 0x10000>;
  43. interrupts = <0 31 0>;
  44. clocks = <&car 85>;
  45. resets = <&car 29>;
  46. };