From patchwork Thu Jan 18 19:07:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 10173945 X-Patchwork-Delegate: horms@verge.net.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id EB5C260230 for ; Thu, 18 Jan 2018 19:07:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DB60928417 for ; Thu, 18 Jan 2018 19:07:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D040C2846D; Thu, 18 Jan 2018 19:07:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 698D928417 for ; Thu, 18 Jan 2018 19:07:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755003AbeARTH7 (ORCPT ); Thu, 18 Jan 2018 14:07:59 -0500 Received: from mail-pf0-f176.google.com ([209.85.192.176]:36585 "EHLO mail-pf0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752368AbeARTH6 (ORCPT ); Thu, 18 Jan 2018 14:07:58 -0500 Received: by mail-pf0-f176.google.com with SMTP id 23so15377389pfp.3 for ; Thu, 18 Jan 2018 11:07:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:in-reply-to:references:subject; bh=UQxXuGXam6vx2HWi1ztN2TfGqF69L6EkzYSPXGcNbmE=; b=GVaWhaAg3aXbhpykz3iuz7jApJMmK8RVzhB4pYWHV2CycEri64x6Zj1X9lp2gxd10c tB/higCN1NRza00o+T8sG+HkRWCYucSUNobl41snrMIAe5gaaE1xr+iVqAUXq0KvegLJ vnsqr7zlehx37tO7Hug+ZU5FVAbucrvYlq48IykNmqsdKeTTooQ+nGo075rtYkBaBhY7 MYRaGVvCfROVjXPShXuOBkBwphRBj21z2t505JgKcj1/ti9/4BLdQ0f1pt3ApujLVQOD xjqZ9dZ4LJm23HwfxmLJbXmY7RN4t+2cC6GCVeW45GlkIz75I4OQFU+6ehusxTG4iaty 7KCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:date:message-id:in-reply-to :references:subject; bh=UQxXuGXam6vx2HWi1ztN2TfGqF69L6EkzYSPXGcNbmE=; b=E4R1ycWXrSUa6knblpyyEKQX1TS/fBAeLM6zzRVZo1jUWl8twjzsRR3/vVbMyhLL7W B6IFPLJWBYaVj/Borh+UmcAiM7tZzKJ73/DlUYgsX+3AaqYNXjyD+YeZEslAQL5Anvkj 9+tO3fnP6pH5LPFnsEJeAEIerR2/TcPLPKzxZfWs6iU4z89dj/AYAAuYNLDJNop31F3T ROfYFcEhlglgqp3O0tfzfgqaNcYNfmJNx6kwQOy0w41jcsdGw/COlodFsnvnE6nCksbA 5iEpHke6o9yf/OUi6FrZleYSZzhtYvWij9qlX09wvcgiY01MbyqdDGyqErePfqvyLtbR NLNQ== X-Gm-Message-State: AKwxytcp1ITVHaPE8np6VyCusFFPL7aWZgFM1UqYiD6SgioP7cXQG2th uSIkseaaH7LxrLokIs2y/G+qcP7V X-Google-Smtp-Source: ACJfBosF41BYC9gwGtfFTYrZQJ6McG0EhGPAdZMf54zHFXR3JT2g8N+W8stX1uPwXKQgcwJ+njFVpA== X-Received: by 10.99.183.76 with SMTP id w12mr23766690pgt.331.1516302477830; Thu, 18 Jan 2018 11:07:57 -0800 (PST) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id g2sm13536539pfh.62.2018.01.18.11.07.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 11:07:56 -0800 (PST) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: Magnus Damm Date: Fri, 19 Jan 2018 04:07:21 +0900 Message-Id: <151630244106.14098.1751390484334216468.sendpatchset@little-apple> In-Reply-To: <151630243226.14098.14517816422611139335.sendpatchset@little-apple> References: <151630243226.14098.14517816422611139335.sendpatchset@little-apple> Subject: [PATCH/RFC 01/03] arm64: dts: renesas: r8a77970: Add PFC node for Eagle V3M Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Magnus Damm Add DT nodes for the PFC on the r8a77970 SoC and hook up the SCIF console to make use of the PFC to configure the pins. Signed-off-by: Magnus Damm --- Depends on r8a77970 PFC support - included in latest renesas-drivers arch/arm64/boot/dts/renesas/r8a77970-eagle.dts | 10 ++++++++++ arch/arm64/boot/dts/renesas/r8a77970.dtsi | 5 +++++ 2 files changed, 15 insertions(+) --- 0001/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts +++ work/arch/arm64/boot/dts/renesas/r8a77970-eagle.dts 2018-01-19 03:43:18.050607110 +0900 @@ -52,11 +52,21 @@ clock-frequency = <32768>; }; +&pfc { + scif0_pins: scif0 { + groups = "scif0_data"; + function = "scif0"; + }; +}; + &rwdt { timeout-sec = <60>; status = "okay"; }; &scif0 { + pinctrl-0 = <&scif0_pins>; + pinctrl-names = "default"; + status = "okay"; }; --- 0001/arch/arm64/boot/dts/renesas/r8a77970.dtsi +++ work/arch/arm64/boot/dts/renesas/r8a77970.dtsi 2018-01-19 03:43:36.990607110 +0900 @@ -117,6 +117,11 @@ reg = <0 0xe6160000 0 0x200>; }; + pfc: pin-controller@e6060000 { + compatible = "renesas,pfc-r8a77970"; + reg = <0 0xe6060000 0 0x504>; + }; + sysc: system-controller@e6180000 { compatible = "renesas,r8a77970-sysc"; reg = <0 0xe6180000 0 0x440>;