Samsung Exynos5433 SoC clock controller
Schema identifier ($id): "http://devicetree.org/schemas/clock/samsung,exynos5433-clock.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Chanwoo Choi <cw00.choi@samsung.com>", "Krzysztof Kozlowski <krzk@kernel.org>", "Sylwester Nawrocki <s.nawrocki@samsung.com>", "Tomasz Figa <tomasz.figa@gmail.com>"
Expected external clocks, defined in DTS as fixed-rate clocks with a matching
name::
- "oscclk" - PLL input clock from XXTI
All available clocks are defined as preprocessor macros in include/dt-bindings/clock/exynos5433.h header.
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "samsung,exynos5433-cmu-top", "samsung,exynos5433-cmu-cpif", "samsung,exynos5433-cmu-mif", "samsung,exynos5433-cmu-peric", "samsung,exynos5433-cmu-peris", "samsung,exynos5433-cmu-fsys", "samsung,exynos5433-cmu-g2d", "samsung,exynos5433-cmu-disp", "samsung,exynos5433-cmu-aud", "samsung,exynos5433-cmu-bus0", "samsung,exynos5433-cmu-bus1", "samsung,exynos5433-cmu-bus2", "samsung,exynos5433-cmu-g3d", "samsung,exynos5433-cmu-gscl", "samsung,exynos5433-cmu-apollo", "samsung,exynos5433-cmu-atlas", "samsung,exynos5433-cmu-mscl", "samsung,exynos5433-cmu-mfc", "samsung,exynos5433-cmu-hevc", "samsung,exynos5433-cmu-isp", "samsung,exynos5433-cmu-cam0", "samsung,exynos5433-cmu-cam1", "samsung,exynos5433-cmu-imem"
clocks — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 10
clock-names — not listed as required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 10
#clock-cells — required here #
Exact value (const): 1
power-domains — not listed as required here #
Maximum number of items (maxItems): 1
reg — required here #
Maximum number of items (maxItems): 1
Required in this object (required): "compatible", "#clock-cells", "reg"
All of these rules must match (allOf) #
Rule 1 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-top"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_mphy_pll"Item 3
Exact value (
const):"sclk_mfc_pll"Item 4
Exact value (
const):"sclk_bus_pll"
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-cpif"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):1
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"
Rule 3 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-mif"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_mphy_pll"
Rule 4 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-fsys"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):10Maximum number of items (
maxItems):10
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_ufs_mphy"Item 3
Exact value (
const):"aclk_fsys_200"Item 4
Exact value (
const):"sclk_pcie_100_fsys"Item 5
Exact value (
const):"sclk_ufsunipro_fsys"Item 6
Exact value (
const):"sclk_mmc2_fsys"Item 7
Exact value (
const):"sclk_mmc1_fsys"Item 8
Exact value (
const):"sclk_mmc0_fsys"Item 9
Exact value (
const):"sclk_usbhost30_fsys"Item 10
Exact value (
const):"sclk_usbdrd30_fsys"
Rule 5 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-g2d"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_g2d_266"Item 3
Exact value (
const):"aclk_g2d_400"
Rule 6 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-disp"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):9Maximum number of items (
maxItems):9
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_dsim1_disp"Item 3
Exact value (
const):"sclk_dsim0_disp"Item 4
Exact value (
const):"sclk_dsd_disp"Item 5
Exact value (
const):"sclk_decon_tv_eclk_disp"Item 6
Exact value (
const):"sclk_decon_vclk_disp"Item 7
Exact value (
const):"sclk_decon_eclk_disp"Item 8
Exact value (
const):"sclk_decon_tv_vclk_disp"Item 9
Exact value (
const):"aclk_disp_333"
Rule 7 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-aud"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"fout_aud_pll"
Rule 8 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-bus0"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):1
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"aclk_bus0_400"
Rule 9 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-bus1"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):1Maximum number of items (
maxItems):1
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"aclk_bus1_400"
Rule 10 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-bus2"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_bus2_400"
Rule 11 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-g3d"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_g3d_400"
Rule 12 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-gscl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_gscl_111"Item 3
Exact value (
const):"aclk_gscl_333"
Rule 13 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-apollo"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_bus_pll_apollo"
Rule 14 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-atlas"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_bus_pll_atlas"
Rule 15 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-mscl"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_jpeg_mscl"Item 3
Exact value (
const):"aclk_mscl_400"
Rule 16 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-mfc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_mfc_400"
Rule 17 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-hevc"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):2Maximum number of items (
maxItems):2
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_hevc_400"
Rule 18 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-isp"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):3Maximum number of items (
maxItems):3
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_isp_dis_400"Item 3
Exact value (
const):"aclk_isp_400"
Rule 19 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-cam0"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_cam0_333"Item 3
Exact value (
const):"aclk_cam0_400"Item 4
Exact value (
const):"aclk_cam0_552"
Rule 20 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-cam1"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):7Maximum number of items (
maxItems):7
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"sclk_isp_uart_cam1"Item 3
Exact value (
const):"sclk_isp_spi1_cam1"Item 4
Exact value (
const):"sclk_isp_spi0_cam1"Item 5
Exact value (
const):"aclk_cam1_333"Item 6
Exact value (
const):"aclk_cam1_400"Item 7
Exact value (
const):"aclk_cam1_552"
Rule 21 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)Exact value (
const):"samsung,exynos5433-cmu-imem"When the condition matches (
then) #Properties and child nodes (
properties)
clocks— required hereMinimum number of items (
minItems):4Maximum number of items (
maxItems):4
clock-names— required hereArray item rules (
items)Item 1
Exact value (
const):"oscclk"Item 2
Exact value (
const):"aclk_imem_sssx_266"Item 3
Exact value (
const):"aclk_imem_266"Item 4
Exact value (
const):"aclk_imem_200"
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/exynos5433.h>
xxti: clock {
compatible = "fixed-clock";
clock-output-names = "oscclk";
#clock-cells = <0>;
clock-frequency = <24000000>;
};
clock-controller@10030000 {
compatible = "samsung,exynos5433-cmu-top";
reg = <0x10030000 0x1000>;
#clock-cells = <1>;
clock-names = "oscclk",
"sclk_mphy_pll",
"sclk_mfc_pll",
"sclk_bus_pll";
clocks = <&xxti>,
<&cmu_cpif CLK_SCLK_MPHY_PLL>,
<&cmu_mif CLK_SCLK_MFC_PLL>,
<&cmu_mif CLK_SCLK_BUS_PLL>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
Line 26: CMU_TOP which generates clocks for
Line 27: IMEM/FSYS/G3D/GSCL/HEVC/MSCL/G2D/MFC/PERIC/PERIS domains and bus
Line 28: clocks
Line 30: CMU_CPIF which generates clocks for LLI (Low Latency Interface) IP
Line 32: CMU_MIF which generates clocks for DRAM Memory Controller domain
Line 34: CMU_PERIC which generates clocks for
Line 35: UART/I2C/SPI/I2S/PCM/SPDIF/PWM/SLIMBUS IPs
Line 37: CMU_PERIS which generates clocks for PMU/TMU/MCT/WDT/RTC/SECKEY/TZPC IPs
Line 39: CMU_FSYS which generates clocks for USB/UFS/SDMMC/TSI/PDMA IPs
Line 42: CMU_DISP which generates clocks for Display (DECON/HDMI/DSIM/MIXER) IPs
Line 51: CMU_ATLAS which generates clocks for Cortex-A57 Quad-core processor,
Line 52: CoreSight and L2 cache controller
Line 54: CMU_MSCL which generates clocks for M2M (Memory to Memory) scaler and
Line 55: JPEG IPs
Line 59: CMU_ISP which generates clocks for FIMC-ISP/DRC/SCLC/DIS/3DNR IPs
Line 61: CMU_CAM0 which generates clocks for
Line 62: MIPI_CSIS{0|1}/FIMC_LITE_{A|B|D}/FIMC_3AA{0|1} IPs
Line 64: CMU_CAM1 which generates clocks for
Line 65: Cortex-A5/MIPI_CSIS2/FIMC-LITE_C/FIMC-FD IPs
Line 67: CMU_IMEM which generates clocks for SSS (Security SubSystem) and
Line 68: SlimSSS IPs