From patchwork Mon Feb 26 12:18:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michel Pollet X-Patchwork-Id: 10242149 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 80DE5602A0 for ; Mon, 26 Feb 2018 12:23:12 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 715D729D67 for ; Mon, 26 Feb 2018 12:23:12 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 661F829EDC; Mon, 26 Feb 2018 12:23:12 +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.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable 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 EA6C729D67 for ; Mon, 26 Feb 2018 12:23:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751903AbeBZMW7 (ORCPT ); Mon, 26 Feb 2018 07:22:59 -0500 Received: from relmlor4.renesas.com ([210.160.252.174]:53402 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752811AbeBZMWy (ORCPT ); Mon, 26 Feb 2018 07:22:54 -0500 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 26 Feb 2018 21:22:52 +0900 Received: from relmlii1.idc.renesas.com (relmlii1.idc.renesas.com [10.200.68.65]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id 900E877213; Mon, 26 Feb 2018 21:22:52 +0900 (JST) X-IronPort-AV: E=Sophos;i="5.47,396,1515423600"; d="scan'208";a="272157623" Received: from unknown (HELO be1yocto.ree.adwin.renesas.com) ([172.29.43.62]) by relmlii1.idc.renesas.com with ESMTP; 26 Feb 2018 21:22:49 +0900 From: Michel Pollet To: linux-renesas-soc@vger.kernel.org, Simon Horman Cc: phil.edworthy@renesas.com, Michel Pollet , Magnus Damm , Rob Herring , Mark Rutland , Russell King , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] arm: rzn1: Add basic support for RZN1D-DB Board Date: Mon, 26 Feb 2018 12:18:20 +0000 Message-Id: <1519647518-15579-3-git-send-email-michel.pollet@bp.renesas.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1519647518-15579-1-git-send-email-michel.pollet@bp.renesas.com> References: <1519647518-15579-1-git-send-email-michel.pollet@bp.renesas.com> 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 Only enables the uart0 for now, and also relies on the bootloader for setting up the clocks and pinctrl. Signed-off-by: Michel Pollet --- Documentation/devicetree/bindings/arm/shmobile.txt | 2 ++ arch/arm/boot/dts/rzn1d400-db.dts | 25 ++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 arch/arm/boot/dts/rzn1d400-db.dts diff --git a/Documentation/devicetree/bindings/arm/shmobile.txt b/Documentation/devicetree/bindings/arm/shmobile.txt index 153f69bb..498871b 100644 --- a/Documentation/devicetree/bindings/arm/shmobile.txt +++ b/Documentation/devicetree/bindings/arm/shmobile.txt @@ -105,6 +105,8 @@ Boards: compatible = "renesas,porter", "renesas,r8a7791" - RSKRZA1 (YR0K77210C000BE) compatible = "renesas,rskrza1", "renesas,r7s72100" + - RZN1D-DB (RZ/N1D Demo Board) + compatible = "renesas,rzn1d-db", "renesas,r9a06g032" - Salvator-X (RTP0RC7795SIPB0010S) compatible = "renesas,salvator-x", "renesas,r8a7795" - Salvator-X (RTP0RC7796SIPB0011S) diff --git a/arch/arm/boot/dts/rzn1d400-db.dts b/arch/arm/boot/dts/rzn1d400-db.dts new file mode 100644 index 0000000..1b686f0 --- /dev/null +++ b/arch/arm/boot/dts/rzn1d400-db.dts @@ -0,0 +1,25 @@ +/* + * Device Tree Source for the RZN1D-DB Board + * + * Copyright (C) 2018 Renesas Electronics Europe Limited + * + * SPDX-License-Identifier: GPL-2.0 + */ + +/dts-v1/; + +#include "rzn1.dtsi" + +/ { + model = "RZN1D-DB Board"; + compatible = "renesas,rzn1d-db", "renesas,r9a06g032"; + + chosen { + bootargs = "console=ttyS0,115200"; + stdout-path = &uart0; + linux,stdout-path = &uart0; + }; +}; +&uart0 { + status = "okay"; +};