ARM: dts: keystone-clocks: add input fixed clocks
authorGrygorii Strashko <grygorii.strashko@ti.com>
Mon, 7 Oct 2019 17:59:08 +0000 (10:59 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Mon, 7 Oct 2019 17:59:08 +0000 (10:59 -0700)
Add set of fixed, external input clocks definitions for TIMI0, TIMI1,
TSREFCLK clocks. Such clocks can be used as reference clocks for some HW
modules (as cpts, for example) by configuring corresponding clock muxes.
For these clocks real frequencies have to be defined in board files.

Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
arch/arm/boot/dts/keystone-clocks.dtsi

index 457515b0736affea133007c7962b5d557b030a4c..0397c3423d2db5d5ea4b9300565274b103565816 100644 (file)
@@ -408,4 +408,31 @@ clocks {
                reg-names = "control", "domain";
                domain-id = <0>;
        };
+
+       /*
+        * Below are set of fixed, input clocks definitions,
+        * for which real frequencies have to be defined in board files.
+        * Those clocks can be used as reference clocks for some HW modules
+        * (as cpts, for example) by configuring corresponding clock muxes.
+        */
+       timi0: timi0 {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               clock-frequency = <0>;
+               clock-output-names = "timi0";
+       };
+
+       timi1: timi1 {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               clock-frequency = <0>;
+               clock-output-names = "timi1";
+       };
+
+       tsrefclk: tsrefclk {
+               #clock-cells = <0>;
+               compatible = "fixed-clock";
+               clock-frequency = <0>;
+               clock-output-names = "tsrefclk";
+       };
 };