summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/spear1310.dtsi
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2012-09-03 06:16:58 (GMT)
committerViresh Kumar <viresh.kumar@linaro.org>2012-11-26 10:21:21 (GMT)
commit7cef07d5cd25b1286376d1e8948f75b89d34a37e (patch)
tree21425fe453eba3cc5e1f10f4bca26fab25167175 /arch/arm/boot/dts/spear1310.dtsi
parent53d74fd79db19aae506de892273198b160c2ee95 (diff)
downloadlinux-7cef07d5cd25b1286376d1e8948f75b89d34a37e.tar.xz
ARM: SPEAr13xx: DT: Add spics gpio controller nodes
SPEAr platform provides a provision to control chipselects of ARM PL022 Prime Cell spi controller through its system registers, which otherwise remains under PL022 control which some protocols do not want. This patch adds spics controller nodes in device tree for various SPEAr13xx SoCs. Cc: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Reviewed-by: Vipin Kumar <vipin.kumar@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/spear1310.dtsi')
-rw-r--r--arch/arm/boot/dts/spear1310.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/spear1310.dtsi b/arch/arm/boot/dts/spear1310.dtsi
index 7cd25eb..f489f64 100644
--- a/arch/arm/boot/dts/spear1310.dtsi
+++ b/arch/arm/boot/dts/spear1310.dtsi
@@ -17,6 +17,18 @@
compatible = "st,spear1310";
ahb {
+ spics: spics@e0700000{
+ compatible = "st,spear-spics-gpio";
+ reg = <0xe0700000 0x1000>;
+ st-spics,peripcfg-reg = <0x3b0>;
+ st-spics,sw-enable-bit = <12>;
+ st-spics,cs-value-bit = <11>;
+ st-spics,cs-enable-mask = <3>;
+ st-spics,cs-enable-shift = <8>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+
ahci@b1000000 {
compatible = "snps,spear-ahci";
reg = <0xb1000000 0x10000>;