arm64: dts: exynosautov920: add peric1, misc and hsi0/1 clock DT nodes
authorSunyeal Hong <sunyeal.hong@samsung.com>
Wed, 9 Oct 2024 04:21:10 +0000 (13:21 +0900)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Thu, 10 Oct 2024 08:52:36 +0000 (10:52 +0200)
Add cmu_peric1 for USI, I2C and I3C clocks respectively.
Add cmu_misc for MISC, GIC and OTP clocks respectively.
Add cmu_hsi0 for PCIE clocks respectively.
Add cmu_hsi1 for USB and MMC clocks respectively.

Signed-off-by: Sunyeal Hong <sunyeal.hong@samsung.com>
Link: https://lore.kernel.org/r/20241009042110.2379903-4-sunyeal.hong@samsung.com
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
arch/arm64/boot/dts/exynos/exynosautov920.dtsi

index 91882b37fdb32b2666400355c477dcf51a4080cd..c759134c909eaa131787fab0cf45baba9d834e41 100644 (file)
                        reg = <0x10000000 0x24>;
                };
 
+               cmu_misc: clock-controller@10020000 {
+                       compatible = "samsung,exynosautov920-cmu-misc";
+                       reg = <0x10020000 0x8000>;
+                       #clock-cells = <1>;
+
+                       clocks = <&xtcxo>,
+                                <&cmu_top DOUT_CLKCMU_MISC_NOC>;
+                       clock-names = "oscclk",
+                                     "noc";
+               };
+
                gic: interrupt-controller@10400000 {
                        compatible = "arm,gic-v3";
                        #interrupt-cells = <3>;
                        status = "disabled";
                };
 
+               cmu_peric1: clock-controller@10c00000 {
+                       compatible = "samsung,exynosautov920-cmu-peric1";
+                       reg = <0x10c00000 0x8000>;
+                       #clock-cells = <1>;
+
+                       clocks = <&xtcxo>,
+                                <&cmu_top DOUT_CLKCMU_PERIC1_NOC>,
+                                <&cmu_top DOUT_CLKCMU_PERIC1_IP>;
+                       clock-names = "oscclk",
+                                     "noc",
+                                     "ip";
+               };
+
                syscon_peric1: syscon@10c20000 {
                        compatible = "samsung,exynosautov920-peric1-sysreg",
                                     "syscon";
                        reg = <0x11860000 0x10000>;
                };
 
+               cmu_hsi0: clock-controller@16000000 {
+                       compatible = "samsung,exynosautov920-cmu-hsi0";
+                       reg = <0x16000000 0x8000>;
+                       #clock-cells = <1>;
+
+                       clocks = <&xtcxo>,
+                                <&cmu_top DOUT_CLKCMU_HSI0_NOC>;
+                       clock-names = "oscclk",
+                                     "noc";
+               };
+
                pinctrl_hsi0: pinctrl@16040000 {
                        compatible = "samsung,exynosautov920-pinctrl";
                        reg = <0x16040000 0x10000>;
                        interrupts = <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>;
                };
 
+               cmu_hsi1: clock-controller@16400000 {
+                       compatible = "samsung,exynosautov920-cmu-hsi1";
+                       reg = <0x16400000 0x8000>;
+                       #clock-cells = <1>;
+
+                       clocks = <&xtcxo>,
+                                <&cmu_top DOUT_CLKCMU_HSI1_NOC>,
+                                <&cmu_top DOUT_CLKCMU_HSI1_USBDRD>,
+                                <&cmu_top DOUT_CLKCMU_HSI1_MMC_CARD>;
+                       clock-names = "oscclk",
+                                     "noc",
+                                     "usbdrd",
+                                     "mmc_card";
+               };
+
                pinctrl_hsi1: pinctrl@16450000 {
                        compatible = "samsung,exynosautov920-pinctrl";
                        reg = <0x16450000 0x10000>;