From patchwork Thu Jun 22 09:43:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 106195 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp20002qgd; Thu, 22 Jun 2017 02:44:15 -0700 (PDT) X-Received: by 10.80.177.131 with SMTP id m3mr1988453edd.111.1498124655337; Thu, 22 Jun 2017 02:44:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498124655; cv=none; d=google.com; s=arc-20160816; b=Q7GV4fxjJtYT8NOM+eAhN5y62zMPrF28dkeR1b7AJV5Vcz75rCePoLIKGbz/DlNYSX fKD7c8dy5VEFZ4CVmeCKe5D40TiPza7nF1lmXZkZn7H26kz1aPmgJ2yn/mYiY/G2m4WC Vi9TQy1F93XidaU32j133BJ7bK8oBCuw4DJ4BUmfEKpMzJjX2ZyFZ3/m4XXjgLZTgxeV QfNIBPXGpYBColQXc76FB803au6b1bEPb++I9pRLvXL5waewMMw+Z3Nyya+l6USEmIGv DLLVbTS4JwFjcqtRv76sUa7X7zqCIf5LbWFxbOAalrBXNF63PMfVo3xmwL85Vlby+TZ0 ZBLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:cc:references:in-reply-to:message-id :date:to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=mMb2OvCe0TmQ+6WGXWzz6l1V/eJv4BwQtxxq3Rvcriw=; b=aQ9wMRk7NgPC8UUqwBjM4g+s3BNEJ5ex5BNsacqCqqJst8a9sn/NmHicuG+jYwnbpH hmFCLXylZWfBnHscZvc294rJtHBiGV/G9oOTPrVEHN3GeP2I61LlWcoeh1GbQkFZJkOt beXy5SVWaSwXOGD72TMoXq53vqnWhOJ6yLNEptkSWHJdPvlL+zk68eBcAhTvWu8GjJyh BaJi5472ov+jirNXwvX28ju8g1tX8DmRmIKZH3LifJLR3YM1dwXzwmHLqn33fqaeSoXG EdLGKqz33Bq2ZaVH/PeR2d2YA+bJ0UF3Uy9hxbvMxcDWSJnUr7z2gpqomKuQcQGm8Szk sVZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=WK+I3I6z; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id a43si1499604edc.8.2017.06.22.02.44.14; Thu, 22 Jun 2017 02:44:15 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=WK+I3I6z; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id 91FB5C21C68; Thu, 22 Jun 2017 09:44:12 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 33EF5C21C49; Thu, 22 Jun 2017 09:44:10 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 357A2C21C55; Thu, 22 Jun 2017 09:44:08 +0000 (UTC) Received: from conuserg-10.nifty.com (conuserg-10.nifty.com [210.131.2.77]) by lists.denx.de (Postfix) with ESMTPS id 3212FC21C49 for ; Thu, 22 Jun 2017 09:44:06 +0000 (UTC) Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-10.nifty.com with ESMTP id v5M9hvDf018321; Thu, 22 Jun 2017 18:43:58 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v5M9hvDf018321 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1498124638; bh=xNMWcXoIgEZTmwpYk6wWR0xbG1yRboz8HuTLwHI7XPg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WK+I3I6zamy62rxyhixU911klkrbjZbB8AhFci8zlGuZ8bnFe+AtnCtOv7Y5ANouF mjL9JG724XmGcpeWyRjNtCKjSyFWZT92NwCoGk3VMCxuIhT0DsW/L1Trujk5kaU2JN +YJpn+Oz8Bnvn79a+EZ1lz7exnPAMDj2wsNBfW2+l3IhZgBmuFDZ/WBeh7s0zi6V3b rtP75S3Y9HjxJJxYcHnzZDzNg9V7Djn1oGMGFTfLgLzlVV3wjgYGEldAUmv6+jekCU UPNktkiuRy8KfwQmVoACMx560tz9Ah04nsmFkpXnFNHQr34XAhCvWDR995Nv0ZiPy6 h2rVSQnOoXr4Q== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 22 Jun 2017 18:43:52 +0900 Message-Id: <1498124632-13456-2-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1498124632-13456-1-git-send-email-yamada.masahiro@socionext.com> References: <1498124632-13456-1-git-send-email-yamada.masahiro@socionext.com> Cc: Kunihiko Hayashi Subject: [U-Boot] [PATCH 2/2] arm64: dts: uniphier: add support for LD20 Global board X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" From: Kunihiko Hayashi Add initial device tree support for LD20 Global board. Signed-off-by: Kunihiko Hayashi Signed-off-by: Masahiro Yamada --- arch/arm/dts/Makefile | 1 + arch/arm/dts/uniphier-ld20-global.dts | 61 +++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 arch/arm/dts/uniphier-ld20-global.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index ae9ee68a3147..9cc5c1e0aa89 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -100,6 +100,7 @@ dtb-$(CONFIG_ARCH_UNIPHIER_LD11) += \ uniphier-ld11-global.dtb \ uniphier-ld11-ref.dtb dtb-$(CONFIG_ARCH_UNIPHIER_LD20) += \ + uniphier-ld20-global.dtb \ uniphier-ld20-ref.dtb dtb-$(CONFIG_ARCH_UNIPHIER_LD4) += \ uniphier-ld4-ref.dtb diff --git a/arch/arm/dts/uniphier-ld20-global.dts b/arch/arm/dts/uniphier-ld20-global.dts new file mode 100644 index 000000000000..535c0eeed545 --- /dev/null +++ b/arch/arm/dts/uniphier-ld20-global.dts @@ -0,0 +1,61 @@ +/* + * Device Tree Source for UniPhier LD20 Global Board + * + * Copyright (C) 2015-2017 Socionext Inc. + * Author: Masahiro Yamada + * Kunihiko Hayashi + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; +/include/ "uniphier-ld20.dtsi" + +/ { + model = "UniPhier LD20 Global Board (REF_LD20_GP)"; + compatible = "socionext,uniphier-ld20-global", + "socionext,uniphier-ld20"; + + chosen { + stdout-path = "serial0:115200n8"; + }; + + aliases { + serial0 = &serial0; + serial1 = &serial1; + serial2 = &serial2; + serial3 = &serial3; + i2c0 = &i2c0; + i2c1 = &i2c1; + i2c2 = &i2c2; + i2c3 = &i2c3; + i2c4 = &i2c4; + i2c5 = &i2c5; + }; + + memory@80000000 { + device_type = "memory"; + reg = <0 0x80000000 0 0xc0000000>; + }; +}; + +&serial0 { + status = "okay"; +}; + +&serial1 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; +}; + +/* for U-Boot only */ +&serial0 { + u-boot,dm-pre-reloc; +}; + +&pinctrl_uart0 { + u-boot,dm-pre-reloc; +};