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/amlogic,meson8-ddr-clkc.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7*7ef62cebSEmmanuel Vadottitle: Amlogic DDR Clock Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Martin Blumenstingl <martin.blumenstingl@googlemail.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotproperties: 13c66ec88fSEmmanuel Vadot compatible: 14c66ec88fSEmmanuel Vadot enum: 15c66ec88fSEmmanuel Vadot - amlogic,meson8-ddr-clkc 16c66ec88fSEmmanuel Vadot - amlogic,meson8b-ddr-clkc 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadot reg: 19c66ec88fSEmmanuel Vadot maxItems: 1 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot clocks: 22c66ec88fSEmmanuel Vadot maxItems: 1 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot clock-names: 25c66ec88fSEmmanuel Vadot items: 26c66ec88fSEmmanuel Vadot - const: xtal 27c66ec88fSEmmanuel Vadot 28c66ec88fSEmmanuel Vadot "#clock-cells": 29c66ec88fSEmmanuel Vadot const: 1 30c66ec88fSEmmanuel Vadot 31c66ec88fSEmmanuel Vadotrequired: 32c66ec88fSEmmanuel Vadot - compatible 33c66ec88fSEmmanuel Vadot - reg 34c66ec88fSEmmanuel Vadot - clocks 35c66ec88fSEmmanuel Vadot - clock-names 36c66ec88fSEmmanuel Vadot - "#clock-cells" 37c66ec88fSEmmanuel Vadot 38c66ec88fSEmmanuel VadotadditionalProperties: false 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadotexamples: 41c66ec88fSEmmanuel Vadot - | 42c66ec88fSEmmanuel Vadot ddr_clkc: clock-controller@400 { 43c66ec88fSEmmanuel Vadot compatible = "amlogic,meson8-ddr-clkc"; 44c66ec88fSEmmanuel Vadot reg = <0x400 0x20>; 45c66ec88fSEmmanuel Vadot clocks = <&xtal>; 46c66ec88fSEmmanuel Vadot clock-names = "xtal"; 47c66ec88fSEmmanuel Vadot #clock-cells = <1>; 48c66ec88fSEmmanuel Vadot }; 49c66ec88fSEmmanuel Vadot 50c66ec88fSEmmanuel Vadot... 51