From patchwork Fri Dec 12 20:01:37 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Niklas_S=C3=B6derlund?= X-Patchwork-Id: 5485411 X-Patchwork-Delegate: horms@verge.net.au Return-Path: X-Original-To: patchwork-linux-sh@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 862CE9F1D4 for ; Fri, 12 Dec 2014 20:10:00 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ACF8D201F5 for ; Fri, 12 Dec 2014 20:09:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2C57C2011D for ; Fri, 12 Dec 2014 20:09:58 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759315AbaLLUJ5 (ORCPT ); Fri, 12 Dec 2014 15:09:57 -0500 Received: from smtp-3.sys.kth.se ([130.237.48.192]:60852 "EHLO smtp-3.sys.kth.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753037AbaLLUJ4 (ORCPT ); Fri, 12 Dec 2014 15:09:56 -0500 X-Greylist: delayed 419 seconds by postgrey-1.27 at vger.kernel.org; Fri, 12 Dec 2014 15:09:55 EST Received: from smtp-3.sys.kth.se (localhost.localdomain [127.0.0.1]) by smtp-3.sys.kth.se (Postfix) with ESMTP id 3FCDF2756; Fri, 12 Dec 2014 21:02:58 +0100 (CET) X-Virus-Scanned: by amavisd-new at kth.se Received: from smtp-3.sys.kth.se ([127.0.0.1]) by smtp-3.sys.kth.se (smtp-3.sys.kth.se [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QMc5xqvmaucZ; Fri, 12 Dec 2014 21:02:57 +0100 (CET) X-KTH-Auth: niso [89.233.231.155] DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kth.se; s=default; t=1418414577; bh=U2t72CxQmPUlSqvstAJZgSGn7LRNNU9K71eObltL8VE=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lR7/BXsBd0sv7j3xk5bZvWO9o5tA9YEr+d0Fi5RF8ncagJO59UYaac1fMoK8T8ynQ 52ohZVoA6dIqoU1MMEjLcd/TIx1Osc0C/1lXbCtHYdzAnOO4cik4Zgze0e5Yed4qiz AqPMs7lUMe4pJEGxvTPUkNRYpMS3BFYxiH/FbCXQ= X-KTH-mail-from: niso@kth.se Received: from Hydra.berto.se (dynamic.0.6.79d1f80.050ba6b6411.cust.bredband2.com [89.233.231.155]) by smtp-3.sys.kth.se (Postfix) with ESMTPSA id 7A7CE273F; Fri, 12 Dec 2014 21:02:56 +0100 (CET) From: =?UTF-8?q?Niklas=20S=C3=B6derlund?= To: linux-kernel@vger.kernel.org, laurent.pinchart@ideasonboard.com, linus.walleij@linaro.org Cc: devicetree@vger.kernel.org, linux-sh@vger.kernel.org, magnus.damm@gmail.com, =?UTF-8?q?Niklas=20S=C3=B6derlund?= Subject: [PATCH 4/4] ARM: shmobile: emev2-kzm9d: Add PFC information for uart1 Date: Fri, 12 Dec 2014 21:01:37 +0100 Message-Id: <1418414497-23741-5-git-send-email-niso@kth.se> X-Mailer: git-send-email 2.1.3 In-Reply-To: <1418414497-23741-1-git-send-email-niso@kth.se> References: <1418414497-23741-1-git-send-email-niso@kth.se> MIME-Version: 1.0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,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 Configure the pinmux on kzm9d to use the serial connector for uart1. Signed-off-by: Niklas Söderlund --- arch/arm/boot/dts/emev2-kzm9d.dts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/emev2-kzm9d.dts b/arch/arm/boot/dts/emev2-kzm9d.dts index 667d323..daf19bf 100644 --- a/arch/arm/boot/dts/emev2-kzm9d.dts +++ b/arch/arm/boot/dts/emev2-kzm9d.dts @@ -94,3 +94,16 @@ vdd33a-supply = <®_3p3v>; }; }; + +&pfc { + uart1_pins: uart@e1030000 { + renesas,groups = "uart1_rx", "uart1_tx", "uart1_ctsb", "uart1_rtsb"; + renesas,function = "uart1"; + }; +}; + +&uart1 { + pinctrl-0 = <&uart1_pins>; + pinctrl-names = "default"; + status = "okay"; +};