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