diff options
author | Leela Krishna Amudala <l.krishna@samsung.com> | 2014-02-15 11:57:56 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-02-15 11:57:56 -0500 |
commit | c680036a577301615d0c5704f1578f9b75846735 (patch) | |
tree | af04021f6c6c65f5f884e870edf18c70bc0153eb | |
parent | 38dbfb59d1175ef458d006556061adeaa8751b72 (diff) |
ARM: dts: Add pmu sysreg node to exynos5250 and exynos5420
This patch adds pmusysreg node to exynos5250 and exynos5420 dtsi files to
handle PMU register accesses in a centralized way using syscon driver
Signed-off-by: Leela Krishna Amudala <l.krishna@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Acked-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r-- | Documentation/devicetree/bindings/arm/samsung/pmu.txt | 15 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos5250.dtsi | 5 | ||||
-rw-r--r-- | arch/arm/boot/dts/exynos5420.dtsi | 5 |
3 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/samsung/pmu.txt b/Documentation/devicetree/bindings/arm/samsung/pmu.txt new file mode 100644 index 000000000000..f1f155255f28 --- /dev/null +++ b/Documentation/devicetree/bindings/arm/samsung/pmu.txt | |||
@@ -0,0 +1,15 @@ | |||
1 | SAMSUNG Exynos SoC series PMU Registers | ||
2 | |||
3 | Properties: | ||
4 | - compatible : should contain two values. First value must be one from following list: | ||
5 | - "samsung,exynos5250-pmu" - for Exynos5250 SoC, | ||
6 | - "samsung,exynos5420-pmu" - for Exynos5420 SoC. | ||
7 | second value must be always "syscon". | ||
8 | |||
9 | - reg : offset and length of the register set. | ||
10 | |||
11 | Example : | ||
12 | pmu_system_controller: system-controller@10040000 { | ||
13 | compatible = "samsung,exynos5250-pmu", "syscon"; | ||
14 | reg = <0x10040000 0x5000>; | ||
15 | }; | ||
diff --git a/arch/arm/boot/dts/exynos5250.dtsi b/arch/arm/boot/dts/exynos5250.dtsi index b7dec41e32af..a55a5e872efa 100644 --- a/arch/arm/boot/dts/exynos5250.dtsi +++ b/arch/arm/boot/dts/exynos5250.dtsi | |||
@@ -167,6 +167,11 @@ | |||
167 | interrupts = <0 47 0>; | 167 | interrupts = <0 47 0>; |
168 | }; | 168 | }; |
169 | 169 | ||
170 | pmu_system_controller: system-controller@10040000 { | ||
171 | compatible = "samsung,exynos5250-pmu", "syscon"; | ||
172 | reg = <0x10040000 0x5000>; | ||
173 | }; | ||
174 | |||
170 | watchdog { | 175 | watchdog { |
171 | clocks = <&clock 336>; | 176 | clocks = <&clock 336>; |
172 | clock-names = "watchdog"; | 177 | clock-names = "watchdog"; |
diff --git a/arch/arm/boot/dts/exynos5420.dtsi b/arch/arm/boot/dts/exynos5420.dtsi index 8db792b26f79..078b6ffd0c7f 100644 --- a/arch/arm/boot/dts/exynos5420.dtsi +++ b/arch/arm/boot/dts/exynos5420.dtsi | |||
@@ -613,6 +613,11 @@ | |||
613 | samsung,power-domain = <&gsc_pd>; | 613 | samsung,power-domain = <&gsc_pd>; |
614 | }; | 614 | }; |
615 | 615 | ||
616 | pmu_system_controller: system-controller@10040000 { | ||
617 | compatible = "samsung,exynos5420-pmu", "syscon"; | ||
618 | reg = <0x10040000 0x5000>; | ||
619 | }; | ||
620 | |||
616 | tmu_cpu0: tmu@10060000 { | 621 | tmu_cpu0: tmu@10060000 { |
617 | compatible = "samsung,exynos5420-tmu"; | 622 | compatible = "samsung,exynos5420-tmu"; |
618 | reg = <0x10060000 0x100>; | 623 | reg = <0x10060000 0x100>; |