ARM: dts: Move common dt data for interrupt combiner controller for exynos4x12
authorChanwoo Choi <cw00.choi@samsung.com>
Mon, 17 Mar 2014 21:25:59 +0000 (06:25 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Mon, 17 Mar 2014 21:25:59 +0000 (06:25 +0900)
This patch move common dt data of interrupt combiner controller to
exynos4x12.dtsi. Each Exynos4x12 SoC has different number of interrput combiner
as following:
- Exynos4212 : interrput combiner 18(0 ~ 17)
- Exynos4412 : interrput combiner 20(0 ~ 19)

The exynos combiner driver initialize interrupt according to specific number
of interrput combiner.
- samsung,combiner-nr : The number of interrput combiners supported.

Also,
This patch arrange again the dt data according to register address
in exynos4212/exynos4412.dtsi.

Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4212.dtsi
arch/arm/boot/dts/exynos4412.dtsi
arch/arm/boot/dts/exynos4x12.dtsi

index 94a43f9a05e2684a4fc311404b4c46d72afe4e4e..ceefc711793cac153511b37b524aebcbb5305d4f 100644 (file)
 / {
        compatible = "samsung,exynos4212";
 
-       gic: interrupt-controller@10490000 {
-               cpu-offset = <0x8000>;
+       combiner: interrupt-controller@10440000 {
+               samsung,combiner-nr = <18>;
        };
 
-       interrupt-controller@10440000 {
-               samsung,combiner-nr = <18>;
-               interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
-                            <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
-                            <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
-                            <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
-                            <0 107 0>, <0 108 0>;
+       gic: interrupt-controller@10490000 {
+               cpu-offset = <0x8000>;
        };
 };
index 87b339c739de708beaf5d2ed818e3a424c8fcc7a..a40b6e20e92f111b50e2ddd6b4771ef25bf61ce9 100644 (file)
 / {
        compatible = "samsung,exynos4412";
 
-       gic: interrupt-controller@10490000 {
-               cpu-offset = <0x4000>;
-       };
-
-       interrupt-controller@10440000 {
+       combiner: interrupt-controller@10440000 {
                samsung,combiner-nr = <20>;
-               interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
-                            <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
-                            <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
-                            <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
-                            <0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>;
        };
 
+       gic: interrupt-controller@10490000 {
+               cpu-offset = <0x4000>;
+       };
 };
index a1e76ec60e0aae5dbbcc5ea75a12fdeeda54d2a7..c4a9306f8529ab84ce3836781d1795b83c735e15 100644 (file)
                };
        };
 
+       combiner: interrupt-controller@10440000 {
+               interrupts = <0 0 0>, <0 1 0>, <0 2 0>, <0 3 0>,
+                            <0 4 0>, <0 5 0>, <0 6 0>, <0 7 0>,
+                            <0 8 0>, <0 9 0>, <0 10 0>, <0 11 0>,
+                            <0 12 0>, <0 13 0>, <0 14 0>, <0 15 0>,
+                            <0 107 0>, <0 108 0>, <0 48 0>, <0 42 0>;
+       };
+
        pinctrl_0: pinctrl@11400000 {
                compatible = "samsung,exynos4x12-pinctrl";
                reg = <0x11400000 0x1000>;