Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c680036a authored by Leela Krishna Amudala's avatar Leela Krishna Amudala Committed by Kukjin Kim
Browse files

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: default avatarLeela Krishna Amudala <l.krishna@samsung.com>
Reviewed-by: default avatarTomasz Figa <t.figa@samsung.com>
Reviewed-by: default avatarDoug Anderson <dianders@chromium.org>
Tested-by: default avatarDoug Anderson <dianders@chromium.org>
Acked-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarKukjin Kim <kgene.kim@samsung.com>
parent 38dbfb59
Loading
Loading
Loading
Loading
+15 −0
Original line number Original line Diff line number Diff line
SAMSUNG Exynos SoC series PMU Registers

Properties:
 - compatible : should contain two values. First value must be one from following list:
		   - "samsung,exynos5250-pmu" - for Exynos5250 SoC,
		   - "samsung,exynos5420-pmu" - for Exynos5420 SoC.
		second value must be always "syscon".

 - reg : offset and length of the register set.

Example :
pmu_system_controller: system-controller@10040000 {
	compatible = "samsung,exynos5250-pmu", "syscon";
	reg = <0x10040000 0x5000>;
};
+5 −0
Original line number Original line Diff line number Diff line
@@ -167,6 +167,11 @@
		interrupts = <0 47 0>;
		interrupts = <0 47 0>;
	};
	};


	pmu_system_controller: system-controller@10040000 {
		compatible = "samsung,exynos5250-pmu", "syscon";
		reg = <0x10040000 0x5000>;
	};

	watchdog {
	watchdog {
		clocks = <&clock 336>;
		clocks = <&clock 336>;
		clock-names = "watchdog";
		clock-names = "watchdog";
+5 −0
Original line number Original line Diff line number Diff line
@@ -613,6 +613,11 @@
		samsung,power-domain = <&gsc_pd>;
		samsung,power-domain = <&gsc_pd>;
	};
	};


	pmu_system_controller: system-controller@10040000 {
		compatible = "samsung,exynos5420-pmu", "syscon";
		reg = <0x10040000 0x5000>;
	};

	tmu_cpu0: tmu@10060000 {
	tmu_cpu0: tmu@10060000 {
		compatible = "samsung,exynos5420-tmu";
		compatible = "samsung,exynos5420-tmu";
		reg = <0x10060000 0x100>;
		reg = <0x10060000 0x100>;