|
@@ -9,9 +9,10 @@
|
|
* kind, whether express or implied.
|
|
* kind, whether express or implied.
|
|
*/
|
|
*/
|
|
|
|
|
|
-#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
|
|
+#include <dt-bindings/clock/r8a77970-cpg-mssr.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
-#include <dt-bindings/clock/renesas-cpg-mssr.h>
|
|
|
|
|
|
+#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
|
+#include <dt-bindings/power/r8a77970-sysc.h>
|
|
|
|
|
|
/ {
|
|
/ {
|
|
compatible = "renesas,r8a77970";
|
|
compatible = "renesas,r8a77970";
|
|
@@ -31,15 +32,15 @@
|
|
device_type = "cpu";
|
|
device_type = "cpu";
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
compatible = "arm,cortex-a53", "arm,armv8";
|
|
reg = <0>;
|
|
reg = <0>;
|
|
- clocks = <&cpg CPG_CORE 0>;
|
|
|
|
- power-domains = <&sysc 5>;
|
|
|
|
|
|
+ clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>;
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_CA53_CPU0>;
|
|
next-level-cache = <&L2_CA53>;
|
|
next-level-cache = <&L2_CA53>;
|
|
enable-method = "psci";
|
|
enable-method = "psci";
|
|
};
|
|
};
|
|
|
|
|
|
L2_CA53: cache-controller {
|
|
L2_CA53: cache-controller {
|
|
compatible = "cache";
|
|
compatible = "cache";
|
|
- power-domains = <&sysc 21>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_CA53_SCU>;
|
|
cache-unified;
|
|
cache-unified;
|
|
cache-level = <2>;
|
|
cache-level = <2>;
|
|
};
|
|
};
|
|
@@ -87,7 +88,7 @@
|
|
IRQ_TYPE_LEVEL_HIGH)>;
|
|
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 R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 408>;
|
|
resets = <&cpg 408>;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -103,6 +104,16 @@
|
|
IRQ_TYPE_LEVEL_LOW)>;
|
|
IRQ_TYPE_LEVEL_LOW)>;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ rwdt: watchdog@e6020000 {
|
|
|
|
+ compatible = "renesas,r8a77970-wdt",
|
|
|
|
+ "renesas,rcar-gen3-wdt";
|
|
|
|
+ reg = <0 0xe6020000 0 0x0c>;
|
|
|
|
+ clocks = <&cpg CPG_MOD 402>;
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
|
|
+ resets = <&cpg 402>;
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
cpg: clock-controller@e6150000 {
|
|
cpg: clock-controller@e6150000 {
|
|
compatible = "renesas,r8a77970-cpg-mssr";
|
|
compatible = "renesas,r8a77970-cpg-mssr";
|
|
reg = <0 0xe6150000 0 0x1000>;
|
|
reg = <0 0xe6150000 0 0x1000>;
|
|
@@ -124,6 +135,49 @@
|
|
#power-domain-cells = <1>;
|
|
#power-domain-cells = <1>;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+ ipmmu_vi0: mmu@febd0000 {
|
|
|
|
+ compatible = "renesas,ipmmu-r8a77970";
|
|
|
|
+ reg = <0 0xfebd0000 0 0x1000>;
|
|
|
|
+ renesas,ipmmu-main = <&ipmmu_mm 9>;
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
|
|
+ #iommu-cells = <1>;
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ipmmu_ir: mmu@ff8b0000 {
|
|
|
|
+ compatible = "renesas,ipmmu-r8a77970";
|
|
|
|
+ reg = <0 0xff8b0000 0 0x1000>;
|
|
|
|
+ renesas,ipmmu-main = <&ipmmu_mm 3>;
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_A3IR>;
|
|
|
|
+ #iommu-cells = <1>;
|
|
|
|
+ status = "disabled";
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ipmmu_rt: mmu@ffc80000 {
|
|
|
|
+ compatible = "renesas,ipmmu-r8a77970";
|
|
|
|
+ reg = <0 0xffc80000 0 0x1000>;
|
|
|
|
+ renesas,ipmmu-main = <&ipmmu_mm 7>;
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
|
|
+ #iommu-cells = <1>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ipmmu_ds1: mmu@e7740000 {
|
|
|
|
+ compatible = "renesas,ipmmu-r8a77970";
|
|
|
|
+ reg = <0 0xe7740000 0 0x1000>;
|
|
|
|
+ renesas,ipmmu-main = <&ipmmu_mm 1>;
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
|
|
+ #iommu-cells = <1>;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ ipmmu_mm: mmu@e67b0000 {
|
|
|
|
+ compatible = "renesas,ipmmu-r8a77970";
|
|
|
|
+ reg = <0 0xe67b0000 0 0x1000>;
|
|
|
|
+ interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
+ <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
|
|
+ #iommu-cells = <1>;
|
|
|
|
+ };
|
|
|
|
+
|
|
intc_ex: interrupt-controller@e61c0000 {
|
|
intc_ex: interrupt-controller@e61c0000 {
|
|
compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
|
|
compatible = "renesas,intc-ex-r8a77970", "renesas,irqc";
|
|
#interrupt-cells = <2>;
|
|
#interrupt-cells = <2>;
|
|
@@ -136,7 +190,7 @@
|
|
GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
|
|
GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH
|
|
GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
|
|
GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 407>;
|
|
clocks = <&cpg CPG_MOD 407>;
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 407>;
|
|
resets = <&cpg 407>;
|
|
};
|
|
};
|
|
|
|
|
|
@@ -163,10 +217,14 @@
|
|
"ch4", "ch5", "ch6", "ch7";
|
|
"ch4", "ch5", "ch6", "ch7";
|
|
clocks = <&cpg CPG_MOD 218>;
|
|
clocks = <&cpg CPG_MOD 218>;
|
|
clock-names = "fck";
|
|
clock-names = "fck";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 218>;
|
|
resets = <&cpg 218>;
|
|
#dma-cells = <1>;
|
|
#dma-cells = <1>;
|
|
dma-channels = <8>;
|
|
dma-channels = <8>;
|
|
|
|
+ iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>,
|
|
|
|
+ <&ipmmu_ds1 2>, <&ipmmu_ds1 3>,
|
|
|
|
+ <&ipmmu_ds1 4>, <&ipmmu_ds1 5>,
|
|
|
|
+ <&ipmmu_ds1 6>, <&ipmmu_ds1 7>;
|
|
};
|
|
};
|
|
|
|
|
|
dmac2: dma-controller@e7310000 {
|
|
dmac2: dma-controller@e7310000 {
|
|
@@ -187,10 +245,14 @@
|
|
"ch4", "ch5", "ch6", "ch7";
|
|
"ch4", "ch5", "ch6", "ch7";
|
|
clocks = <&cpg CPG_MOD 217>;
|
|
clocks = <&cpg CPG_MOD 217>;
|
|
clock-names = "fck";
|
|
clock-names = "fck";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 217>;
|
|
resets = <&cpg 217>;
|
|
#dma-cells = <1>;
|
|
#dma-cells = <1>;
|
|
dma-channels = <8>;
|
|
dma-channels = <8>;
|
|
|
|
+ iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>,
|
|
|
|
+ <&ipmmu_ds1 18>, <&ipmmu_ds1 19>,
|
|
|
|
+ <&ipmmu_ds1 20>, <&ipmmu_ds1 21>,
|
|
|
|
+ <&ipmmu_ds1 22>, <&ipmmu_ds1 23>;
|
|
};
|
|
};
|
|
|
|
|
|
hscif0: serial@e6540000 {
|
|
hscif0: serial@e6540000 {
|
|
@@ -200,13 +262,13 @@
|
|
reg = <0 0xe6540000 0 96>;
|
|
reg = <0 0xe6540000 0 96>;
|
|
interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 520>,
|
|
clocks = <&cpg CPG_MOD 520>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x31>, <&dmac1 0x30>,
|
|
dmas = <&dmac1 0x31>, <&dmac1 0x30>,
|
|
<&dmac2 0x31>, <&dmac2 0x30>;
|
|
<&dmac2 0x31>, <&dmac2 0x30>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 520>;
|
|
resets = <&cpg 520>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -218,13 +280,13 @@
|
|
reg = <0 0xe6550000 0 96>;
|
|
reg = <0 0xe6550000 0 96>;
|
|
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 519>,
|
|
clocks = <&cpg CPG_MOD 519>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x33>, <&dmac1 0x32>,
|
|
dmas = <&dmac1 0x33>, <&dmac1 0x32>,
|
|
<&dmac2 0x33>, <&dmac2 0x32>;
|
|
<&dmac2 0x33>, <&dmac2 0x32>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 519>;
|
|
resets = <&cpg 519>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -236,13 +298,13 @@
|
|
reg = <0 0xe6560000 0 96>;
|
|
reg = <0 0xe6560000 0 96>;
|
|
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 518>,
|
|
clocks = <&cpg CPG_MOD 518>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x35>, <&dmac1 0x34>,
|
|
dmas = <&dmac1 0x35>, <&dmac1 0x34>,
|
|
<&dmac2 0x35>, <&dmac2 0x34>;
|
|
<&dmac2 0x35>, <&dmac2 0x34>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 518>;
|
|
resets = <&cpg 518>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -253,13 +315,13 @@
|
|
reg = <0 0xe66a0000 0 96>;
|
|
reg = <0 0xe66a0000 0 96>;
|
|
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 517>,
|
|
clocks = <&cpg CPG_MOD 517>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x37>, <&dmac1 0x36>,
|
|
dmas = <&dmac1 0x37>, <&dmac1 0x36>,
|
|
<&dmac2 0x37>, <&dmac2 0x36>;
|
|
<&dmac2 0x37>, <&dmac2 0x36>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 517>;
|
|
resets = <&cpg 517>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -271,13 +333,13 @@
|
|
reg = <0 0xe6e60000 0 64>;
|
|
reg = <0 0xe6e60000 0 64>;
|
|
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 207>,
|
|
clocks = <&cpg CPG_MOD 207>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x51>, <&dmac1 0x50>,
|
|
dmas = <&dmac1 0x51>, <&dmac1 0x50>,
|
|
<&dmac2 0x51>, <&dmac2 0x50>;
|
|
<&dmac2 0x51>, <&dmac2 0x50>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 207>;
|
|
resets = <&cpg 207>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -289,13 +351,13 @@
|
|
reg = <0 0xe6e68000 0 64>;
|
|
reg = <0 0xe6e68000 0 64>;
|
|
interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 206>,
|
|
clocks = <&cpg CPG_MOD 206>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x53>, <&dmac1 0x52>,
|
|
dmas = <&dmac1 0x53>, <&dmac1 0x52>,
|
|
<&dmac2 0x53>, <&dmac2 0x52>;
|
|
<&dmac2 0x53>, <&dmac2 0x52>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 206>;
|
|
resets = <&cpg 206>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -307,13 +369,13 @@
|
|
reg = <0 0xe6c50000 0 64>;
|
|
reg = <0 0xe6c50000 0 64>;
|
|
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 204>,
|
|
clocks = <&cpg CPG_MOD 204>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x57>, <&dmac1 0x56>,
|
|
dmas = <&dmac1 0x57>, <&dmac1 0x56>,
|
|
<&dmac2 0x57>, <&dmac2 0x56>;
|
|
<&dmac2 0x57>, <&dmac2 0x56>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 204>;
|
|
resets = <&cpg 204>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -324,13 +386,13 @@
|
|
reg = <0 0xe6c40000 0 64>;
|
|
reg = <0 0xe6c40000 0 64>;
|
|
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
|
interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
|
|
clocks = <&cpg CPG_MOD 203>,
|
|
clocks = <&cpg CPG_MOD 203>,
|
|
- <&cpg CPG_CORE 9>,
|
|
|
|
|
|
+ <&cpg CPG_CORE R8A77970_CLK_S2D1>,
|
|
<&scif_clk>;
|
|
<&scif_clk>;
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
clock-names = "fck", "brg_int", "scif_clk";
|
|
dmas = <&dmac1 0x59>, <&dmac1 0x58>,
|
|
dmas = <&dmac1 0x59>, <&dmac1 0x58>,
|
|
<&dmac2 0x59>, <&dmac2 0x58>;
|
|
<&dmac2 0x59>, <&dmac2 0x58>;
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 203>;
|
|
resets = <&cpg 203>;
|
|
status = "disabled";
|
|
status = "disabled";
|
|
};
|
|
};
|
|
@@ -372,9 +434,10 @@
|
|
"ch20", "ch21", "ch22", "ch23",
|
|
"ch20", "ch21", "ch22", "ch23",
|
|
"ch24";
|
|
"ch24";
|
|
clocks = <&cpg CPG_MOD 812>;
|
|
clocks = <&cpg CPG_MOD 812>;
|
|
- power-domains = <&sysc 32>;
|
|
|
|
|
|
+ power-domains = <&sysc R8A77970_PD_ALWAYS_ON>;
|
|
resets = <&cpg 812>;
|
|
resets = <&cpg 812>;
|
|
phy-mode = "rgmii-id";
|
|
phy-mode = "rgmii-id";
|
|
|
|
+ iommus = <&ipmmu_rt 3>;
|
|
#address-cells = <1>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
#size-cells = <0>;
|
|
};
|
|
};
|