From patchwork Fri Mar 29 09:40:46 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean-Francois Moine X-Patchwork-Id: 2364821 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id A9A4F3FD8C for ; Fri, 29 Mar 2013 09:43:17 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ULVnh-0001Q0-7w; Fri, 29 Mar 2013 09:40:45 +0000 Received: from smtp1-g21.free.fr ([2a01:e0c:1:1599::10]) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1ULVnb-0001OT-N9 for linux-arm-kernel@lists.infradead.org; Fri, 29 Mar 2013 09:40:41 +0000 Received: from armhf (unknown [IPv6:2a01:e35:2f5c:9de0:212:bfff:fe1e:9ce4]) by smtp1-g21.free.fr (Postfix) with ESMTP id 90A459401B1; Fri, 29 Mar 2013 10:40:28 +0100 (CET) Date: Fri, 29 Mar 2013 10:40:46 +0100 From: Jean-Francois Moine To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4] ARM: dove: add more hardware description in the DT Message-ID: <20130329104046.3870e77f@armhf> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.10; arm-unknown-linux-gnueabihf) Mime-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130329_054040_390042_AF4E44CE X-CRM114-Status: GOOD ( 10.43 ) X-Spam-Score: -1.9 (-) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-1.9 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (moinejf[at]free.fr) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] Cc: Andrew Lunn , Russell King , Jason Cooper , Sebastian Hesselbarth X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org The 88AP510 chip (Marvell Dove) contains a LCD controller, a display controller and two audio controllers. Signed-off-by: Jean-Francois Moine --- 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@820000 { + compatible = "marvell,dove-lcd"; + reg = <0x820000 0x1c8>; + interrupts = <47>; + status = "disabled"; + }; + + lcd1: lcd-controller@810000 { + compatible = "marvell,dove-lcd"; + reg = <0x810000 0x1c8>; + interrupts = <46>; + status = "disabled"; + }; + + i2s0: audio-controller@b0000 { + compatible = "marvell,kirkwood-i2s"; + reg = <0xb0000 0x2210>; + interrupts = <19>, <20>; + clocks = <&gate_clk 12>; + status = "disabled"; + }; + + i2s1: audio-controller@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@830000 { + compatible = "marvell,dove-dcon"; + reg = <0x830000 0xc4>, <0x831000 0x8c>; + interrupts = <45>; + status = "disabled"; + }; }; };