From patchwork Thu Apr 20 14:46:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Magnus Damm X-Patchwork-Id: 9690761 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 780BD60383 for ; Thu, 20 Apr 2017 14:52:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 65B3328471 for ; Thu, 20 Apr 2017 14:52:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 570872848B; Thu, 20 Apr 2017 14:52:00 +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=-6.3 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID 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 C8B3428471 for ; Thu, 20 Apr 2017 14:51:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S946445AbdDTOv7 (ORCPT ); Thu, 20 Apr 2017 10:51:59 -0400 Received: from mail-yb0-f182.google.com ([209.85.213.182]:33958 "EHLO mail-yb0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S946428AbdDTOv6 (ORCPT ); Thu, 20 Apr 2017 10:51:58 -0400 Received: by mail-yb0-f182.google.com with SMTP id 11so25573289ybw.1 for ; Thu, 20 Apr 2017 07:51:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:date:message-id:subject; bh=H/tI/i+YkL1Qa2pzOGn5J0yutXdE5cT8pVvNCRpLp+M=; b=G2L2L3HwMH+Vi42ZV8qoUDRbDGdrzO/FeeKy07E13HtONusUz0Vbp+ZSmLqaFVDXxL DYSanO/1xo//eRZGXsLaNTfDeNgKa8ipFIEdf6Ilhhpxlo6F+cO1aqQ4ZdYsgEcInECB q1I7tkeK3LowIaNhr3KCXhAvvNy4Nqx9HB9lEcAJOpkvhzM+Dpfi6HdLJgxE8Z4/+mar G2NHNU6Sk0JBXTnS1U1cxdvdiXTrfW96/SV9xU8jgZdFOMl7Ul1SmHDyo59w6C21zo3j 2QBfmObhOJSIoksZu4A/lMyISkgyqDKoCdCvqXYMc00GA7Rii98RS033Qs+jrTwenHKl q0yg== 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:subject; bh=H/tI/i+YkL1Qa2pzOGn5J0yutXdE5cT8pVvNCRpLp+M=; b=Pp4R6f2DWs8cKpsFCaaB1i/aS+Ex5MwwuSp6tBbT1SBhv01S+PCywRGrw0113GYII2 3ahZhvcq4buGqo/k1MPuDAJEp/puxINYrUU3yHcPdnWNVyOmOPYQ1H2HPP3cUFrpqb9b jG7PZuMWCBq/RTHYEMvpEFFrXj85b+VwjCaESRMvStu8YO6Aap7+AqgSX5p67YYkIVkz TZBwYOQmdGF0XuEmPF0qavQAMHa5NfR0C9SLWjsWSM2zwRI9GmouSpuIga3/6DhSYYHl 0jxF4SvLS6aJhYw2rmgvimcnXZT12Il48Ky70/HlBnCD8Z39FNyTvb+/0sYoegzKntAP zRHQ== X-Gm-Message-State: AN3rC/7FYqUGMGeHbhmZbmtDbAiRl/8EuAtZsp/XlA23Fi30nSqdU/pU 9Zq2gCMIxkAvKg== X-Received: by 10.99.141.199 with SMTP id z190mr8456555pgd.118.1492699917146; Thu, 20 Apr 2017 07:51:57 -0700 (PDT) Received: from [127.0.0.1] (s214090.ppp.asahi-net.or.jp. [220.157.214.90]) by smtp.gmail.com with ESMTPSA id c28sm11127784pfj.19.2017.04.20.07.51.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Apr 2017 07:51:55 -0700 (PDT) From: Magnus Damm To: linux-renesas-soc@vger.kernel.org Cc: horms+renesas@verge.net.au, Magnus Damm , sergei.shtylyov@cogentembedded.com, geert+renesas@glider.be Date: Thu, 20 Apr 2017 23:46:57 +0900 Message-Id: <149269961740.23335.7950127209713140684.sendpatchset@little-apple> Subject: [PATCH] ARM: dts: blanche: Add support for HSCIF0 on CN5 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 r8a7792 Blanche has depending on dip switch and jumper settings either HSCIF0 or CAN0 exposed on the on-board CN5 connector. This patch adds HSCIF0 to the Blanche dts as serial2. Signed-off-by: Magnus Damm Reviewed-by: Geert Uytterhoeven --- Currently the r8a7792 PFC is lacking support for HSCIF devices so the PFC driver needs to be updated to avoid error messages on the boot console. arch/arm/boot/dts/r8a7792-blanche.dts | 14 ++++++++++++++ 1 file changed, 14 insertions(+) --- 0001/arch/arm/boot/dts/r8a7792-blanche.dts +++ work/arch/arm/boot/dts/r8a7792-blanche.dts 2017-04-20 23:35:50.440607110 +0900 @@ -21,6 +21,7 @@ aliases { serial0 = &scif0; serial1 = &scif3; + serial2 = &hscif0; }; chosen { @@ -207,6 +208,11 @@ function = "scif3"; }; + hscif0_pins: hscif0 { + groups = "hscif0_data", "hscif0_ctrl"; + function = "hscif0"; + }; + lan89218_pins: lan89218 { intc { groups = "intc_irq0"; @@ -253,6 +259,14 @@ status = "okay"; }; +&hscif0 { + pinctrl-0 = <&hscif0_pins>; + pinctrl-names = "default"; + + uart-has-rtscts; + status = "okay"; +}; + &can0 { pinctrl-0 = <&can0_pins>; pinctrl-names = "default";