arm64: dts: mediatek: mt6795: Add fixed clocks for 32kHz and 26MHz XOs
authorAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Thu, 9 Jun 2022 11:22:58 +0000 (13:22 +0200)
committerMatthias Brugger <matthias.bgg@gmail.com>
Wed, 22 Jun 2022 15:25:07 +0000 (17:25 +0200)
Add the 32kHz and 26MHz oscillators as fixed clocks in devicetree to
provide a good initial clock spec, since this SoC features two always
on oscillators running at the aforementioned frequencies.

Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220609112303.117928-6-angelogioacchino.delregno@collabora.com
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt6795.dtsi

index 363fa25..7123c1b 100644 (file)
                };
        };
 
+       clk26m: oscillator-26m {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <26000000>;
+               clock-output-names = "clk26m";
+       };
+
+       clk32k: oscillator-32k {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <32000>;
+               clock-output-names = "clk32k";
+       };
+
        system_clk: dummy13m {
                compatible = "fixed-clock";
                clock-frequency = <13000000>;