From patchwork Tue Jul 3 12:34:24 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 1150811 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id EB93BDFF72 for ; Tue, 3 Jul 2012 12:42:23 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sm2Lh-0005jl-SO; Tue, 03 Jul 2012 12:36:58 +0000 Received: from mail-bk0-f49.google.com ([209.85.214.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Sm2KF-0005WQ-Av for linux-arm-kernel@lists.infradead.org; Tue, 03 Jul 2012 12:35:34 +0000 Received: by bkcji2 with SMTP id ji2so1014372bkc.36 for ; Tue, 03 Jul 2012 05:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=xNe/JD/TlhQ22DnjQ0PsMgu0nE3bs1VRE+4yWvwbbIc=; b=WN9opSku7XqNPtScVEQknlEl5m8uAk5X0/BNV0yIcgNobeJrJ1cG49V/6cOCyGpwQ4 QCybkJWj9dVhQEVlnNlx5F7//Zv2mOSv3jylTlUbnnXynZM9YLlKfsXJZSBvO04+VhHv cxpslWzRGpEHC2RhaaDNBDJpjOhJCIrWbWos1017/Z6JG4YkHfkczPE8aXfAa1cNFoCn FsqV3MXn4WaJ3pytNPbluf3kWS0nXECrtufBeBu1kIDbyuKxvctSXJgmDQlgGRm2zWtN efSon6dVCWyo683TriVI3gWaCTYQRFQqB/AZ/tL2Bv235pBQxzaw3Q3UnBUZDXodLIdF FBQg== Received: by 10.205.134.139 with SMTP id ic11mr7458599bkc.40.1341318882752; Tue, 03 Jul 2012 05:34:42 -0700 (PDT) Received: from localhost.localdomain (dslc-082-083-240-137.pools.arcor-ip.net. [82.83.240.137]) by mx.google.com with ESMTPS id t23sm9529216bks.4.2012.07.03.05.34.41 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 03 Jul 2012 05:34:41 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 1/3] ARM: dts: dove: Add devicetree descriptors Date: Tue, 3 Jul 2012 14:34:24 +0200 Message-Id: <1341318868-24567-3-git-send-email-sebastian.hesselbarth@googlemail.com> X-Mailer: git-send-email 1.7.10 In-Reply-To: <1341318868-24567-2-git-send-email-sebastian.hesselbarth@googlemail.com> References: <1341318868-24567-2-git-send-email-sebastian.hesselbarth@googlemail.com> X-Spam-Note: CRM114 invocation failed 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.8 RCVD_IN_SORBS_WEB RBL: SORBS: sender is an abusable web server [82.83.240.137 listed in dnsbl.sorbs.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.214.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (sebastian.hesselbarth[at]googlemail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: Andrew Lunn , Russell King , Jason Cooper , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This adds devicetree descriptors for Marvell Dove and currently supported boards. Signed-off-by: Sebastian Hesselbarth Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org --- arch/arm/boot/dts/dove-cm-a510.dtsi | 27 +++++++++++++++++ arch/arm/boot/dts/dove-dove-db.dtsi | 27 +++++++++++++++++ arch/arm/boot/dts/dove.dtsi | 55 +++++++++++++++++++++++++++++++++++ 4 files changed, 132 insertions(+) create mode 100644 arch/arm/boot/dts/dove-cm-a510.dtsi create mode 100644 arch/arm/boot/dts/dove-dove-db.dtsi create mode 100644 arch/arm/boot/dts/dove.dtsi diff --git a/arch/arm/boot/dts/dove-cm-a510.dtsi b/arch/arm/boot/dts/dove-cm-a510.dtsi new file mode 100644 index 0000000..5cdebbb --- /dev/null +++ b/arch/arm/boot/dts/dove-cm-a510.dtsi @@ -0,0 +1,27 @@ +/dts-v1/; + +/include/ "dove.dtsi" + +/ { + model = "Compulab CM-A510"; + compatible = "compulab,cm-a510", "mrvl,dove"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x40000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + }; + + ocp@f1000000 { + serial@12000 { + status = "ok"; + }; + + serial@12100 { + status = "ok"; + }; + }; +}; diff --git a/arch/arm/boot/dts/dove-dove-db.dtsi b/arch/arm/boot/dts/dove-dove-db.dtsi new file mode 100644 index 0000000..16c4a65 --- /dev/null +++ b/arch/arm/boot/dts/dove-dove-db.dtsi @@ -0,0 +1,27 @@ +/dts-v1/; + +/include/ "dove.dtsi" + +/ { + model = "Marvell DB-MV88AP510-BP Development Board"; + compatible = "marvell,dove-db", "mrvl,dove"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x40000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk"; + }; + + ocp@f1000000 { + serial@12000 { + status = "ok"; + }; + + serial@12100 { + status = "ok"; + }; + }; +}; diff --git a/arch/arm/boot/dts/dove.dtsi b/arch/arm/boot/dts/dove.dtsi new file mode 100644 index 0000000..3e76334 --- /dev/null +++ b/arch/arm/boot/dts/dove.dtsi @@ -0,0 +1,55 @@ +/include/ "skeleton.dtsi" + +/ { + compatible = "mrvl,dove"; + + ocp@f1000000 { + compatible = "simple-bus"; + ranges = <0 0xf1000000 0x8000000>; + #address-cells = <1>; + #size-cells = <1>; + + serial@12000 { + compatible = "ns16550a"; + reg = <0x12000 0x100>; + reg-shift = <2>; + interrupts = <7>; + clock-frequency = <166666667>; + status = "disabled"; + }; + + serial@12100 { + compatible = "ns16550a"; + reg = <0x12100 0x100>; + reg-shift = <2>; + interrupts = <8>; + clock-frequency = <166666667>; + status = "disabled"; + }; + + serial@12200 { + compatible = "ns16550a"; + reg = <0x12200 0x100>; + reg-shift = <2>; + interrupts = <9>; + clock-frequency = <166666667>; + status = "disabled"; + }; + + serial@12300 { + compatible = "ns16550a"; + reg = <0x12300 0x100>; + reg-shift = <2>; + interrupts = <10>; + clock-frequency = <166666667>; + status = "disabled"; + }; + + rtc@d8500 { + compatible = "mrvl,dove-rtc", "mrvl,orion-rtc"; + reg = <0xd8500 0x20>; + interrupts = <133>; + }; + + }; +};