154377537SJian Hu# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 254377537SJian Hu# Copyright (C) 2024-2025 Amlogic, Inc. All rights reserved 354377537SJian Hu%YAML 1.2 454377537SJian Hu--- 554377537SJian Hu$id: http://devicetree.org/schemas/clock/amlogic,t7-pll-clkc.yaml# 654377537SJian Hu$schema: http://devicetree.org/meta-schemas/core.yaml# 754377537SJian Hu 854377537SJian Hutitle: Amlogic T7 PLL Clock Control Controller 954377537SJian Hu 1054377537SJian Humaintainers: 1154377537SJian Hu - Neil Armstrong <neil.armstrong@linaro.org> 1254377537SJian Hu - Jerome Brunet <jbrunet@baylibre.com> 1354377537SJian Hu - Jian Hu <jian.hu@amlogic.com> 1454377537SJian Hu - Xianwei Zhao <xianwei.zhao@amlogic.com> 1554377537SJian Hu 1654377537SJian Huproperties: 1754377537SJian Hu compatible: 1854377537SJian Hu enum: 1954377537SJian Hu - amlogic,t7-gp0-pll 2054377537SJian Hu - amlogic,t7-gp1-pll 2154377537SJian Hu - amlogic,t7-hifi-pll 2254377537SJian Hu - amlogic,t7-pcie-pll 2354377537SJian Hu - amlogic,t7-mpll 2454377537SJian Hu - amlogic,t7-hdmi-pll 2554377537SJian Hu - amlogic,t7-mclk-pll 2654377537SJian Hu 2754377537SJian Hu reg: 2854377537SJian Hu maxItems: 1 2954377537SJian Hu 3054377537SJian Hu '#clock-cells': 3154377537SJian Hu const: 1 3254377537SJian Hu 3354377537SJian Hu clocks: 3454377537SJian Hu items: 3554377537SJian Hu - description: mclk pll input oscillator gate 3654377537SJian Hu - description: oscillator input clock source for mclk_sel_0 3754377537SJian Hu - description: fixed input clock source for mclk_sel_0 3854377537SJian Hu minItems: 1 3954377537SJian Hu 4054377537SJian Hu clock-names: 4154377537SJian Hu items: 4254377537SJian Hu - const: in0 4354377537SJian Hu - const: in1 4454377537SJian Hu - const: in2 4554377537SJian Hu minItems: 1 4654377537SJian Hu 4754377537SJian Hurequired: 4854377537SJian Hu - compatible 4954377537SJian Hu - '#clock-cells' 5054377537SJian Hu - reg 5154377537SJian Hu - clocks 5254377537SJian Hu - clock-names 5354377537SJian Hu 5454377537SJian HuallOf: 5554377537SJian Hu - if: 5654377537SJian Hu properties: 5754377537SJian Hu compatible: 5854377537SJian Hu contains: 5954377537SJian Hu const: amlogic,t7-mclk-pll 6054377537SJian Hu 6154377537SJian Hu then: 6254377537SJian Hu properties: 6354377537SJian Hu clocks: 6454377537SJian Hu minItems: 3 6554377537SJian Hu 6654377537SJian Hu clock-names: 6754377537SJian Hu minItems: 3 6854377537SJian Hu 6954377537SJian Hu - if: 7054377537SJian Hu properties: 7154377537SJian Hu compatible: 7254377537SJian Hu contains: 7354377537SJian Hu enum: 7454377537SJian Hu - amlogic,t7-gp0-pll 75*404f80bdSJian Hu - amlogic,t7-gp1-pll 7654377537SJian Hu - amlogic,t7-hifi-pll 7754377537SJian Hu - amlogic,t7-pcie-pll 7854377537SJian Hu - amlogic,t7-mpll 7954377537SJian Hu - amlogic,t7-hdmi-pll 8054377537SJian Hu 8154377537SJian Hu then: 8254377537SJian Hu properties: 8354377537SJian Hu clocks: 8454377537SJian Hu maxItems: 1 8554377537SJian Hu 8654377537SJian Hu clock-names: 8754377537SJian Hu maxItems: 1 8854377537SJian Hu 8954377537SJian HuadditionalProperties: false 9054377537SJian Hu 9154377537SJian Huexamples: 9254377537SJian Hu - | 9354377537SJian Hu apb { 9454377537SJian Hu #address-cells = <2>; 9554377537SJian Hu #size-cells = <2>; 9654377537SJian Hu 9754377537SJian Hu clock-controller@8080 { 9854377537SJian Hu compatible = "amlogic,t7-gp0-pll"; 9954377537SJian Hu reg = <0 0x8080 0 0x20>; 10054377537SJian Hu clocks = <&scmi_clk 2>; 10154377537SJian Hu clock-names = "in0"; 10254377537SJian Hu #clock-cells = <1>; 10354377537SJian Hu }; 10454377537SJian Hu 10554377537SJian Hu clock-controller@8300 { 10654377537SJian Hu compatible = "amlogic,t7-mclk-pll"; 10754377537SJian Hu reg = <0 0x8300 0 0x18>; 10854377537SJian Hu clocks = <&scmi_clk 2>, 10954377537SJian Hu <&xtal>, 11054377537SJian Hu <&scmi_clk 31>; 11154377537SJian Hu clock-names = "in0", "in1", "in2"; 11254377537SJian Hu #clock-cells = <1>; 11354377537SJian Hu }; 11454377537SJian Hu }; 115