samsung,s3c2443-clock.txt 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. * Samsung S3C2443 Clock Controller
  2. The S3C2443 clock controller generates and supplies clock to various controllers
  3. within the SoC. The clock binding described here is applicable to all SoCs in
  4. the s3c24x family starting with the s3c2443.
  5. Required Properties:
  6. - compatible: should be one of the following.
  7. - "samsung,s3c2416-clock" - controller compatible with S3C2416 SoC.
  8. - "samsung,s3c2443-clock" - controller compatible with S3C2443 SoC.
  9. - "samsung,s3c2450-clock" - controller compatible with S3C2450 SoC.
  10. - reg: physical base address of the controller and length of memory mapped
  11. region.
  12. - #clock-cells: should be 1.
  13. Each clock is assigned an identifier and client nodes can use this identifier
  14. to specify the clock which they consume. Some of the clocks are available only
  15. on a particular SoC.
  16. All available clocks are defined as preprocessor macros in
  17. dt-bindings/clock/s3c2443.h header and can be used in device
  18. tree sources.
  19. External clocks:
  20. There are several clocks that are generated outside the SoC. It is expected
  21. that they are defined using standard clock bindings with following
  22. clock-output-names:
  23. - "xti" - crystal input - required,
  24. - "ext" - external clock source - optional,
  25. - "ext_i2s" - external I2S clock - optional,
  26. - "ext_uart" - external uart clock - optional,
  27. Example: Clock controller node:
  28. clocks: clock-controller@4c000000 {
  29. compatible = "samsung,s3c2416-clock";
  30. reg = <0x4c000000 0x40>;
  31. #clock-cells = <1>;
  32. };
  33. Example: UART controller node that consumes the clock generated by the clock
  34. controller (refer to the standard clock bindings for information about
  35. "clocks" and "clock-names" properties):
  36. serial@50004000 {
  37. compatible = "samsung,s3c2440-uart";
  38. reg = <0x50004000 0x4000>;
  39. interrupts = <1 23 3 4>, <1 23 4 4>;
  40. clock-names = "uart", "clk_uart_baud2",
  41. "clk_uart_baud3";
  42. clocks = <&clocks PCLK_UART0>, <&clocks PCLK_UART0>,
  43. <&clocks SCLK_UART>;
  44. status = "disabled";
  45. };