From patchwork Mon Sep 23 15:14:44 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matt Porter X-Patchwork-Id: 2928801 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id D231D9F288 for ; Mon, 23 Sep 2013 15:15:28 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 18E1420362 for ; Mon, 23 Sep 2013 15:15:24 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 66A5820142 for ; Mon, 23 Sep 2013 15:15:19 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VO7r2-00060b-3K; Mon, 23 Sep 2013 15:15:16 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VO7qz-0001bQ-KH; Mon, 23 Sep 2013 15:15:13 +0000 Received: from mail-ie0-x235.google.com ([2607:f8b0:4001:c03::235]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VO7qw-0001Zw-QP for linux-arm-kernel@lists.infradead.org; Mon, 23 Sep 2013 15:15:11 +0000 Received: by mail-ie0-f181.google.com with SMTP id tp5so6681511ieb.40 for ; Mon, 23 Sep 2013 08:14:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=qJcQ/FrVwUGIw34BPRbkiZfsh6fvQOPAmov8i7rfBw0=; b=P+/ZLVOfnT7CpPhP0n1BTqhhEoSQBZzCTOzOp/HQoWEfQCcoFL184puEkH6rjd6N9n ZCLJ5o3k1S1VsGk129RjjKxM51ZIjrcm2SDHN1SnFB1PUD3fy/yDcxSXbZkk4hn/WE74 C/325VMm42pCC0wCBwpqPgObapt2aDgDgOanqqXM8hOtTpeqfgQZ3Ss1rrFX/JnS85Oo 6SNRRF58kV3fkISAQKJAuB9W5+3L5KvDgP7A76SFupc2XoWRrCyIr9i4j+gE79Nd2h3d S1WmWxVsGSSR7kdvexgidXW6Gi0V98DEh5VvV9VK0hvCFnZ1sD+liGuwML5GwVbo6uoP reXA== X-Received: by 10.42.82.196 with SMTP id e4mr773033icl.58.1379949288869; Mon, 23 Sep 2013 08:14:48 -0700 (PDT) Received: from beef.ohporter.com (cpe-98-27-254-98.neo.res.rr.com. [98.27.254.98]) by mx.google.com with ESMTPSA id yt10sm19138831igb.9.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Sep 2013 08:14:48 -0700 (PDT) From: Matt Porter To: Shawn Guo , Pawel Moll , Rob Herring , Mark Rutland , Ian Campbell Subject: [PATCH v2] ARM: dts: add initial VF610 Cosmic/Cosmic+ board support Date: Mon, 23 Sep 2013 11:14:44 -0400 Message-Id: <1379949284-19936-1-git-send-email-matt.porter@linaro.org> X-Mailer: git-send-email 1.8.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130923_111510_884796_B170D547 X-CRM114-Status: GOOD ( 14.49 ) X-Spam-Score: -1.9 (-) Cc: Devicetree List , Linux Kernel Mailing List , Linux ARM Kernel List , Linaro Patches 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: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Add initial PHYTEC VF610 Cosmic/Cosmic+ board support with UART and FEC enabled. Signed-off-by: Matt Porter --- Changes since v1: - Add #clocks to the enet clock to comply with fixed-clock binding - Peripheral nodes in alphabetical order arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/vf610-cosmic.dts | 47 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 arch/arm/boot/dts/vf610-cosmic.dts diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile index cc0f1fb..b0d6156 100644 --- a/arch/arm/boot/dts/Makefile +++ b/arch/arm/boot/dts/Makefile @@ -142,6 +142,7 @@ dtb-$(CONFIG_ARCH_MXC) += \ imx6q-sbc6x.dtb \ imx6q-wandboard.dtb \ imx6sl-evk.dtb \ + vf610-cosmic.dtb \ vf610-twr.dtb dtb-$(CONFIG_ARCH_MXS) += imx23-evk.dtb \ imx23-olinuxino.dtb \ diff --git a/arch/arm/boot/dts/vf610-cosmic.dts b/arch/arm/boot/dts/vf610-cosmic.dts new file mode 100644 index 0000000..c42e4f9 --- /dev/null +++ b/arch/arm/boot/dts/vf610-cosmic.dts @@ -0,0 +1,47 @@ +/* + * Copyright 2013 Freescale Semiconductor, Inc. + * Copyright 2013 Linaro Limited + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + */ + +/dts-v1/; +#include "vf610.dtsi" + +/ { + model = "PHYTEC Cosmic/Cosmic+ Board"; + compatible = "phytec,vf610-cosmic", "fsl,vf610"; + + chosen { + bootargs = "console=ttyLP1,115200"; + }; + + memory { + reg = <0x80000000 0x10000000>; + }; + + clocks { + enet_ext { + compatible = "fixed-clock"; + #clock-cells = <0>; + clock-frequency = <50000000>; + }; + }; + +}; + +&fec1 { + phy-mode = "rmii"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_fec1_1>; + status = "okay"; +}; + +&uart1 { + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_uart1_1>; + status = "okay"; +};