From patchwork Mon Jun 12 06:07:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 103605 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp49306qgd; Sun, 11 Jun 2017 23:08:21 -0700 (PDT) X-Received: by 10.99.99.65 with SMTP id x62mr27375609pgb.211.1497247701027; Sun, 11 Jun 2017 23:08:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497247701; cv=none; d=google.com; s=arc-20160816; b=UTKGewlO9+Ry0qoJoV2LI4Mefh3dnDTHwCN/6o+N70D9yy4Wj5dOymaYHBigcsUiu3 Tkwk4Eai/KRPXyWLBsB+wZBBLIWUPUPq56Dh8sFNUnAf+1ZMyKsaiLZ919DfGcx+r4Dd 6eeI03fQ15/x5zdndUb3AhlluGHecnXERfyBbZZP/RvJxl9aEOBItjvkrGqlopbsl5nk tsJmbvqbZ++72tibEvhVF2yjz/oFd8ForzRZYvlIb6M05txeQ9BdctgmmHA2Kk69mx+Y kUOUpA6clOge4Z9eR4LN8CBqgzpFzufJEnud6bRT4BSX18r0Ud83Upre0pxNUcQNPPrX JD+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=DB8hcfFPLJNYxOZXaui0zG1A3qnMrcEcpJmyFN/zuV4=; b=yfZSHPUjbwv8KifeKKMeYMW663izFLqRj8lT81L/JYhQYtUPHxJLzl3dAu+5o35Fl0 fAHsvKN2V1K1stfAQ848Y68NBpzeb2cZUkjsDFv8UEWAAewaSt7x1R4Z/DAteFZcbpCv 1VqPri+ivM0+fSFM1/AdFnm3B8sZPFtBJqYJ974oJj/pt2W1V6d0p2r6hkTJOY+1sOEM dvMwvnDGMaoAEAdeoD7/y8Uc1aoyiD34Aa/qXSQQ2JiK08/S/54/bYo5VbYFWNCMsrpg HFUxHk6lEx3keJ2jPMG1RfzV0m7d3OsMvg6pd4xwXiCtqsA70jyQuUaiFXUJlgLUnJed 3Beg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t8si6232835plm.143.2017.06.11.23.08.20; Sun, 11 Jun 2017 23:08:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752233AbdFLGIN (ORCPT + 25 others); Mon, 12 Jun 2017 02:08:13 -0400 Received: from mx.socionext.com ([202.248.49.38]:52347 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752157AbdFLGIK (ORCPT ); Mon, 12 Jun 2017 02:08:10 -0400 Received: from unknown (HELO iyokan-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 12 Jun 2017 15:08:11 +0900 Received: from mail.mfilter.local (unknown [10.213.24.61]) by iyokan-ex.css.socionext.com (Postfix) with ESMTP id 7B6596007B; Mon, 12 Jun 2017 15:08:09 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Mon, 12 Jun 2017 15:08:09 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id 0184F1A1207; Mon, 12 Jun 2017 15:08:08 +0900 (JST) From: Kunihiko Hayashi To: linux-arm-kernel@lists.infradead.org Cc: yamada.masahiro@socionext.com, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH v2 1/2] arm64: dts: uniphier: add support for LD11 Global board Date: Mon, 12 Jun 2017 15:07:38 +0900 Message-Id: <1497247659-1610-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497247659-1610-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1497247659-1610-1-git-send-email-hayashi.kunihiko@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add initial device tree support for LD11 Global board. Signed-off-by: Kunihiko Hayashi --- arch/arm64/boot/dts/socionext/Makefile | 1 + .../boot/dts/socionext/uniphier-ld11-global.dts | 70 ++++++++++++++++++++++ 2 files changed, 71 insertions(+) create mode 100644 arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts -- 2.7.4 diff --git a/arch/arm64/boot/dts/socionext/Makefile b/arch/arm64/boot/dts/socionext/Makefile index 5538598..8d07ee3 100644 --- a/arch/arm64/boot/dts/socionext/Makefile +++ b/arch/arm64/boot/dts/socionext/Makefile @@ -1,4 +1,5 @@ dtb-$(CONFIG_ARCH_UNIPHIER) += \ + uniphier-ld11-global.dtb \ uniphier-ld11-ref.dtb \ uniphier-ld20-ref.dtb diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts new file mode 100644 index 0000000..1153570 --- /dev/null +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts @@ -0,0 +1,70 @@ +/* + * 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"; + reg = <0x50>; + pagesize = <32>; + }; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + +&usb2 { + status = "okay"; +};