From patchwork Thu May 25 02:19:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 100456 Delivered-To: patch@linaro.org Received: by 10.140.96.100 with SMTP id j91csp566507qge; Wed, 24 May 2017 19:30:02 -0700 (PDT) X-Received: by 10.99.1.85 with SMTP id 82mr43325212pgb.164.1495679402835; Wed, 24 May 2017 19:30:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1495679402; cv=none; d=google.com; s=arc-20160816; b=K3N9aAIfQj/wgMwGdvYwLKwGq7FnCB4yml7mh6fYeGXemCnUEC5YuY6033FKo8w7kR FPRrnen+RCw7ufUIySpIU2FYweaGoGkrLOCLQq3pHdnalcs1LJvdBa9vCmhU19ene0Ws rzzbz1s2y6WMl//KWtPO4h2sizcoi/uA5v0UFqpwnqUgK9ZP6yRLkwsQ5UdxRWTv/jj+ cKjwciKzKytMc2m/v/zZAmRteaM0qBSYfp/M66XwMqpKsxeFXW55/Id9BMAtb1Uilcqn /nqEsVLqQ3vdX1YEjbdRImyR/zLwAfWqG91VwwjcOi+bjELHEYwf2YXbPRAPJOJ3GOHT oDGA== 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=L4cijrvr4+nqHNamIm1a/bFqf5+gn6924y9e7KcHiQI=; b=FED0RAO5iEfIuCvG99RrjkT86xHV59fN3TH2cwWJ/EUSteIG0KqYLg4cSDZpK6teZl BKBwTwtL5mDGbQ3LuunrBtdjikByPGV1b6XvTpwW5sYuNCGCdcxwpzlV+lRvlX8b23d5 qpNyfMBlSeh0QSFQs+D3mMaYsuuU156thvxIdmpYTfqm5sogkqyfu4z3CJpPpcQCq2Sh 6OSm+ELQCKZ7/iWpu9y1RWPK81FfNCggtLFOupl+QF73Jp4vhzUklXD79vRiPPzUaH8j oeRQiUea2oCevJBd5Yut1PWDIzntekMU0RpOFjIUH6fSfvfzh+wwiFopp9U6JnWNUx5i V1Nw== 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 f15si27475523pln.274.2017.05.24.19.30.02; Wed, 24 May 2017 19:30:02 -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 S932513AbdEYC3p (ORCPT + 25 others); Wed, 24 May 2017 22:29:45 -0400 Received: from mx.socionext.com ([202.248.49.38]:13252 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932247AbdEYC3m (ORCPT ); Wed, 24 May 2017 22:29:42 -0400 Received: from unknown (HELO kinkan-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 25 May 2017 11:19:52 +0900 Received: from mail.mfilter.local (unknown [10.213.24.62]) by kinkan-ex.css.socionext.com (Postfix) with ESMTP id F01A1180B5F; Thu, 25 May 2017 11:19:52 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Thu, 25 May 2017 11:19:52 +0900 Received: from plum.e01.socionext.com (unknown [10.213.132.32]) by kinkan.css.socionext.com (Postfix) with ESMTP id BB17F1A0E7B; Thu, 25 May 2017 11:19:52 +0900 (JST) From: Kunihiko Hayashi To: linux-arm-kernel@lists.infradead.org Cc: yamada.masahiro@socionext.com, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH 1/2] arm64: dts: uniphier: add support for LD11 Global board Date: Thu, 25 May 2017 11:19:14 +0900 Message-Id: <1495678755-13218-2-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1495678755-13218-1-git-send-email-hayashi.kunihiko@socionext.com> References: <1495678755-13218-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 | 105 +++++++++++++++++++++ 2 files changed, 106 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 5538598b302c..8d07ee33e66f 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 000000000000..754195aa5a1a --- /dev/null +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-global.dts @@ -0,0 +1,105 @@ +/* + * Device Tree Source for UniPhier LD11 Global Board + * + * Copyright (C) 2016-2017 Socionext Inc. + * Author: Masahiro Yamada + * Kunihiko Hayashi + * + * This file is dual-licensed: you can use it either under the terms + * of the GPL or the X11 license, at your option. Note that this dual + * licensing only applies to this file, and not this project as a + * whole. + * + * a) This file is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License as + * published by the Free Software Foundation; either version 2 of the + * License, or (at your option) any later version. + * + * This file is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * Or, alternatively, + * + * b) Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or + * sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. + */ + +/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"; + reg = <0x50>; + pagesize = <32>; + }; +}; + +&usb0 { + status = "okay"; +}; + +&usb1 { + status = "okay"; +}; + +&usb2 { + status = "okay"; +};