From patchwork Thu Jun 22 09:43:51 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 106196 Delivered-To: patch@linaro.org Received: by 10.140.91.2 with SMTP id y2csp20292qgd; Thu, 22 Jun 2017 02:45:10 -0700 (PDT) X-Received: by 10.80.173.27 with SMTP id y27mr1995683edc.5.1498124710426; Thu, 22 Jun 2017 02:45:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1498124710; cv=none; d=google.com; s=arc-20160816; b=KOcYEUApqrYb/CnFp7wvVSrkUFeKrzB5+/J2X28rCcmGYCijNreGxP6BFn1mQ4O1jN zsB4Kc4VSeWUALcFNAAe5GyFncdCUvO9RFzRyHFRAJ643HroKzrkoma4RslNCC1INc98 TUGo+BBufX9LENChIdgNTFbgCteMfpw5LW5Ug/Z6lNBs1z5lUS6Paq84/wLJ0T3w71E7 PqOvmn5tCtkBdTQQJRHPTUZHeUpApnnB5TKFi3UVX65Q6VXSkTlaTs+62PJ9ZXDQvHLy xa2XDi4UT4L/MRbUtRVLs2/ez4Zjx3SeVoR9/MO3WyYUvbPgfj91JHwIICEs4YTxY3Mq Bslg== 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:message-id:date:to:from :dkim-signature:dkim-filter:arc-authentication-results; bh=bZXVB5AFTXALpofWWpILcYNjlSv6xOxdWLo4g+E4lM0=; b=Ir/4BmxevLH5O9FKHx4GpFoOzrMMZqA8Uf8r1IUiv1AOMNxDIHwyWffGhwtnhc9Ivg 1vFnQyxfo0+RZrpA2bCwDOnqNtG1tk60BHynXYOLYNUeoDr/QBCZsK3UDyg3pQKdYF6C w8VHBoOPs3Y/KeKioAOlY4aRG/w6WoHEypny/F83Z5mnU59k7uenPfW8f1Pp6ktxTy7O lDuUfwhHosYP71lzdDpaDrlWlYUJBrtHnD+vfE5YYDTPu78mIUNSXfO2qPudduq5EMli TGM2Gy8mRxpVU9LGmij5OzVTVCL9SeDDHLEmdNYbQiOQ9FhgZsmlHApPFMFH1YsfMlUG 5nvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.b=sj27fLHU; 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 d33si1100635edd.290.2017.06.22.02.45.10; Thu, 22 Jun 2017 02:45:10 -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=sj27fLHU; 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 0684EC21CD6; Thu, 22 Jun 2017 09:44:26 +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 224F0C21C87; Thu, 22 Jun 2017 09:44:11 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 4030CC21C2D; 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 2961DC21C2D 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 v5M9hvDe018321; Thu, 22 Jun 2017 18:43:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-10.nifty.com v5M9hvDe018321 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1498124637; bh=vPRqNAPX3t4kevUvG3/eWqNbA61GXw0llm8AlUlJ044=; h=From:To:Cc:Subject:Date:From; b=sj27fLHUraRwg3XDUF03UU6YSnnHhYsYAfhoqnUgIB73jHbwCrtmDpmad9J7aMcX4 7Sp1jYaIkymPWBUw5SSwsrUprv5uUodFkZnC3KB60wdQd506Pz6EnAySG+/61JOsN1 0aQwBWovVzoPNSRiJ4yZ0uuSmxabMnAL7u+QuxKU2KJ/R6wHPsgbEFA0NJExg3l/9D PT0ZMk/5hEDAOcEIKyKn5sjVfuE/WqjljpxujLIXOB/R1muC+E2DgMYOzCAVk7pqC9 N12IUEC7R7dI0u7cis59eK9doUzSRcvlVC6EVL7Py1gKxn0mr5gP0wrgLbed2dj8p8 /eRHcfy8TvOig== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Thu, 22 Jun 2017 18:43:51 +0900 Message-Id: <1498124632-13456-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 Cc: Kunihiko Hayashi Subject: [U-Boot] [PATCH 1/2] arm64: dts: uniphier: add support for LD11 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 LD11 Global board. Signed-off-by: Kunihiko Hayashi Signed-off-by: Masahiro Yamada --- arch/arm/dts/Makefile | 1 + arch/arm/dts/uniphier-ld11-global.dts | 79 +++++++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 arch/arm/dts/uniphier-ld11-global.dts diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index a01c9b60b359..ae9ee68a3147 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -97,6 +97,7 @@ dtb-$(CONFIG_ARCH_MVEBU) += \ armada-38x-controlcenterdc.dtb dtb-$(CONFIG_ARCH_UNIPHIER_LD11) += \ + uniphier-ld11-global.dtb \ uniphier-ld11-ref.dtb dtb-$(CONFIG_ARCH_UNIPHIER_LD20) += \ uniphier-ld20-ref.dtb diff --git a/arch/arm/dts/uniphier-ld11-global.dts b/arch/arm/dts/uniphier-ld11-global.dts new file mode 100644 index 000000000000..2ed13606b505 --- /dev/null +++ b/arch/arm/dts/uniphier-ld11-global.dts @@ -0,0 +1,79 @@ +/* + * Device Tree Source for UniPhier LD11 Global Board + * + * Copyright (C) 2016-2017 Socionext Inc. + * Author: Masahiro Yamada + * Kunihiko Hayashi + * + * SPDX-License-Identifier: (GPL-2.0+ OR MIT) + */ + +/dts-v1/; +/include/ "uniphier-ld11.dtsi" + +/ { + model = "UniPhier LD11 Global Board (REF_LD11_GP)"; + compatible = "socionext,uniphier-ld11-global", + "socionext,uniphier-ld11"; + + 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 0x40000000>; + }; +}; + +&serial0 { + status = "okay"; +}; + +&serial1 { + status = "okay"; +}; + +&i2c0 { + status = "okay"; + + eeprom@50 { + compatible = "st,24c64", "atmel,24c64", "i2c-eeprom"; + reg = <0x50>; + pagesize = <32>; + }; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + +&usb2 { + status = "okay"; +}; + +/* for U-Boot only */ +&serial0 { + u-boot,dm-pre-reloc; +}; + +&pinctrl_uart0 { + u-boot,dm-pre-reloc; +}; 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; +};