@@ -25,6 +25,25 @@
/ {
compatible = "samsung,exynos4210", "samsung,exynos4";
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cpu@900 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0x900>;
+ gic-offset = <0x0000>;
+ };
+
+ cpu@901 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0x901>;
+ gic-offset = <0x8000>;
+ };
+ };
+
aliases {
pinctrl0 = &pinctrl_0;
pinctrl1 = &pinctrl_1;
@@ -22,6 +22,25 @@
/ {
compatible = "samsung,exynos4212", "samsung,exynos4";
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cpu@a00 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0xa00>;
+ gic-offset = <0x0000>;
+ };
+
+ cpu@a01 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0xa01>;
+ gic-offset = <0x8000>;
+ };
+ };
+
combiner: interrupt-controller@10440000 {
samsung,combiner-nr = <18>;
};
@@ -22,11 +22,40 @@
/ {
compatible = "samsung,exynos4412", "samsung,exynos4";
- combiner: interrupt-controller@10440000 {
- samsung,combiner-nr = <20>;
+ cpus {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ cpu@a00 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0xa00>;
+ gic-offset = <0x0000>;
+ };
+
+ cpu@a01 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0xa01>;
+ gic-offset = <0x4000>;
+ };
+
+ cpu@a02 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0xa02>;
+ gic-offset = <0x8000>;
+ };
+
+ cpu@a03 {
+ compatible = "arm,cortex-a9";
+ device_type = "cpu";
+ reg = <0xa03>;
+ gic-offset = <0xc000>;
+ };
};
- gic: interrupt-controller@10490000 {
- cpu-offset = <0x4000>;
+ combiner: interrupt-controller@10440000 {
+ samsung,combiner-nr = <20>;
};
};
After fixing non-banked GIC support in GIC driver, CPU nodes can be safely added to Exynos4 device tree sources, along with appropriate gic-offset properties. Signed-off-by: Tomasz Figa <t.figa@samsung.com> --- arch/arm/boot/dts/exynos4210.dtsi | 19 +++++++++++++++++++ arch/arm/boot/dts/exynos4212.dtsi | 19 +++++++++++++++++++ arch/arm/boot/dts/exynos4412.dtsi | 37 +++++++++++++++++++++++++++++++++---- 3 files changed, 71 insertions(+), 4 deletions(-)