Commit 9066b042 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Simon Horman

arm64: dts: renesas: r8a77995: Use r8a7795-sysc binding definitions

Replace the hardcoded power domain indices by R8A77995_PD_* symbols.
Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent a6d21c09
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
#include <dt-bindings/clock/renesas-cpg-mssr.h> #include <dt-bindings/clock/renesas-cpg-mssr.h>
#include <dt-bindings/interrupt-controller/arm-gic.h> #include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/power/r8a77995-sysc.h>
/ { / {
compatible = "renesas,r8a77995"; compatible = "renesas,r8a77995";
...@@ -30,14 +31,14 @@ a53_0: cpu@0 { ...@@ -30,14 +31,14 @@ a53_0: cpu@0 {
compatible = "arm,cortex-a53", "arm,armv8"; compatible = "arm,cortex-a53", "arm,armv8";
reg = <0x0>; reg = <0x0>;
device_type = "cpu"; device_type = "cpu";
power-domains = <&sysc 5>; power-domains = <&sysc R8A77995_PD_CA53_CPU0>;
next-level-cache = <&L2_CA53>; next-level-cache = <&L2_CA53>;
enable-method = "psci"; enable-method = "psci";
}; };
L2_CA53: cache-controller-1 { L2_CA53: cache-controller-1 {
compatible = "cache"; compatible = "cache";
power-domains = <&sysc 21>; power-domains = <&sysc R8A77995_PD_CA53_SCU>;
cache-unified; cache-unified;
cache-level = <2>; cache-level = <2>;
}; };
...@@ -76,7 +77,7 @@ gic: interrupt-controller@f1010000 { ...@@ -76,7 +77,7 @@ gic: interrupt-controller@f1010000 {
(GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>; (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_HIGH)>;
clocks = <&cpg CPG_MOD 408>; clocks = <&cpg CPG_MOD 408>;
clock-names = "clk"; clock-names = "clk";
power-domains = <&sysc 32>; power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 408>; resets = <&cpg 408>;
}; };
...@@ -97,7 +98,7 @@ rwdt: watchdog@e6020000 { ...@@ -97,7 +98,7 @@ rwdt: watchdog@e6020000 {
"renesas,rcar-gen3-wdt"; "renesas,rcar-gen3-wdt";
reg = <0 0xe6020000 0 0x0c>; reg = <0 0xe6020000 0 0x0c>;
clocks = <&cpg CPG_MOD 402>; clocks = <&cpg CPG_MOD 402>;
power-domains = <&sysc 32>; power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 402>; resets = <&cpg 402>;
status = "disabled"; status = "disabled";
}; };
...@@ -147,7 +148,7 @@ scif2: serial@e6e88000 { ...@@ -147,7 +148,7 @@ scif2: serial@e6e88000 {
<&cpg CPG_CORE 16>, <&cpg CPG_CORE 16>,
<&scif_clk>; <&scif_clk>;
clock-names = "fck", "brg_int", "scif_clk"; clock-names = "fck", "brg_int", "scif_clk";
power-domains = <&sysc 32>; power-domains = <&sysc R8A77995_PD_ALWAYS_ON>;
resets = <&cpg 310>; resets = <&cpg 310>;
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment