From patchwork Thu Nov 3 06:39:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chanwoo Choi X-Patchwork-Id: 9410467 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C592E601C2 for ; Thu, 3 Nov 2016 06:40:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B21532A5E7 for ; Thu, 3 Nov 2016 06:40:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A3E052A604; Thu, 3 Nov 2016 06:40:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 98A2B2A5EF for ; Thu, 3 Nov 2016 06:40:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754222AbcKCGj2 (ORCPT ); Thu, 3 Nov 2016 02:39:28 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:43874 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751934AbcKCGjY (ORCPT ); Thu, 3 Nov 2016 02:39:24 -0400 Received: from epcpsbgm2new.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OG101D3YZTCBYE0@mailout1.samsung.com>; Thu, 03 Nov 2016 15:39:17 +0900 (KST) X-AuditID: cbfee61b-f796f6d000004092-60-581adb94ff47 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2new.samsung.com (EPCPMTA) with SMTP id 05.4C.16530.49BDA185; Thu, 3 Nov 2016 15:39:17 +0900 (KST) Received: from localhost.localdomain ([10.113.62.212]) by mmp1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OG1004HEZTAOK30@mmp1.samsung.com>; Thu, 03 Nov 2016 15:39:16 +0900 (KST) From: Chanwoo Choi To: krzk@kernel.org, kgene@kernel.org, javier@osg.samsung.com, robh+dt@kernel.org, mark.rutland@arm.com, catalin.marinas@arm.com, will.deacon@arm.com, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Cc: cw00.choi@samsung.com, jh80.chung@samsung.com, sw0312.kim@samsung.com, jy0922.shim@samsung.com, inki.dae@samsung.com, jonghwa3.lee@samsung.com, beomho.seo@samsung.com, jaewon02.kim@samsung.com, human.hwang@samsung.com, ideal.song@samsung.com, ingi2.kim@samsung.com, m.szyprowski@samsung.com, a.hajda@samsung.com, s.nawrocki@samsung.com, andi.shyti@samsung.com, chanwoo@kernel.org Subject: [PATCH v3 5/5] arm64: dts: exynos: Add dts file for Exynos5433-based TM2E board Date: Thu, 03 Nov 2016 15:39:09 +0900 Message-id: <1478155149-28527-6-git-send-email-cw00.choi@samsung.com> X-Mailer: git-send-email 1.8.0 In-reply-to: <1478155149-28527-1-git-send-email-cw00.choi@samsung.com> References: <1478155149-28527-1-git-send-email-cw00.choi@samsung.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrGIsWRmVeSWpSXmKPExsVy+t9jAd2pt6UiDBZM47G4te4cq8X2I89Y LU5/2sZu8X5ZD6PFxBtXWCyuf3nOajH/CFB26Yw+Votdf+8zWuy4+YXNYtL9CSwWOxqOsFq8 ebuGyeLGrzZWi86zT5gtXty7yGLR//g1s8X58xvYLTY9vsZqcXnXHDaLGef3MVmsPXKX3WLp 9YtMFq17j7BbHH7TzmoxY/JLNouXH0+wOEh7rJm3htFj06pONo/NS+o9tvTfZffo27KK0ePz JrkAtig3m4zUxJTUIoXUvOT8lMy8dFul0BA3XQslhbzE3FRbpQhd35AgJYWyxJxSIM/IAA04 OAe4Byvp2yW4Zcz59Iyl4LVcxexrV9kaGPdLdTFyckgImEicfXyZEcIWk7hwbz0biC0ksJRR 4vph2y5GLiD7B6PEqf3/2UESbAJaEvtf3GADSYgILGCS2LqijQXEYRboZJZ4N+ES2ChhgSiJ h587WEFsFgFVieXdbWBxXgFXiUVrX7BCrJOT+LDnEdhUTgE3iR23ulkgVrtKTHq4m2UCI+8C RoZVjBKpBckFxUnpuUZ5qeV6xYm5xaV56XrJ+bmbGMFx+kx6B+PhXe6HGAU4GJV4eB8kSkUI sSaWFVfmHmKU4GBWEuEtvAkU4k1JrKxKLcqPLyrNSS0+xGgKdNhEZinR5HxgCskriTc0MTcx NzawMLe0NDFSEudtnP0sXEggPbEkNTs1tSC1CKaPiYNTqoHxSHD6kddZ2fsUS/U8wrVsMkOr zz84yC17IUFel1dq8Zuf54/e3GDx12rf3Evvluuzv4p+P3fD1XLxrJD5p8W/1/nPi2h4fCux wO+xYOPtRNabnyd6LshqcvW8ppjNNbndJozvbILbUvWI5Qc+1699LWDTILjRKIq7jk9uQ8iN heqcjI67JkxWYinOSDTUYi4qTgQAzsEG6ukCAAA= X-MTR: 20000000000000000@CPGS Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds the Device Tree source for Exynos5433-based Samsung TM2E board. TM2E board is the most similar with TM2 board. The exynos5433-tm2e.dts include the difference between TM2 and TM2E. Signed-off-by: Chanwoo Choi Signed-off-by: Jaehoon Chung Signed-off-by: Seung-Woo Kim Signed-off-by: Joonyoung Shim Signed-off-by: Inki Dae Signed-off-by: Jonghwa Lee Signed-off-by: Beomho Seo Signed-off-by: Jaewon Kim Signed-off-by: Hyungwon Hwang Signed-off-by: Inha Song Signed-off-by: Ingi kim Signed-off-by: Krzysztof Kozlowski Signed-off-by: Marek Szyprowski Signed-off-by: Andrzej Hajda Signed-off-by: Sylwester Nawrocki Reviewed-by: Krzysztof Kozlowski Acked-by: Rob Herring Reviewed-by: Javier Martinez Canillas Tested-by: Andi Shyti --- .../bindings/arm/samsung/samsung-boards.txt | 1 + arch/arm64/boot/dts/exynos/Makefile | 1 + arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts | 41 ++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts diff --git a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt index 339af8b9cdc5..c64c7b515777 100644 --- a/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt +++ b/Documentation/devicetree/bindings/arm/samsung/samsung-boards.txt @@ -16,6 +16,7 @@ Required root node properties: - "samsung,smdk5410" - for Exynos5410-based Samsung SMDK5410 eval board. - "samsung,smdk5420" - for Exynos5420-based Samsung SMDK5420 eval board. - "samsung,tm2" - for Exynos5433-based Samsung TM2 board. + - "samsung,tm2e" - for Exynos5433-based Samsung TM2E board. - "samsung,sd5v1" - for Exynos5440-based Samsung board. - "samsung,ssdk5440" - for Exynos5440-based Samsung board. diff --git a/arch/arm64/boot/dts/exynos/Makefile b/arch/arm64/boot/dts/exynos/Makefile index 947c750acba1..7ddea53769a7 100644 --- a/arch/arm64/boot/dts/exynos/Makefile +++ b/arch/arm64/boot/dts/exynos/Makefile @@ -1,5 +1,6 @@ dtb-$(CONFIG_ARCH_EXYNOS) += \ exynos5433-tm2.dtb \ + exynos5433-tm2e.dtb \ exynos7-espresso.dtb always := $(dtb-y) diff --git a/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts new file mode 100644 index 000000000000..1db4e7f363a9 --- /dev/null +++ b/arch/arm64/boot/dts/exynos/exynos5433-tm2e.dts @@ -0,0 +1,41 @@ +/* + * SAMSUNG Exynos5433 TM2E board device tree source + * + * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * + * Device tree source file for Samsung's TM2E(TM2 EDGE) board which is based on + * Samsung Exynos5433 SoC. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ + +#include "exynos5433-tm2.dts" + +/ { + model = "Samsung TM2E board"; + compatible = "samsung,tm2e", "samsung,exynos5433"; +}; + +&ldo23_reg { + regulator-name = "CAM_SEN_CORE_1.025V_AP"; + regulator-max-microvolt = <1050000>; +}; + +&ldo25_reg { + regulator-name = "UNUSED_LDO25"; + regulator-always-off; +}; + +&ldo31_reg { + regulator-name = "TSP_VDD_1.8V_AP"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; +}; + +&ldo38_reg { + regulator-name = "VCC_3.3V_MOTOR_AP"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; +};