]> git.karo-electronics.de Git - linux-beck.git/commitdiff
dt-bindings: arm: Hi6220: add doc for SRAM controller
authorLeo Yan <leo.yan@linaro.org>
Tue, 4 Aug 2015 07:27:26 +0000 (15:27 +0800)
committerMichael Turquette <mturquette@baylibre.com>
Mon, 24 Aug 2015 23:49:09 +0000 (16:49 -0700)
Document "hisilicon,hi6220-sramctrl" for SRAM controller.

Signed-off-by: Leo Yan <leo.yan@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Documentation/devicetree/bindings/arm/hisilicon/hisilicon.txt

index c431c67524d610bed3103dcce5434aff78b78e91..c733e28e18e5896cb6fa5ba4ff988a82c225780c 100644 (file)
@@ -127,6 +127,24 @@ Example:
                #clock-cells = <1>;
        };
 
+
+Hisilicon Hi6220 SRAM controller
+
+Required properties:
+- compatible : "hisilicon,hi6220-sramctrl", "syscon"
+- reg : Register address and size
+
+Hisilicon's SoCs use sram for multiple purpose; on Hi6220 there have several
+SRAM banks for power management, modem, security, etc. Further, use "syscon"
+managing the common sram which can be shared by multiple modules.
+
+Example:
+       /*for Hi6220*/
+       sram: sram@fff80000 {
+               compatible = "hisilicon,hi6220-sramctrl", "syscon";
+               reg = <0x0 0xfff80000 0x0 0x12000>;
+       };
+
 -----------------------------------------------------------------------
 Hisilicon HiP01 system controller