]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
ARM: dts: r8a77470: Use r8a77470-cpg-mssr binding definitions
authorGeert Uytterhoeven <geert+renesas@glider.be>
Tue, 17 Jul 2018 13:25:49 +0000 (15:25 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Jul 2018 11:33:06 +0000 (13:33 +0200)
Replace the hardcoded clock indices by R8A77470_CLK_* symbols.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Biju Das <biju.das@bp.renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/r8a77470.dtsi

index c85032f9605b91711580e67362a1c58ea4e6834c..87d32d3e23de2c177efccb146845e98aefd7f217 100644 (file)
@@ -7,7 +7,7 @@
 
 #include <dt-bindings/interrupt-controller/irq.h>
 #include <dt-bindings/interrupt-controller/arm-gic.h>
-#include <dt-bindings/clock/renesas-cpg-mssr.h>
+#include <dt-bindings/clock/r8a77470-cpg-mssr.h>
 / {
        compatible = "renesas,r8a77470";
        #address-cells = <2>;
@@ -22,7 +22,7 @@
                        compatible = "arm,cortex-a7";
                        reg = <0>;
                        clock-frequency = <1000000000>;
-                       clocks = <&cpg CPG_CORE 0>;
+                       clocks = <&cpg CPG_CORE R8A77470_CLK_Z2>;
                        power-domains = <&sysc 5>;
                        next-level-cache = <&L2_CA7>;
                };
                        reg = <0 0xe6e60000 0 0x40>;
                        interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cpg CPG_MOD 721>,
-                                <&cpg CPG_CORE 5>, <&scif_clk>;
+                                <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
                        clock-names = "fck", "brg_int", "scif_clk";
                        dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
                               <&dmac1 0x29>, <&dmac1 0x2a>;
                        reg = <0 0xe6e68000 0 0x40>;
                        interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cpg CPG_MOD 720>,
-                                <&cpg CPG_CORE 5>, <&scif_clk>;
+                                <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
                        clock-names = "fck", "brg_int", "scif_clk";
                        dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
                               <&dmac1 0x2d>, <&dmac1 0x2e>;
                        reg = <0 0xe6e58000 0 0x40>;
                        interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cpg CPG_MOD 719>,
-                                <&cpg CPG_CORE 5>, <&scif_clk>;
+                                <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
                        clock-names = "fck", "brg_int", "scif_clk";
                        dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
                               <&dmac1 0x2b>, <&dmac1 0x2c>;
                        reg = <0 0xe6ea8000 0 0x40>;
                        interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cpg CPG_MOD 718>,
-                                <&cpg CPG_CORE 5>, <&scif_clk>;
+                                <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
                        clock-names = "fck", "brg_int", "scif_clk";
                        dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
                               <&dmac1 0x2f>, <&dmac1 0x30>;
                        reg = <0 0xe6ee0000 0 0x40>;
                        interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cpg CPG_MOD 715>,
-                                <&cpg CPG_CORE 5>, <&scif_clk>;
+                                <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
                        clock-names = "fck", "brg_int", "scif_clk";
                        dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
                               <&dmac1 0xfb>, <&dmac1 0xfc>;
                        reg = <0 0xe6ee8000 0 0x40>;
                        interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
                        clocks = <&cpg CPG_MOD 714>,
-                                <&cpg CPG_CORE 5>, <&scif_clk>;
+                                <&cpg CPG_CORE R8A77470_CLK_ZS>, <&scif_clk>;
                        clock-names = "fck", "brg_int", "scif_clk";
                        dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
                               <&dmac1 0xfd>, <&dmac1 0xfe>;