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; +};