From patchwork Thu Feb 11 03:51:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Suthikulpanit, Suravee" X-Patchwork-Id: 61702 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp3028623lbl; Wed, 10 Feb 2016 19:53:11 -0800 (PST) X-Received: by 10.66.237.35 with SMTP id uz3mr63404230pac.96.1455162791700; Wed, 10 Feb 2016 19:53:11 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id kw9si9552193pab.63.2016.02.10.19.53.10; Wed, 10 Feb 2016 19:53:11 -0800 (PST) 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 S1753665AbcBKDww (ORCPT + 30 others); Wed, 10 Feb 2016 22:52:52 -0500 Received: from mail-bl2on0053.outbound.protection.outlook.com ([65.55.169.53]:5920 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752403AbcBKDwq (ORCPT ); Wed, 10 Feb 2016 22:52:46 -0500 Authentication-Results: lixom.net; dkim=none (message not signed) header.d=none; lixom.net; dmarc=none action=none header.from=amd.com; Received: from localhost.localdomain (124.121.8.20) by BLUPR12MB0436.namprd12.prod.outlook.com (10.162.92.141) with Microsoft SMTP Server (TLS) id 15.1.403.16; Thu, 11 Feb 2016 03:52:38 +0000 From: Suravee Suthikulpanit To: , , , , , , CC: , , , , , , , Suravee Suthikulpanit Subject: [PATCH V3 11/12] dtb: amd: Add support for new AMD Overdrive boards Date: Wed, 10 Feb 2016 21:51:10 -0600 Message-ID: <1455162671-16044-12-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1455162671-16044-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1455162671-16044-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [124.121.8.20] X-ClientProxiedBy: KL1PR02CA0013.apcprd02.prod.outlook.com (25.165.15.23) To BLUPR12MB0436.namprd12.prod.outlook.com (25.162.92.141) X-MS-Office365-Filtering-Correlation-Id: 236aa70b-78e4-4ca0-bcaf-08d33296cb92 X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 2:DhpQIUbd7UghCLDfLo+YPaM3gvbYYKJzB3SubkMlgulQcZe2v0Wrun+CIPSgy0EoW3zpoRNJIze4Ds8j2ybByMZgdmNPlyVq3RXl2NWPSleRxdTJ0lnyr3iUZELr3cnt7/bfyKuvtCkb9xOP4CU8G3x8zYuwcbFxlnyDRhZswLaSIITXi0WTDEg6nOFxvkJ5; 3:AiDMDR9Mr/LH/UuvflTpvdx9FI3rhyTU92C5kINBB3c7tYHvyDKfIJmX4pi57L4qpugjAr99beKXiUnkr39sFduxIEOKBE83xAbxw4YKu07cVBO9QWStbgBznVjRXCnW; 25:jh1jp7/NsxEPAsUV2dyS1YJ9aV+Tj9u6SeDmWzfWk6SIuLF1XqFnVqtj6JtsVpp3Rdj8kFW7QC6e0LTJoEpYy0PJBHCZyvPRxEi7vtNcG+ba9ZWi8JjCHTtewEoNsAN2oMDhkxmUdlrqmR0JBzw5hB2IIsiSHF4PCjYNAKBWLi3h53HbkKQb7Gk2JH+f5/u9gvVV/23GIgo5YXb+YDVNSWngEe9DeFYLUKGfbzZQEm2M80zH19HqyZZigxMGooBFSC2aIjkS4cJJzmNRVPsUwe1iV1yPoa3HNB4238XesubEwgMk0XOkpbqxrO92wmMS X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0436; X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 20:4Y+jxg7xmfUQ5hZattoSHDPAesCdwX60NFUfCAwBYbhZboKvJMR95p7x5RbSpfhG+4UY52hOVDNTXHbnyPPesau2OupTHoh3o8M5UwaY8uzOgSDhxzhlfXTqU/lSfhvB6HxRCTVih6Blxu+i4myi1smKi6I/ql9i4hMNEBkTaYcjKkciZP2lW6bHYOB0qB92yi4/2XkzYjx+zx3Z+vF72KwM7J3u+kr/fHKMVCLpJEaVwgZsI5v4DGmTxJ1M8U8mM4y90yLLdHC+8Hi4IFrafc8W1HE06bus/gX67SMZ414I16Ot2Bs0CE8ytJEU+fvc+yJRJAlW80kf5UA2kKY7bfsrAoshrk5ujlEH6UchTscod2jB3QC6Ad/5cQeF+lSskdaH6G5zWtLSw4TKmGfzsPXNQIf/2RhCMU5czVVnCEabVg3Q0PSXfxp57PKwoNdpHrkWAgG0KV8sp6StVYZgGMQgfLbWxBqW0n8bnKfZxCT/deH9IP0125/4wBYSVHqK; 4:WSiqMv5QaVr6ziINnCjgn2XFcRwueSQnfckh1bTGFHZMDN3yXl78qW0KZxQQOInIBjukjbQ/KISablOoK2Ic0BVc1IOmgisQxzbQnRKtqwGP40C1dgk5/Qhk4idub2egXSkAqA/b3Jrdb+LiGymEGD+26+sUnqzBF2NGyMD3+PTNvN4HtXyrh23o59k1CoQ367JE67LWsrj6ppX/g7YVOiZcvf8rGD/GcervA/tTBo0HzF7dHuF6hrW6L6fjfZWf4Bwiut7dFlvuQpssphneSziwtSAeForUJLzVtw9W1KdpWwWYz+PXQf7sAUbgn7TFDG9ZeOmakEicbdvZDn+O14omKayuiIb7ZYvuBLf6zF7qBoMPs6tb/isjZtCIp+AP1EqTMFlcqcUSbnJZw7IYIiWXQi6rWnrYFnvlSCdOl0Y= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:BLUPR12MB0436; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0436; X-Forefront-PRVS: 08497C3D99 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(6009001)(50986999)(36756003)(92566002)(4326007)(76176999)(19580405001)(19580395003)(5001770100001)(5001960100002)(5004730100002)(5008740100001)(6116002)(1096002)(586003)(3846002)(47776003)(2906002)(189998001)(229853001)(77096005)(40100003)(42186005)(2950100001)(122386002)(87976001)(66066001)(86362001)(50226001)(48376002)(5003940100001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0436; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 23:CuW8fOd2ClDirNAlmApNnbCs/igb2mK2BDFWURy0XaNhteqwVhmPGibXKbpLuxdwIyWHNnbKqlEEwJcWUEQGMoIrAs+GFY5r6oaOpplE1i7MsbSO+XUNT8xW6oRV1GYEjszW+WIY0FrH86ikJAJEPSL4ficpf8aEdEgQbHld06dvyLES9Gxtvq8WCOOFp5DBCOy0SWqK30AXxXRaMM9Yw/3BY0pmayV6grezEQBnA618mP9zt++7nF9bphpllx0Tty9Ha3QpQoxVnqfzVfhZkI5TunaWxjgdt3uHOpkVvaHIIOh0yJ3WxoDhzD2tASZazDzXWXBZc8NiucqmtkeYJLkbzx+v1dYL9JuIQsXxE9G5/2AQMwwuGKxJzrFXzDI9OfYjoPxEagBtsIqbPeYGyAcsddvUOJvb0ZpHsFbq7IxjmdkfgPk5fC8CxG5G0+UjJq7nFU8EMfE3SHfqoORhjcHpJi2EUEcmIGbL/3JVfhVTv63VmoYlVK7OCLkXo1EDpyokL9qnzNA1ZKH1Vsr8kYOlp3VPi5YGhFqtl0HGrP4AF0vQ64jSXZXLqdbM506LImzLpP6mOS7Vu9TLbSUsEi8HeIeOoySbA2Pw+l4XznNORRphezF3Jj9Nej9AdCLoohJqb66lKTXBptJGEPo3WBcckuoiFmoIU9QPwoZTH+l0SHg7hMTWmLax5ntPDROYmFNHOR89X/Eb37sufZQjPd+/Y+0o+PEBUGwsJ0GB1jWPaI6xwoQ/SWWUUYUGaneBYnQuNWpQajG7rttVjE+YDNJunArqj4vKBUOnFAVPON6cxrbJL4BsEmZYucnWfHAEWEKwSrM97BqiTec4hNb949FFyNqS26gjc9DWpU8tI1wjdqCzUBALBx3nhQLpsS50bDad8Gb3GBWChyjgTZuiEw== X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 5:ZFMQPALvnsTaUNVyPoAwuW/VXKjUbl4MBvlSWtnvoKaBeW+yHFhW8RY6XaCTaBfdCqvFkzX/3ROEcFteuQ9+2HgH7sT+AMvUhpIFQIf02FnBx19PrIyJheHvWRuC2z49ejYcFWKkprcptjXF6Kt1MQ==; 24:houiJtpWl1wbj9pqqGb9IDaQTrTfEuTIVD7frMDzOVHV2Houqbd4u9bV4qKnhqd+mew4oLBrjjhh3GTLA+cK3PWYwYUX3ncuCWtOAYIk8Tw=; 20:5cj9IMuiqLaDWbUA4kGKg1jLn0ItOFtK7TQfXrTInq1K0wmfPSfJV90SMIEzRITiAKrM/x5Dj5s3ttSqM1hu+SJvQ2PcWyaboIWStvGYY3T0LGqAXvdssVztzgnplraq8cIgN+0M8ZMSOqIXO9BCJBBf/p2toZU2l8Ef/x/QBa3a+KSmYjbeLzw3O2AG6nce3WDu2XxTgcvreOOAw6QAnECdZenuW1Xm+pgazNC1+VS/xx3J3zyDoVE7zHsXKjVl X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2016 03:52:38.0151 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0436 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Suravee Suthikulpanit Add device tree files for AMD Overdrive boards which comes with AMD Seattle Revision B0 and B1 SOCs. Signed-off-by: Tom Lendacky Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/Makefile | 3 +- arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts | 87 ++++++++++++++++++++++ arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts | 91 ++++++++++++++++++++++++ 3 files changed, 180 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts create mode 100644 arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts -- 2.5.0 diff --git a/arch/arm64/boot/dts/amd/Makefile b/arch/arm64/boot/dts/amd/Makefile index cfdf701..db03293 100644 --- a/arch/arm64/boot/dts/amd/Makefile +++ b/arch/arm64/boot/dts/amd/Makefile @@ -1,4 +1,5 @@ -dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb +dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb \ + amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb always := $(dtb-y) subdir-y := $(dts-dirs) diff --git a/arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts b/arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts new file mode 100644 index 0000000..8e3074a --- /dev/null +++ b/arch/arm64/boot/dts/amd/amd-overdrive-rev-b0.dts @@ -0,0 +1,87 @@ +/* + * DTS file for AMD Seattle Overdrive Development Board + * Note: For Seattle Rev.B0 + * + * Copyright (C) 2015 Advanced Micro Devices, Inc. + */ + +/dts-v1/; + +/include/ "amd-seattle-soc.dtsi" + +/ { + model = "AMD Seattle (Rev.B0) Development Board (Overdrive)"; + compatible = "amd,seattle-overdrive", "amd,seattle"; + + chosen { + stdout-path = &serial0; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; +}; + +&ccp0 { + status = "ok"; + amd,zlib-support = <1>; +}; + +/** + * NOTE: In Rev.B, gpio0 is reserved. + */ +&gpio1 { + status = "ok"; +}; + +&gpio2 { + status = "ok"; +}; + +&gpio3 { + status = "ok"; +}; + +&gpio4 { + status = "ok"; +}; + +&i2c0 { + status = "ok"; +}; + +&i2c1 { + status = "ok"; +}; + +&pcie0 { + status = "ok"; +}; + +&spi0 { + status = "ok"; +}; + +&spi1 { + status = "ok"; + sdcard0: sdcard@0 { + compatible = "mmc-spi-slot"; + reg = <0>; + spi-max-frequency = <20000000>; + voltage-ranges = <3200 3400>; + pl022,hierarchy = <0>; + pl022,interface = <0>; + pl022,com-mode = <0x0>; + pl022,rx-level-trig = <0>; + pl022,tx-level-trig = <0>; + }; +}; + +&ipmi_kcs { + status = "ok"; +}; + +&smb0 { + /include/ "amd-seattle-xgbe-b.dtsi" +}; diff --git a/arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts b/arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts new file mode 100644 index 0000000..ed5e043 --- /dev/null +++ b/arch/arm64/boot/dts/amd/amd-overdrive-rev-b1.dts @@ -0,0 +1,91 @@ +/* + * DTS file for AMD Seattle Overdrive Development Board + * Note: For Seattle Rev.B1 + * + * Copyright (C) 2015 Advanced Micro Devices, Inc. + */ + +/dts-v1/; + +/include/ "amd-seattle-soc.dtsi" + +/ { + model = "AMD Seattle (Rev.B1) Development Board (Overdrive)"; + compatible = "amd,seattle-overdrive", "amd,seattle"; + + chosen { + stdout-path = &serial0; + }; + + psci { + compatible = "arm,psci-0.2"; + method = "smc"; + }; +}; + +&ccp0 { + status = "ok"; + amd,zlib-support = <1>; +}; + +/** + * NOTE: In Rev.B, gpio0 is reserved. + */ +&gpio1 { + status = "ok"; +}; + +&gpio2 { + status = "ok"; +}; + +&gpio3 { + status = "ok"; +}; + +&gpio4 { + status = "ok"; +}; + +&i2c0 { + status = "ok"; +}; + +&i2c1 { + status = "ok"; +}; + +&pcie0 { + status = "ok"; +}; + +&sata1 { + status = "ok"; +}; + +&spi0 { + status = "ok"; +}; + +&spi1 { + status = "ok"; + sdcard0: sdcard@0 { + compatible = "mmc-spi-slot"; + reg = <0>; + spi-max-frequency = <20000000>; + voltage-ranges = <3200 3400>; + pl022,hierarchy = <0>; + pl022,interface = <0>; + pl022,com-mode = <0x0>; + pl022,rx-level-trig = <0>; + pl022,tx-level-trig = <0>; + }; +}; + +&ipmi_kcs { + status = "ok"; +}; + +&smb0 { + /include/ "amd-seattle-xgbe-b.dtsi" +};