|
@@ -8,6 +8,7 @@
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
#include <dt-bindings/clock/r8a77470-cpg-mssr.h>
|
|
|
+#include <dt-bindings/power/r8a77470-sysc.h>
|
|
|
/ {
|
|
|
compatible = "renesas,r8a77470";
|
|
|
#address-cells = <2>;
|
|
@@ -23,7 +24,7 @@
|
|
|
reg = <0>;
|
|
|
clock-frequency = <1000000000>;
|
|
|
clocks = <&cpg CPG_CORE R8A77470_CLK_Z2>;
|
|
|
- power-domains = <&sysc 5>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_CA7_CPU0>;
|
|
|
next-level-cache = <&L2_CA7>;
|
|
|
};
|
|
|
|
|
@@ -32,7 +33,7 @@
|
|
|
compatible = "cache";
|
|
|
cache-unified;
|
|
|
cache-level = <2>;
|
|
|
- power-domains = <&sysc 21>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_CA7_SCU>;
|
|
|
};
|
|
|
};
|
|
|
|
|
@@ -60,6 +61,102 @@
|
|
|
#size-cells = <2>;
|
|
|
ranges;
|
|
|
|
|
|
+ gpio0: gpio@e6050000 {
|
|
|
+ compatible = "renesas,gpio-r8a77470",
|
|
|
+ "renesas,rcar-gen2-gpio";
|
|
|
+ reg = <0 0xe6050000 0 0x50>;
|
|
|
+ interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ gpio-ranges = <&pfc 0 0 23>;
|
|
|
+ #interrupt-cells = <2>;
|
|
|
+ interrupt-controller;
|
|
|
+ clocks = <&cpg CPG_MOD 912>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
+ resets = <&cpg 912>;
|
|
|
+ };
|
|
|
+
|
|
|
+ gpio1: gpio@e6051000 {
|
|
|
+ compatible = "renesas,gpio-r8a77470",
|
|
|
+ "renesas,rcar-gen2-gpio";
|
|
|
+ reg = <0 0xe6051000 0 0x50>;
|
|
|
+ interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ gpio-ranges = <&pfc 0 32 23>;
|
|
|
+ #interrupt-cells = <2>;
|
|
|
+ interrupt-controller;
|
|
|
+ clocks = <&cpg CPG_MOD 911>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
+ resets = <&cpg 911>;
|
|
|
+ };
|
|
|
+
|
|
|
+ gpio2: gpio@e6052000 {
|
|
|
+ compatible = "renesas,gpio-r8a77470",
|
|
|
+ "renesas,rcar-gen2-gpio";
|
|
|
+ reg = <0 0xe6052000 0 0x50>;
|
|
|
+ interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ gpio-ranges = <&pfc 0 64 32>;
|
|
|
+ #interrupt-cells = <2>;
|
|
|
+ interrupt-controller;
|
|
|
+ clocks = <&cpg CPG_MOD 910>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
+ resets = <&cpg 910>;
|
|
|
+ };
|
|
|
+
|
|
|
+ gpio3: gpio@e6053000 {
|
|
|
+ compatible = "renesas,gpio-r8a77470",
|
|
|
+ "renesas,rcar-gen2-gpio";
|
|
|
+ reg = <0 0xe6053000 0 0x50>;
|
|
|
+ interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ gpio-ranges = <&pfc 0 96 30>;
|
|
|
+ gpio-reserved-ranges = <17 10>;
|
|
|
+ #interrupt-cells = <2>;
|
|
|
+ interrupt-controller;
|
|
|
+ clocks = <&cpg CPG_MOD 909>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
+ resets = <&cpg 909>;
|
|
|
+ };
|
|
|
+
|
|
|
+ gpio4: gpio@e6054000 {
|
|
|
+ compatible = "renesas,gpio-r8a77470",
|
|
|
+ "renesas,rcar-gen2-gpio";
|
|
|
+ reg = <0 0xe6054000 0 0x50>;
|
|
|
+ interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ gpio-ranges = <&pfc 0 128 26>;
|
|
|
+ #interrupt-cells = <2>;
|
|
|
+ interrupt-controller;
|
|
|
+ clocks = <&cpg CPG_MOD 908>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
+ resets = <&cpg 908>;
|
|
|
+ };
|
|
|
+
|
|
|
+ gpio5: gpio@e6055000 {
|
|
|
+ compatible = "renesas,gpio-r8a77470",
|
|
|
+ "renesas,rcar-gen2-gpio";
|
|
|
+ reg = <0 0xe6055000 0 0x50>;
|
|
|
+ interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
+ #gpio-cells = <2>;
|
|
|
+ gpio-controller;
|
|
|
+ gpio-ranges = <&pfc 0 160 32>;
|
|
|
+ #interrupt-cells = <2>;
|
|
|
+ interrupt-controller;
|
|
|
+ clocks = <&cpg CPG_MOD 907>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
+ resets = <&cpg 907>;
|
|
|
+ };
|
|
|
+
|
|
|
+ pfc: pin-controller@e6060000 {
|
|
|
+ compatible = "renesas,pfc-r8a77470";
|
|
|
+ reg = <0 0xe6060000 0 0x118>;
|
|
|
+ };
|
|
|
+
|
|
|
cpg: clock-controller@e6150000 {
|
|
|
compatible = "renesas,r8a77470-cpg-mssr";
|
|
|
reg = <0 0xe6150000 0 0x1000>;
|
|
@@ -97,7 +194,7 @@
|
|
|
<GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
<GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
clocks = <&cpg CPG_MOD 407>;
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 407>;
|
|
|
};
|
|
|
|
|
@@ -151,7 +248,7 @@
|
|
|
"ch12", "ch13", "ch14";
|
|
|
clocks = <&cpg CPG_MOD 219>;
|
|
|
clock-names = "fck";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 219>;
|
|
|
#dma-cells = <1>;
|
|
|
dma-channels = <15>;
|
|
@@ -184,7 +281,7 @@
|
|
|
"ch12", "ch13", "ch14";
|
|
|
clocks = <&cpg CPG_MOD 218>;
|
|
|
clock-names = "fck";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 218>;
|
|
|
#dma-cells = <1>;
|
|
|
dma-channels = <15>;
|
|
@@ -196,7 +293,7 @@
|
|
|
reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
|
|
|
interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
|
|
|
clocks = <&cpg CPG_MOD 812>;
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 812>;
|
|
|
#address-cells = <1>;
|
|
|
#size-cells = <0>;
|
|
@@ -214,7 +311,7 @@
|
|
|
dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
|
|
|
<&dmac1 0x29>, <&dmac1 0x2a>;
|
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 721>;
|
|
|
status = "disabled";
|
|
|
};
|
|
@@ -230,7 +327,7 @@
|
|
|
dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
|
|
|
<&dmac1 0x2d>, <&dmac1 0x2e>;
|
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 720>;
|
|
|
status = "disabled";
|
|
|
};
|
|
@@ -246,7 +343,7 @@
|
|
|
dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
|
|
|
<&dmac1 0x2b>, <&dmac1 0x2c>;
|
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 719>;
|
|
|
status = "disabled";
|
|
|
};
|
|
@@ -262,7 +359,7 @@
|
|
|
dmas = <&dmac0 0x2f>, <&dmac0 0x30>,
|
|
|
<&dmac1 0x2f>, <&dmac1 0x30>;
|
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 718>;
|
|
|
status = "disabled";
|
|
|
};
|
|
@@ -278,7 +375,7 @@
|
|
|
dmas = <&dmac0 0xfb>, <&dmac0 0xfc>,
|
|
|
<&dmac1 0xfb>, <&dmac1 0xfc>;
|
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 715>;
|
|
|
status = "disabled";
|
|
|
};
|
|
@@ -294,7 +391,7 @@
|
|
|
dmas = <&dmac0 0xfd>, <&dmac0 0xfe>,
|
|
|
<&dmac1 0xfd>, <&dmac1 0xfe>;
|
|
|
dma-names = "tx", "rx", "tx", "rx";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 714>;
|
|
|
status = "disabled";
|
|
|
};
|
|
@@ -309,7 +406,7 @@
|
|
|
interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>;
|
|
|
clocks = <&cpg CPG_MOD 408>;
|
|
|
clock-names = "clk";
|
|
|
- power-domains = <&sysc 32>;
|
|
|
+ power-domains = <&sysc R8A77470_PD_ALWAYS_ON>;
|
|
|
resets = <&cpg 408>;
|
|
|
};
|
|
|
|