1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/bitmain,bm1880-clk.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Bitmain BM1880 Clock Controller 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: | 13*c66ec88fSEmmanuel Vadot The Bitmain BM1880 clock controller generates and supplies clock to 14*c66ec88fSEmmanuel Vadot various peripherals within the SoC. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadot This binding uses common clock bindings 17*c66ec88fSEmmanuel Vadot [1] Documentation/devicetree/bindings/clock/clock-bindings.txt 18*c66ec88fSEmmanuel Vadot 19*c66ec88fSEmmanuel Vadotproperties: 20*c66ec88fSEmmanuel Vadot compatible: 21*c66ec88fSEmmanuel Vadot const: bitmain,bm1880-clk 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot reg: 24*c66ec88fSEmmanuel Vadot items: 25*c66ec88fSEmmanuel Vadot - description: pll registers 26*c66ec88fSEmmanuel Vadot - description: system registers 27*c66ec88fSEmmanuel Vadot 28*c66ec88fSEmmanuel Vadot reg-names: 29*c66ec88fSEmmanuel Vadot items: 30*c66ec88fSEmmanuel Vadot - const: pll 31*c66ec88fSEmmanuel Vadot - const: sys 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot clocks: 34*c66ec88fSEmmanuel Vadot maxItems: 1 35*c66ec88fSEmmanuel Vadot 36*c66ec88fSEmmanuel Vadot clock-names: 37*c66ec88fSEmmanuel Vadot const: osc 38*c66ec88fSEmmanuel Vadot 39*c66ec88fSEmmanuel Vadot '#clock-cells': 40*c66ec88fSEmmanuel Vadot const: 1 41*c66ec88fSEmmanuel Vadot 42*c66ec88fSEmmanuel Vadotrequired: 43*c66ec88fSEmmanuel Vadot - compatible 44*c66ec88fSEmmanuel Vadot - reg 45*c66ec88fSEmmanuel Vadot - reg-names 46*c66ec88fSEmmanuel Vadot - clocks 47*c66ec88fSEmmanuel Vadot - clock-names 48*c66ec88fSEmmanuel Vadot - '#clock-cells' 49*c66ec88fSEmmanuel Vadot 50*c66ec88fSEmmanuel VadotadditionalProperties: false 51*c66ec88fSEmmanuel Vadot 52*c66ec88fSEmmanuel Vadotexamples: 53*c66ec88fSEmmanuel Vadot # Clock controller node: 54*c66ec88fSEmmanuel Vadot - | 55*c66ec88fSEmmanuel Vadot clk: clock-controller@e8 { 56*c66ec88fSEmmanuel Vadot compatible = "bitmain,bm1880-clk"; 57*c66ec88fSEmmanuel Vadot reg = <0xe8 0x0c>, <0x800 0xb0>; 58*c66ec88fSEmmanuel Vadot reg-names = "pll", "sys"; 59*c66ec88fSEmmanuel Vadot clocks = <&osc>; 60*c66ec88fSEmmanuel Vadot clock-names = "osc"; 61*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 62*c66ec88fSEmmanuel Vadot }; 63*c66ec88fSEmmanuel Vadot 64*c66ec88fSEmmanuel Vadot... 65