ARM: dts: Add sysreg sytem controller node to exynos5250 and exynos5420
authorVivek Gautam <gautam.vivek@samsung.com>
Wed, 21 May 2014 22:49:13 +0000 (07:49 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 21 May 2014 22:49:13 +0000 (07:49 +0900)
This patch adds sysreg-syscon node to exynos5250 and exynos5420 device
tree, to access System Register's registers using syscon driver.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
[gautam.vivek@samsung.com: Split this syreg-syscon dts entry]
[gautam.vivek@samsung.com: added similar syscon entry for exynos5420]
Signed-off-by: Vivek Gautam <gautam.vivek@samsung.com>
[vikas.sajjan@samsung.com: updated the binding document]
Signed-off-by: Vikas Sajjan <vikas.sajjan@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Documentation/devicetree/bindings/arm/samsung/sysreg.txt
arch/arm/boot/dts/exynos5250.dtsi
arch/arm/boot/dts/exynos5420.dtsi

index 0ab3251a6ec23e6853002d3a55172dac6d8c281d..4fced6e9d5e42d18a7d7f97ec78a6c5eed4b4e98 100644 (file)
@@ -1,8 +1,10 @@
 SAMSUNG S5P/Exynos SoC series System Registers (SYSREG)
 
 Properties:
- - compatible : should contain "samsung,<chip name>-sysreg", "syscon";
-   For Exynos4 SoC series it should be "samsung,exynos4-sysreg", "syscon";
+ - compatible : should contain two values. First value must be one from following list:
+               - "samsung,exynos4-sysreg" - for Exynos4 based SoCs,
+               - "samsung,exynos5-sysreg" - for Exynos5 based SoCs.
+               second value must be always "syscon".
  - reg : offset and length of the register set.
 
 Example:
@@ -10,3 +12,8 @@ Example:
                compatible = "samsung,exynos4-sysreg", "syscon";
                reg = <0x10010000 0x400>;
        };
+
+       syscon@10050000 {
+               compatible = "samsung,exynos5-sysreg", "syscon";
+               reg = <0x10050000 0x5000>;
+       };
index 68a3e6f254d9f332aece88d12d4c752f5a60ed21..8e9b9a31d9593358fb4816120d4078dd35bc9de3 100644 (file)
                reg = <0x10040000 0x5000>;
        };
 
+       sysreg_system_controller: syscon@10050000 {
+               compatible = "samsung,exynos5-sysreg", "syscon";
+               reg = <0x10050000 0x5000>;
+       };
+
        watchdog@101D0000 {
                compatible = "samsung,exynos5250-wdt";
                reg = <0x101D0000 0x100>;
index c0436b8563c36d4aceb4a32a31a818f87e1ce0ad..1debb718ecef8e2a330f090f5fa1601a4023ca4a 100644 (file)
                reg = <0x10040000 0x5000>;
        };
 
+       sysreg_system_controller: syscon@10050000 {
+               compatible = "samsung,exynos5-sysreg", "syscon";
+               reg = <0x10050000 0x5000>;
+       };
+
        tmu_cpu0: tmu@10060000 {
                compatible = "samsung,exynos5420-tmu";
                reg = <0x10060000 0x100>;