linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: moinejf@free.fr (Jean-Francois Moine)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v4] ARM: dove: add more hardware description in the DT
Date: Fri, 29 Mar 2013 10:40:46 +0100	[thread overview]
Message-ID: <20130329104046.3870e77f@armhf> (raw)

The 88AP510 chip (Marvell Dove) contains a LCD controller, a display
controller and two audio controllers.

Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
---
v4 from Andrew Lunn 
   - i2s register blocks reduced to 0x2210 bytes
v3 from Sebastian Hesselbarth
   - dcon register block ends at 0xc4
v2 from Sebastian Hesselbarth
   - better names for the devices
   - fix bad i2s interrupt controller
   - 2 irq's by audio controller
   - display controller added
---
 arch/arm/boot/dts/dove.dtsi |   38 +++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi
index f7509ca..d75301c 100644
--- a/arch/arm/boot/dts/dove.dtsi
+++ b/arch/arm/boot/dts/dove.dtsi
@@ -253,5 +253,43 @@
 				dmacap,xor;
 			};
 		};
+
+		lcd0: lcd-controller at 820000 {
+			compatible = "marvell,dove-lcd";
+			reg = <0x820000 0x1c8>;
+			interrupts = <47>;
+			status = "disabled";
+		};
+
+		lcd1: lcd-controller at 810000 {
+			compatible = "marvell,dove-lcd";
+			reg = <0x810000 0x1c8>;
+			interrupts = <46>;
+			status = "disabled";
+		};
+
+		i2s0: audio-controller at b0000 {
+			compatible = "marvell,kirkwood-i2s";
+			reg = <0xb0000 0x2210>;
+			interrupts = <19>, <20>;
+			clocks = <&gate_clk 12>;
+			status = "disabled";
+		};
+
+		i2s1: audio-controller at b4000 {
+			compatible = "marvell,kirkwood-i2s";
+			reg = <0xb4000 0x2210>;
+			interrupts = <21>, <22>;
+			clocks = <&gate_clk 13>;
+			status = "disabled";
+		};
+
+		/* display controller and image rotation engine */
+		dcon: display-controller at 830000 {
+			compatible = "marvell,dove-dcon";
+			reg = <0x830000 0xc4>, <0x831000 0x8c>;
+			interrupts = <45>;
+			status = "disabled";
+		};
 	};
 };
-- 
1.7.10.4

             reply	other threads:[~2013-03-29  9:40 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-29  9:40 Jean-Francois Moine [this message]
2013-03-31  0:30 ` [PATCH v4] ARM: dove: add more hardware description in the DT Jason Cooper

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=20130329104046.3870e77f@armhf \
    --to=moinejf@free.fr \
    --cc=linux-arm-kernel@lists.infradead.org \
    /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).