17fce1e39SEmil Renner Berthing# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 27fce1e39SEmil Renner Berthing%YAML 1.2 37fce1e39SEmil Renner Berthing--- 47fce1e39SEmil Renner Berthing$id: http://devicetree.org/schemas/clock/starfive,jh7110-syscrg.yaml# 57fce1e39SEmil Renner Berthing$schema: http://devicetree.org/meta-schemas/core.yaml# 67fce1e39SEmil Renner Berthing 77fce1e39SEmil Renner Berthingtitle: StarFive JH7110 System Clock and Reset Generator 87fce1e39SEmil Renner Berthing 97fce1e39SEmil Renner Berthingmaintainers: 107fce1e39SEmil Renner Berthing - Emil Renner Berthing <kernel@esmil.dk> 117fce1e39SEmil Renner Berthing 127fce1e39SEmil Renner Berthingproperties: 137fce1e39SEmil Renner Berthing compatible: 147fce1e39SEmil Renner Berthing const: starfive,jh7110-syscrg 157fce1e39SEmil Renner Berthing 167fce1e39SEmil Renner Berthing reg: 177fce1e39SEmil Renner Berthing maxItems: 1 187fce1e39SEmil Renner Berthing 197fce1e39SEmil Renner Berthing clocks: 207fce1e39SEmil Renner Berthing oneOf: 217fce1e39SEmil Renner Berthing - items: 227fce1e39SEmil Renner Berthing - description: Main Oscillator (24 MHz) 237fce1e39SEmil Renner Berthing - description: GMAC1 RMII reference or GMAC1 RGMII RX 247fce1e39SEmil Renner Berthing - description: External I2S TX bit clock 257fce1e39SEmil Renner Berthing - description: External I2S TX left/right channel clock 267fce1e39SEmil Renner Berthing - description: External I2S RX bit clock 277fce1e39SEmil Renner Berthing - description: External I2S RX left/right channel clock 287fce1e39SEmil Renner Berthing - description: External TDM clock 297fce1e39SEmil Renner Berthing - description: External audio master clock 30*2110add8SXingyu Wu - description: PLL0 31*2110add8SXingyu Wu - description: PLL1 32*2110add8SXingyu Wu - description: PLL2 337fce1e39SEmil Renner Berthing 347fce1e39SEmil Renner Berthing - items: 357fce1e39SEmil Renner Berthing - description: Main Oscillator (24 MHz) 367fce1e39SEmil Renner Berthing - description: GMAC1 RMII reference 377fce1e39SEmil Renner Berthing - description: GMAC1 RGMII RX 387fce1e39SEmil Renner Berthing - description: External I2S TX bit clock 397fce1e39SEmil Renner Berthing - description: External I2S TX left/right channel clock 407fce1e39SEmil Renner Berthing - description: External I2S RX bit clock 417fce1e39SEmil Renner Berthing - description: External I2S RX left/right channel clock 427fce1e39SEmil Renner Berthing - description: External TDM clock 437fce1e39SEmil Renner Berthing - description: External audio master clock 44*2110add8SXingyu Wu - description: PLL0 45*2110add8SXingyu Wu - description: PLL1 46*2110add8SXingyu Wu - description: PLL2 477fce1e39SEmil Renner Berthing 487fce1e39SEmil Renner Berthing clock-names: 497fce1e39SEmil Renner Berthing oneOf: 507fce1e39SEmil Renner Berthing - items: 517fce1e39SEmil Renner Berthing - const: osc 527fce1e39SEmil Renner Berthing - enum: 537fce1e39SEmil Renner Berthing - gmac1_rmii_refin 547fce1e39SEmil Renner Berthing - gmac1_rgmii_rxin 557fce1e39SEmil Renner Berthing - const: i2stx_bclk_ext 567fce1e39SEmil Renner Berthing - const: i2stx_lrck_ext 577fce1e39SEmil Renner Berthing - const: i2srx_bclk_ext 587fce1e39SEmil Renner Berthing - const: i2srx_lrck_ext 597fce1e39SEmil Renner Berthing - const: tdm_ext 607fce1e39SEmil Renner Berthing - const: mclk_ext 61*2110add8SXingyu Wu - const: pll0_out 62*2110add8SXingyu Wu - const: pll1_out 63*2110add8SXingyu Wu - const: pll2_out 647fce1e39SEmil Renner Berthing 657fce1e39SEmil Renner Berthing - items: 667fce1e39SEmil Renner Berthing - const: osc 677fce1e39SEmil Renner Berthing - const: gmac1_rmii_refin 687fce1e39SEmil Renner Berthing - const: gmac1_rgmii_rxin 697fce1e39SEmil Renner Berthing - const: i2stx_bclk_ext 707fce1e39SEmil Renner Berthing - const: i2stx_lrck_ext 717fce1e39SEmil Renner Berthing - const: i2srx_bclk_ext 727fce1e39SEmil Renner Berthing - const: i2srx_lrck_ext 737fce1e39SEmil Renner Berthing - const: tdm_ext 747fce1e39SEmil Renner Berthing - const: mclk_ext 75*2110add8SXingyu Wu - const: pll0_out 76*2110add8SXingyu Wu - const: pll1_out 77*2110add8SXingyu Wu - const: pll2_out 787fce1e39SEmil Renner Berthing 797fce1e39SEmil Renner Berthing '#clock-cells': 807fce1e39SEmil Renner Berthing const: 1 817fce1e39SEmil Renner Berthing description: 827fce1e39SEmil Renner Berthing See <dt-bindings/clock/starfive,jh7110-crg.h> for valid indices. 837fce1e39SEmil Renner Berthing 847fce1e39SEmil Renner Berthing '#reset-cells': 857fce1e39SEmil Renner Berthing const: 1 867fce1e39SEmil Renner Berthing description: 877fce1e39SEmil Renner Berthing See <dt-bindings/reset/starfive,jh7110-crg.h> for valid indices. 887fce1e39SEmil Renner Berthing 897fce1e39SEmil Renner Berthingrequired: 907fce1e39SEmil Renner Berthing - compatible 917fce1e39SEmil Renner Berthing - reg 927fce1e39SEmil Renner Berthing - clocks 937fce1e39SEmil Renner Berthing - clock-names 947fce1e39SEmil Renner Berthing - '#clock-cells' 957fce1e39SEmil Renner Berthing - '#reset-cells' 967fce1e39SEmil Renner Berthing 977fce1e39SEmil Renner BerthingadditionalProperties: false 987fce1e39SEmil Renner Berthing 997fce1e39SEmil Renner Berthingexamples: 1007fce1e39SEmil Renner Berthing - | 1017fce1e39SEmil Renner Berthing clock-controller@13020000 { 1027fce1e39SEmil Renner Berthing compatible = "starfive,jh7110-syscrg"; 1037fce1e39SEmil Renner Berthing reg = <0x13020000 0x10000>; 1047fce1e39SEmil Renner Berthing clocks = <&osc>, <&gmac1_rmii_refin>, 1057fce1e39SEmil Renner Berthing <&gmac1_rgmii_rxin>, 1067fce1e39SEmil Renner Berthing <&i2stx_bclk_ext>, <&i2stx_lrck_ext>, 1077fce1e39SEmil Renner Berthing <&i2srx_bclk_ext>, <&i2srx_lrck_ext>, 108*2110add8SXingyu Wu <&tdm_ext>, <&mclk_ext>, 109*2110add8SXingyu Wu <&pllclk 0>, <&pllclk 1>, <&pllclk 2>; 1107fce1e39SEmil Renner Berthing clock-names = "osc", "gmac1_rmii_refin", 1117fce1e39SEmil Renner Berthing "gmac1_rgmii_rxin", 1127fce1e39SEmil Renner Berthing "i2stx_bclk_ext", "i2stx_lrck_ext", 1137fce1e39SEmil Renner Berthing "i2srx_bclk_ext", "i2srx_lrck_ext", 114*2110add8SXingyu Wu "tdm_ext", "mclk_ext", 115*2110add8SXingyu Wu "pll0_out", "pll1_out", "pll2_out"; 1167fce1e39SEmil Renner Berthing #clock-cells = <1>; 1177fce1e39SEmil Renner Berthing #reset-cells = <1>; 1187fce1e39SEmil Renner Berthing }; 119