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/calxeda.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Device Tree Clock bindings for Calxeda highbank platform 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotdescription: | 10*c66ec88fSEmmanuel Vadot This binding covers the Calxeda SoC internal peripheral and bus clocks 11*c66ec88fSEmmanuel Vadot as used by peripherals. The clocks live inside the "system register" 12*c66ec88fSEmmanuel Vadot region of the SoC, so are typically presented as children of an 13*c66ec88fSEmmanuel Vadot "hb-sregs" node. 14*c66ec88fSEmmanuel Vadot 15*c66ec88fSEmmanuel Vadotmaintainers: 16*c66ec88fSEmmanuel Vadot - Andre Przywara <andre.przywara@arm.com> 17*c66ec88fSEmmanuel Vadot 18*c66ec88fSEmmanuel Vadotproperties: 19*c66ec88fSEmmanuel Vadot "#clock-cells": 20*c66ec88fSEmmanuel Vadot const: 0 21*c66ec88fSEmmanuel Vadot 22*c66ec88fSEmmanuel Vadot compatible: 23*c66ec88fSEmmanuel Vadot enum: 24*c66ec88fSEmmanuel Vadot - calxeda,hb-pll-clock 25*c66ec88fSEmmanuel Vadot - calxeda,hb-a9periph-clock 26*c66ec88fSEmmanuel Vadot - calxeda,hb-a9bus-clock 27*c66ec88fSEmmanuel Vadot - calxeda,hb-emmc-clock 28*c66ec88fSEmmanuel Vadot 29*c66ec88fSEmmanuel Vadot reg: 30*c66ec88fSEmmanuel Vadot maxItems: 1 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot clocks: 33*c66ec88fSEmmanuel Vadot maxItems: 1 34*c66ec88fSEmmanuel Vadot 35*c66ec88fSEmmanuel Vadotrequired: 36*c66ec88fSEmmanuel Vadot - "#clock-cells" 37*c66ec88fSEmmanuel Vadot - compatible 38*c66ec88fSEmmanuel Vadot - clocks 39*c66ec88fSEmmanuel Vadot - reg 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel VadotadditionalProperties: false 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadotexamples: 44*c66ec88fSEmmanuel Vadot - | 45*c66ec88fSEmmanuel Vadot sregs@3fffc000 { 46*c66ec88fSEmmanuel Vadot compatible = "calxeda,hb-sregs"; 47*c66ec88fSEmmanuel Vadot reg = <0x3fffc000 0x1000>; 48*c66ec88fSEmmanuel Vadot 49*c66ec88fSEmmanuel Vadot clocks { 50*c66ec88fSEmmanuel Vadot #address-cells = <1>; 51*c66ec88fSEmmanuel Vadot #size-cells = <0>; 52*c66ec88fSEmmanuel Vadot 53*c66ec88fSEmmanuel Vadot osc: oscillator { 54*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 55*c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 56*c66ec88fSEmmanuel Vadot clock-frequency = <33333000>; 57*c66ec88fSEmmanuel Vadot }; 58*c66ec88fSEmmanuel Vadot 59*c66ec88fSEmmanuel Vadot ddrpll: ddrpll@108 { 60*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 61*c66ec88fSEmmanuel Vadot compatible = "calxeda,hb-pll-clock"; 62*c66ec88fSEmmanuel Vadot clocks = <&osc>; 63*c66ec88fSEmmanuel Vadot reg = <0x108>; 64*c66ec88fSEmmanuel Vadot }; 65*c66ec88fSEmmanuel Vadot 66*c66ec88fSEmmanuel Vadot a9pll: a9pll@100 { 67*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 68*c66ec88fSEmmanuel Vadot compatible = "calxeda,hb-pll-clock"; 69*c66ec88fSEmmanuel Vadot clocks = <&osc>; 70*c66ec88fSEmmanuel Vadot reg = <0x100>; 71*c66ec88fSEmmanuel Vadot }; 72*c66ec88fSEmmanuel Vadot 73*c66ec88fSEmmanuel Vadot a9periphclk: a9periphclk@104 { 74*c66ec88fSEmmanuel Vadot #clock-cells = <0>; 75*c66ec88fSEmmanuel Vadot compatible = "calxeda,hb-a9periph-clock"; 76*c66ec88fSEmmanuel Vadot clocks = <&a9pll>; 77*c66ec88fSEmmanuel Vadot reg = <0x104>; 78*c66ec88fSEmmanuel Vadot }; 79*c66ec88fSEmmanuel Vadot }; 80*c66ec88fSEmmanuel Vadot }; 81*c66ec88fSEmmanuel Vadot 82*c66ec88fSEmmanuel Vadot... 83