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: Suravee Suthikulpanit X-Patchwork-Id: 8276531 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 504A2BEEE5 for ; Thu, 11 Feb 2016 03:58:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 57CDF2034C for ; Thu, 11 Feb 2016 03:58:08 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6036E20306 for ; Thu, 11 Feb 2016 03:58:07 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTiMs-0000HG-Dm; Thu, 11 Feb 2016 03:56:34 +0000 Received: from mail-bl2on0097.outbound.protection.outlook.com ([65.55.169.97] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aTiJF-0003Th-DP for linux-arm-kernel@lists.infradead.org; Thu, 11 Feb 2016 03:52:54 +0000 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: , , , , , , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160210_195249_987784_A4801904 X-CRM114-Status: GOOD ( 11.65 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, brijeshkumar.singh@amd.com, thomas.lendacky@amd.com, linux-kernel@vger.kernel.org, arm@kernel.org, leo.duran@amd.com, Suravee Suthikulpanit , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 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" +};