From: <akhil.goyal@freescale.com>
To: <gregkh@linuxfoundation.org>, <arnd@arndb.de>, <lars@metafoo.de>,
<robin.getz@analog.com>, <Michael.Hennerich@analog.com>,
<lars-peter.clausen@analog.com>
Cc: <linux-kernel@vger.kernel.org>, <pankaj.chauhan@freescale.com>,
Akhil Goyal <akhil.goyal@freescale.com>
Subject: [PATCH v2 4/4] BSC9131rdb/dts: Add nodes for supporting AIC
Date: Mon, 12 Aug 2013 12:43:53 +0530 [thread overview]
Message-ID: <1376291633-4682-5-git-send-email-akhil.goyal@freescale.com> (raw)
In-Reply-To: <1376291633-4682-4-git-send-email-akhil.goyal@freescale.com>
From: Akhil Goyal <akhil.goyal@freescale.com>
BSC9131 is a hetrogenous system where Antenna interface controller
(AIC) is a part of DSP subsystem. But its configuration is done from
PA side. So a DSP node is added with appropriate CCSR address visible
to PA and hence the address space for AIC will be visible to PA.
BSC9131 support 3 AIC lanes for ADI interface and 3 for MAXIM type of
interface. This patch support only ADI lanes.
Signed-off-by: Pankaj Chauhan <pankaj.chauhan@freescale.com>
Signed-off-by: Shaveta Leekha <shaveta@freescale.com>
Signed-off-by: Bhaskar Upadhaya <bhaskar.upadhaya@freescale.com>
Signed-off-by: Akhil Goyal <akhil.goyal@freescale.com>
---
arch/powerpc/boot/dts/bsc9131rdb.dts | 4 ++
arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi | 38 +++++++++++++++++++++++++
2 files changed, 42 insertions(+), 0 deletions(-)
diff --git a/arch/powerpc/boot/dts/bsc9131rdb.dts b/arch/powerpc/boot/dts/bsc9131rdb.dts
index e13d2d4..c134de7 100644
--- a/arch/powerpc/boot/dts/bsc9131rdb.dts
+++ b/arch/powerpc/boot/dts/bsc9131rdb.dts
@@ -28,6 +28,10 @@
board_soc: soc: soc@ff700000 {
ranges = <0x0 0x0 0xff700000 0x100000>;
};
+
+ dsp_soc: sc3850@ff600000 {
+ ranges = <0x0 0x0 0xff600000 0x100000>;
+ };
};
/include/ "bsc9131rdb.dtsi"
diff --git a/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi b/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi
index 5180d9d..487e949 100644
--- a/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi
+++ b/arch/powerpc/boot/dts/fsl/bsc9131si-post.dtsi
@@ -191,3 +191,41 @@ global-utilities@e0000 {
fsl,has-rstcr;
};
};
+
+&dsp_soc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ gcr@18000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "fsl,bsc9131-gcr", "fsl,bsc9132-gcr";
+ reg = <0x18000 0x200>;
+ };
+ aic@50000 {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "fsl,bsc9131-aic", "fsl,bsc9132-aic";
+ reg = <0x50000 0x200>;
+ interrupts = <49 2 0 0 53 2 0 0>;
+ lane0: aiclane@200 {
+ reg = <0x200 0x200>;
+ lane_id = <0>;
+ interrupts = <45 2 0 0>;
+ };
+
+ lane1: aiclane@400 {
+ reg = <0x400 0x200>;
+ lane_id = <1>;
+ interrupts = <46 2 0 0>;
+ };
+
+ lane2: aiclane@600 {
+ reg = <0x600 0x200>;
+ lane_id = <2>;
+ interrupts = <47 2 0 0>;
+ };
+ };
+};
+
+
--
1.6.3.1
next prev parent reply other threads:[~2013-08-12 7:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-12 7:13 [PATCH v2 0/4][Resend] Radio device framework akhil.goyal
2013-08-12 7:13 ` [PATCH v2 1/4] drivers/misc: Support for RF interface " akhil.goyal
2013-08-12 7:13 ` [PATCH v2 2/4] drivers/misc/rf: AIC: Freescale Antenna Interface controller driver akhil.goyal
2013-08-12 7:13 ` [PATCH v2 3/4] binding: Add device tree bindings for freescale AIC akhil.goyal
2013-08-12 7:13 ` akhil.goyal [this message]
2013-08-12 22:53 ` [PATCH v2 1/4] drivers/misc: Support for RF interface device framework Greg KH
2013-08-14 5:59 ` Akhil Goyal
-- strict thread matches above, loose matches on Subject: below --
2013-07-08 9:49 [PATCH v2 0/4] Radio " akhil.goyal
2013-07-08 9:49 ` [PATCH v2 1/4] drivers/misc: Support for RF interface " akhil.goyal
2013-07-08 9:50 ` [PATCH v2 2/4] drivers/misc/rf: AIC: Freescale Antenna Interface controller driver akhil.goyal
2013-07-08 9:50 ` [PATCH v2 3/4] binding: Add device tree bindings for freescale AIC akhil.goyal
2013-07-08 9:50 ` [PATCH v2 4/4] BSC9131rdb/dts: Add nodes for supporting AIC akhil.goyal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1376291633-4682-5-git-send-email-akhil.goyal@freescale.com \
--to=akhil.goyal@freescale.com \
--cc=Michael.Hennerich@analog.com \
--cc=arnd@arndb.de \
--cc=gregkh@linuxfoundation.org \
--cc=lars-peter.clausen@analog.com \
--cc=lars@metafoo.de \
--cc=linux-kernel@vger.kernel.org \
--cc=pankaj.chauhan@freescale.com \
--cc=robin.getz@analog.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).