]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: clean up arm-pmu node for exynos4
authorChanho Park <chanho61.park@samsung.com>
Fri, 18 Jul 2014 18:11:48 +0000 (03:11 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Fri, 18 Jul 2014 18:11:48 +0000 (03:11 +0900)
This patch cleans a arm-pmu node up for exynos4. Only exynos4412 series
boards have four pmu interrupts. Rest of exynos4 boards, except 4412, have only
two pmu interrupts. Thus, we can define two interrupts in the
exynos4.dtsi and extends the interrupts only exynos4412.dtsi.

Cc: Chanwoo Choi <cw00.choi@samsung.com>
Cc: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Tested-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/boot/dts/exynos4.dtsi
arch/arm/boot/dts/exynos4210.dtsi
arch/arm/boot/dts/exynos4412.dtsi
arch/arm/boot/dts/exynos4x12.dtsi

index c912844416949f3fe7b30ccf14434ea7346e55c5..ec78bea0462093d220ee0f1792e7539355c5cecf 100644 (file)
@@ -123,6 +123,12 @@ combiner: interrupt-controller@10440000 {
                reg = <0x10440000 0x1000>;
        };
 
+       pmu {
+               compatible = "arm,cortex-a9-pmu";
+               interrupt-parent = <&combiner>;
+               interrupts = <2 2>, <3 2>;
+       };
+
        sys_reg: syscon@10010000 {
                compatible = "samsung,exynos4-sysreg", "syscon";
                reg = <0x10010000 0x400>;
index ee3001f38821a7d9ad32b93be4ad414a4f3070e6..a4f28e8a6f8784567d7e080b622310960184e30e 100644 (file)
@@ -93,12 +93,6 @@ clock: clock-controller@10030000 {
                #clock-cells = <1>;
        };
 
-       pmu {
-               compatible = "arm,cortex-a9-pmu";
-               interrupt-parent = <&combiner>;
-               interrupts = <2 2>, <3 2>;
-       };
-
        pinctrl_0: pinctrl@11400000 {
                compatible = "samsung,exynos4210-pinctrl";
                reg = <0x11400000 0x1000>;
index c42a3e196cd5db7fdac7dd843e15c1f884b0e0ce..d8bc059e172ff1562ea4525cedc2ad14948a4bad 100644 (file)
@@ -26,6 +26,10 @@ combiner: interrupt-controller@10440000 {
                samsung,combiner-nr = <20>;
        };
 
+       pmu {
+               interrupts = <2 2>, <3 2>, <18 2>, <19 2>;
+       };
+
        gic: interrupt-controller@10490000 {
                cpu-offset = <0x4000>;
        };
index c5a943df1cd73a5c0c68607537135769b8375240..95cdfb9e7d59d86fd3b4474c7653c1cee8f391d3 100644 (file)
@@ -31,12 +31,6 @@ aliases {
                mshc0 = &mshc_0;
        };
 
-       pmu {
-               compatible = "arm,cortex-a9-pmu";
-               interrupt-parent = <&combiner>;
-               interrupts = <2 2>, <3 2>, <18 2>, <19 2>;
-       };
-
        sysram@02020000 {
                compatible = "mmio-sram";
                reg = <0x02020000 0x40000>;