aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPratyush Anand <pratyush.anand@st.com>2014-02-11 01:40:47 -0500
committerViresh Kumar <viresh.kumar@linaro.org>2014-07-14 01:34:42 -0400
commit23b7ad23cb95db188403677c51c997338fb9effd (patch)
treeea145481d44f2d9df2100ed11aae7ee6cc5f278a
parent36c5c90d4c24d692fe158f5bfe4c97f28fd6ebba (diff)
ARM: SPEAr13xx: Add bindings and dt node for misc block
SPEAr SOCs have some miscellaneous registers which are used to configure peripheral. This patch adds dt node and binding information for this block. Acked-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Pratyush Anand <pratyush.anand@st.com> Cc: devicetree@vger.kernel.org [viresh: fixed logs/cclist] Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
-rw-r--r--Documentation/devicetree/bindings/arm/spear-misc.txt9
-rw-r--r--arch/arm/boot/dts/spear13xx.dtsi5
-rw-r--r--arch/arm/mach-spear/Kconfig1
3 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/arm/spear-misc.txt b/Documentation/devicetree/bindings/arm/spear-misc.txt
new file mode 100644
index 000000000000..cf649827ffcd
--- /dev/null
+++ b/Documentation/devicetree/bindings/arm/spear-misc.txt
@@ -0,0 +1,9 @@
1SPEAr Misc configuration
2===========================
3SPEAr SOCs have some miscellaneous registers which are used to configure
4few properties of different peripheral controllers.
5
6misc node required properties:
7
8- compatible Should be "st,spear1340-misc", "syscon".
9- reg: Address range of misc space upto 8K
diff --git a/arch/arm/boot/dts/spear13xx.dtsi b/arch/arm/boot/dts/spear13xx.dtsi
index 4382547df58a..3a72508c578f 100644
--- a/arch/arm/boot/dts/spear13xx.dtsi
+++ b/arch/arm/boot/dts/spear13xx.dtsi
@@ -220,6 +220,11 @@
220 0xd8000000 0xd8000000 0x01000000 220 0xd8000000 0xd8000000 0x01000000
221 0xe0000000 0xe0000000 0x10000000>; 221 0xe0000000 0xe0000000 0x10000000>;
222 222
223 misc: syscon@e0700000 {
224 compatible = "st,spear1340-misc", "syscon";
225 reg = <0xe0700000 0x1000>;
226 };
227
223 gpio0: gpio@e0600000 { 228 gpio0: gpio@e0600000 {
224 compatible = "arm,pl061", "arm,primecell"; 229 compatible = "arm,pl061", "arm,primecell";
225 reg = <0xe0600000 0x1000>; 230 reg = <0xe0600000 0x1000>;
diff --git a/arch/arm/mach-spear/Kconfig b/arch/arm/mach-spear/Kconfig
index 90df2022276a..ba57677cee28 100644
--- a/arch/arm/mach-spear/Kconfig
+++ b/arch/arm/mach-spear/Kconfig
@@ -19,6 +19,7 @@ config ARCH_SPEAR13XX
19 select HAVE_ARM_SCU if SMP 19 select HAVE_ARM_SCU if SMP
20 select HAVE_ARM_TWD if SMP 20 select HAVE_ARM_TWD if SMP
21 select PINCTRL 21 select PINCTRL
22 select MFD_SYSCON
22 help 23 help
23 Supports for ARM's SPEAR13XX family 24 Supports for ARM's SPEAR13XX family
24 25