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: 20531 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f72.google.com (mail-qa0-f72.google.com [209.85.216.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 0B5ED246ED for ; Mon, 23 Sep 2013 15:14:54 +0000 (UTC) Received: by mail-qa0-f72.google.com with SMTP id j7sf2405705qaq.11 for ; Mon, 23 Sep 2013 08:14:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:sender:from:to:cc :subject:date:message-id:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=qJcQ/FrVwUGIw34BPRbkiZfsh6fvQOPAmov8i7rfBw0=; b=HRrz/JOqCORbuhsxpDzxYwcvt4PDARpJmIklkbQ1yVP4uDArmP35iMcFADxn/9+FfV a+8hdZV24P4YyhSr4PZP6y+omcXMvE2najHCoFj7mDtuTf1mqlwi9xqRhabvnwMnkzqS NtkG4mhbj7/YfEaq7BLB3ENcmgWStgSrtkPkYhAPTynGXV78vhiSXZEW82CSrBOTL1jG nsO17nvQkOjWHBW06Dv64LFrfAo1CCOekDIa45MPn5CfStrjBLgmENTBL6T5xNwQ082F Y6TJdpMU0BwMeQCG4PpwvEtY+VwKFfNb6dAg2HeCyUKNh8KcEqSYkVbOGkv2ovljtsTG h5Hw== X-Gm-Message-State: ALoCoQkX35ipp4hnswdPlSt9xTG1opOFEM3c83bu30pqZfdSZ6/SRNIDuBgRpq6rQ8jehYCbJDfh X-Received: by 10.236.94.39 with SMTP id m27mr308335yhf.54.1379949293001; Mon, 23 Sep 2013 08:14:53 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.39.163 with SMTP id q3ls1219482qek.31.gmail; Mon, 23 Sep 2013 08:14:52 -0700 (PDT) X-Received: by 10.52.100.202 with SMTP id fa10mr19043299vdb.0.1379949292744; Mon, 23 Sep 2013 08:14:52 -0700 (PDT) Received: from mail-vb0-x234.google.com (mail-vb0-x234.google.com [2607:f8b0:400c:c02::234]) by mx.google.com with ESMTPS id 6si6910155vei.80.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Sep 2013 08:14:52 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::234; Received: by mail-vb0-f52.google.com with SMTP id f12so2345643vbg.11 for ; Mon, 23 Sep 2013 08:14:52 -0700 (PDT) X-Received: by 10.58.133.66 with SMTP id pa2mr7795893veb.18.1379949292636; Mon, 23 Sep 2013 08:14:52 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp170792vcz; Mon, 23 Sep 2013 08:14:50 -0700 (PDT) X-Received: by 10.182.246.39 with SMTP id xt7mr20156776obc.16.1379949290268; Mon, 23 Sep 2013 08:14:50 -0700 (PDT) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [2607:f8b0:4001:c03::22b]) by mx.google.com with ESMTPS id cx4si12762969oeb.84.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Sep 2013 08:14:50 -0700 (PDT) Received-SPF: pass (google.com: domain of ohiomdp@gmail.com designates 2607:f8b0:4001:c03::22b as permitted sender) client-ip=2607:f8b0:4001:c03::22b; Received: by mail-ie0-f171.google.com with SMTP id at1so6949002iec.30 for ; Mon, 23 Sep 2013 08:14:49 -0700 (PDT) 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) Sender: Matt Porter From: Matt Porter To: Shawn Guo , Pawel Moll , Rob Herring , Mark Rutland , Ian Campbell Cc: Devicetree List , Linux ARM Kernel List , Linux Kernel Mailing List , Linaro Patches 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-Original-Sender: matt.porter@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::234 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org; dkim=pass header.i=@gmail.com Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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"; +};