exynos5420-clock.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. * Samsung Exynos5420 Clock Controller
  2. The Exynos5420 clock controller generates and supplies clock to various
  3. controllers within the Exynos5420 SoC and for the Exynos5800 SoC.
  4. Required Properties:
  5. - compatible: should be one of the following.
  6. - "samsung,exynos5420-clock" - controller compatible with Exynos5420 SoC.
  7. - "samsung,exynos5800-clock" - controller compatible with Exynos5800 SoC.
  8. - reg: physical base address of the controller and length of memory mapped
  9. region.
  10. - #clock-cells: should be 1.
  11. Each clock is assigned an identifier and client nodes can use this identifier
  12. to specify the clock which they consume.
  13. All available clocks are defined as preprocessor macros in
  14. dt-bindings/clock/exynos5420.h header and can be used in device
  15. tree sources.
  16. Example 1: An example of a clock controller node is listed below.
  17. clock: clock-controller@0x10010000 {
  18. compatible = "samsung,exynos5420-clock";
  19. reg = <0x10010000 0x30000>;
  20. #clock-cells = <1>;
  21. };
  22. Example 2: UART controller node that consumes the clock generated by the clock
  23. controller. Refer to the standard clock bindings for information
  24. about 'clocks' and 'clock-names' property.
  25. serial@13820000 {
  26. compatible = "samsung,exynos4210-uart";
  27. reg = <0x13820000 0x100>;
  28. interrupts = <0 54 0>;
  29. clocks = <&clock CLK_UART2>, <&clock CLK_SCLK_UART2>;
  30. clock-names = "uart", "clk_uart_baud0";
  31. };