From patchwork Sun Aug 5 14:46:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 1274981 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 B1CF03FD2B for ; Sun, 5 Aug 2012 14:49:21 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1Sy26J-0006d8-Fh; Sun, 05 Aug 2012 14:46:39 +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 1Sy26A-0006b2-GJ for linux-arm-kernel@lists.infradead.org; Sun, 05 Aug 2012 14:46:31 +0000 Received: by mail-bk0-f49.google.com with SMTP id ji2so872226bkc.36 for ; Sun, 05 Aug 2012 07:46:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=ukajYvEG20N/yT1Z7E3GRB7AItgI37eQTFheYQy7+kA=; b=v2YPgqQ33qkuD+LkaFrpEo94LL5TdYKZVgxCkugStAsSl3aaTKIOuyLPyvLBarlk1A AYnvpS5UE/mgChWC0aO4Ze9mwpphYFe6H1d4ljo8276ZsCcpEMHoqODBT850BMLKdzUJ KUtSBTp7YoWFo2gBV9F2KXlpgrqE25Wq6YzcGlRa6tO0y36fnpxYBfJ7LDFFMpeiR11R iCDvSeRtu6wf41ZPZZJ9wsKq6f4DyVkWfpG6xGZZMndE+goBxtRv2Z4YzTVIvn7E5+/v ebFsNm69A8ap2/oLNu42XT0MQFVyLVIjlRpuxbNqbf+Rk2Y/Ri0RfcVqSH9aSQsIjP2Z 5baw== Received: by 10.204.156.69 with SMTP id v5mr2935801bkw.97.1344177990069; Sun, 05 Aug 2012 07:46:30 -0700 (PDT) Received: from localhost.localdomain (dslc-082-083-232-154.pools.arcor-ip.net. [82.83.232.154]) by mx.google.com with ESMTPS id hg13sm6305346bkc.7.2012.08.05.07.46.27 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 05 Aug 2012 07:46:28 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 2/2] ARM: kirkwood: DT descriptor for Seagate FreeAgent Dockstar Date: Sun, 5 Aug 2012 16:46:13 +0200 Message-Id: <1344177973-6505-2-git-send-email-sebastian.hesselbarth@googlemail.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1344177973-6505-1-git-send-email-sebastian.hesselbarth@googlemail.com> References: <1344177973-6505-1-git-send-email-sebastian.hesselbarth@googlemail.com> X-Spam-Note: CRM114 invocation failed X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -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]gmail.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, linux-kernel@vger.kernel.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 the corresponding device tree descriptor for the Seagate FreeAgent Dockstar based on Kirkwood DT. Please note that this patch requires the mach-kirkwood Makefile.boot typo fix to fully apply. Signed-off-by: Sebastian Hesselbarth Cc: Jason Cooper Cc: Andrew Lunn Cc: Russell King Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- arch/arm/boot/dts/kirkwood-dockstar.dts | 57 +++++++++++++++++++++++++++++++ arch/arm/mach-kirkwood/Makefile.boot | 1 + 2 files changed, 58 insertions(+) create mode 100644 arch/arm/boot/dts/kirkwood-dockstar.dts diff --git a/arch/arm/boot/dts/kirkwood-dockstar.dts b/arch/arm/boot/dts/kirkwood-dockstar.dts new file mode 100644 index 0000000..08a5824 --- /dev/null +++ b/arch/arm/boot/dts/kirkwood-dockstar.dts @@ -0,0 +1,57 @@ +/dts-v1/; + +/include/ "kirkwood.dtsi" + +/ { + model = "Seagate FreeAgent Dockstar"; + compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood"; + + memory { + device_type = "memory"; + reg = <0x00000000 0x8000000>; + }; + + chosen { + bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10"; + }; + + ocp@f1000000 { + serial@12000 { + clock-frequency = <200000000>; + status = "ok"; + }; + + nand@3000000 { + status = "okay"; + + partition@0 { + label = "u-boot"; + reg = <0x0000000 0x100000>; + read-only; + }; + + partition@100000 { + label = "uImage"; + reg = <0x0100000 0x400000>; + }; + + partition@500000 { + label = "data"; + reg = <0x0500000 0xfb00000>; + }; + }; + }; + gpio-leds { + compatible = "gpio-leds"; + + health { + label = "status:green:health"; + gpios = <&gpio1 14 1>; + linux,default-trigger = "default-on"; + }; + fault { + label = "status:orange:fault"; + gpios = <&gpio1 15 1>; + }; + }; +}; diff --git a/arch/arm/mach-kirkwood/Makefile.boot b/arch/arm/mach-kirkwood/Makefile.boot index a571755..2c2edfb 100644 --- a/arch/arm/mach-kirkwood/Makefile.boot +++ b/arch/arm/mach-kirkwood/Makefile.boot @@ -11,3 +11,4 @@ dtb-$(CONFIG_MACH_TS219_DT) += kirkwood-qnap-ts219.dtb dtb-$(CONFIG_MACH_GOFLEXNET_DT) += kirkwood-goflexnet.dtb dtb-$(CONFIG_MACH_LSXL_DT) += kirkwood-lschlv2.dtb dtb-$(CONFIG_MACH_LSXL_DT) += kirkwood-lsxhl.dtb +dtb-$(CONFIG_MACH_DOCKSTAR_DT) += kirkwood-dockstar.dtb