ARM: dts: r8a77470: Use r8a77470-cpg-mssr binding definitions
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>
This commit is contained in:
parent
c85aabb841
commit
c03e2f12a2
|
@ -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>;
|
||||
};
|
||||
|
@ -209,7 +209,7 @@
|
|||
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>;
|
||||
|
@ -225,7 +225,7 @@
|
|||
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>;
|
||||
|
@ -241,7 +241,7 @@
|
|||
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>;
|
||||
|
@ -257,7 +257,7 @@
|
|||
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>;
|
||||
|
@ -273,7 +273,7 @@
|
|||
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>;
|
||||
|
@ -289,7 +289,7 @@
|
|||
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>;
|
||||
|
|
Loading…
Reference in New Issue