18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
28c2ecf20Sopenharmony_ci%YAML 1.2
38c2ecf20Sopenharmony_ci---
48c2ecf20Sopenharmony_ci$id: http://devicetree.org/schemas/clock/calxeda.yaml#
58c2ecf20Sopenharmony_ci$schema: http://devicetree.org/meta-schemas/core.yaml#
68c2ecf20Sopenharmony_ci
78c2ecf20Sopenharmony_cititle: Device Tree Clock bindings for Calxeda highbank platform
88c2ecf20Sopenharmony_ci
98c2ecf20Sopenharmony_cidescription: |
108c2ecf20Sopenharmony_ci  This binding covers the Calxeda SoC internal peripheral and bus clocks
118c2ecf20Sopenharmony_ci  as used by peripherals. The clocks live inside the "system register"
128c2ecf20Sopenharmony_ci  region of the SoC, so are typically presented as children of an
138c2ecf20Sopenharmony_ci  "hb-sregs" node.
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_cimaintainers:
168c2ecf20Sopenharmony_ci  - Andre Przywara <andre.przywara@arm.com>
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciproperties:
198c2ecf20Sopenharmony_ci  "#clock-cells":
208c2ecf20Sopenharmony_ci    const: 0
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ci  compatible:
238c2ecf20Sopenharmony_ci    enum:
248c2ecf20Sopenharmony_ci      - calxeda,hb-pll-clock
258c2ecf20Sopenharmony_ci      - calxeda,hb-a9periph-clock
268c2ecf20Sopenharmony_ci      - calxeda,hb-a9bus-clock
278c2ecf20Sopenharmony_ci      - calxeda,hb-emmc-clock
288c2ecf20Sopenharmony_ci
298c2ecf20Sopenharmony_ci  reg:
308c2ecf20Sopenharmony_ci    maxItems: 1
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci  clocks:
338c2ecf20Sopenharmony_ci    maxItems: 1
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_cirequired:
368c2ecf20Sopenharmony_ci  - "#clock-cells"
378c2ecf20Sopenharmony_ci  - compatible
388c2ecf20Sopenharmony_ci  - clocks
398c2ecf20Sopenharmony_ci  - reg
408c2ecf20Sopenharmony_ci
418c2ecf20Sopenharmony_ciadditionalProperties: false
428c2ecf20Sopenharmony_ci
438c2ecf20Sopenharmony_ciexamples:
448c2ecf20Sopenharmony_ci  - |
458c2ecf20Sopenharmony_ci    sregs@3fffc000 {
468c2ecf20Sopenharmony_ci        compatible = "calxeda,hb-sregs";
478c2ecf20Sopenharmony_ci        reg = <0x3fffc000 0x1000>;
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ci        clocks {
508c2ecf20Sopenharmony_ci            #address-cells = <1>;
518c2ecf20Sopenharmony_ci            #size-cells = <0>;
528c2ecf20Sopenharmony_ci
538c2ecf20Sopenharmony_ci            osc: oscillator {
548c2ecf20Sopenharmony_ci                #clock-cells = <0>;
558c2ecf20Sopenharmony_ci                compatible = "fixed-clock";
568c2ecf20Sopenharmony_ci                clock-frequency = <33333000>;
578c2ecf20Sopenharmony_ci            };
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci            ddrpll: ddrpll@108 {
608c2ecf20Sopenharmony_ci                #clock-cells = <0>;
618c2ecf20Sopenharmony_ci                compatible = "calxeda,hb-pll-clock";
628c2ecf20Sopenharmony_ci                clocks = <&osc>;
638c2ecf20Sopenharmony_ci                reg = <0x108>;
648c2ecf20Sopenharmony_ci            };
658c2ecf20Sopenharmony_ci
668c2ecf20Sopenharmony_ci            a9pll: a9pll@100 {
678c2ecf20Sopenharmony_ci                #clock-cells = <0>;
688c2ecf20Sopenharmony_ci                compatible = "calxeda,hb-pll-clock";
698c2ecf20Sopenharmony_ci                clocks = <&osc>;
708c2ecf20Sopenharmony_ci                reg = <0x100>;
718c2ecf20Sopenharmony_ci            };
728c2ecf20Sopenharmony_ci
738c2ecf20Sopenharmony_ci            a9periphclk: a9periphclk@104 {
748c2ecf20Sopenharmony_ci                #clock-cells = <0>;
758c2ecf20Sopenharmony_ci                compatible = "calxeda,hb-a9periph-clock";
768c2ecf20Sopenharmony_ci                clocks = <&a9pll>;
778c2ecf20Sopenharmony_ci                reg = <0x104>;
788c2ecf20Sopenharmony_ci            };
798c2ecf20Sopenharmony_ci        };
808c2ecf20Sopenharmony_ci    };
818c2ecf20Sopenharmony_ci
828c2ecf20Sopenharmony_ci...
83