exynos5250-clock.txt 1.3 KB

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