From patchwork Wed Jan 27 21:12:01 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8142891 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5B1C49F9E8 for ; Wed, 27 Jan 2016 21:17:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 75DCF20254 for ; Wed, 27 Jan 2016 21:17:40 +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 80EF92026D for ; Wed, 27 Jan 2016 21:17:39 +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 1aOXRf-0007Qx-3w; Wed, 27 Jan 2016 21:16:07 +0000 Received: from mail-bl2on0058.outbound.protection.outlook.com ([65.55.169.58] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOXOU-0003dk-A0 for linux-arm-kernel@lists.infradead.org; Wed, 27 Jan 2016 21:12:52 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Suravee.Suthikulpanit@amd.com; Received: from ssuthiku-ubuntu-lt.amd.com (165.204.77.1) by BLUPR12MB0434.namprd12.prod.outlook.com (10.162.92.14) with Microsoft SMTP Server (TLS) id 15.1.390.13; Wed, 27 Jan 2016 21:12:26 +0000 From: Suravee Suthikulpanit To: , , , , , Subject: [PATCH 13/13] dtb: amd: Add support for AMD/Linaro 96Boards Enterprise Edition Server board Date: Wed, 27 Jan 2016 15:12:01 -0600 Message-ID: <1453929121-12171-14-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BLUPR11CA0006.namprd11.prod.outlook.com (10.141.240.16) To BLUPR12MB0434.namprd12.prod.outlook.com (25.162.92.14) X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 2:i1FXEdOL5qrru9rvYoq+7F79CdJz8WaI8vgQkuQr6Hu7HTG9vvVFfu44VsJG7WP+7NgAhWJdJ4ReQ2aVqvy6zOEtG3Wvk1z9vKzYjnc41HbJP8m3UgI2/LdAD4HyoIXFQ8W0gg3vwdBcBHM31v+aHQ==; 3:iwiYs1h3CynTqO7B2d5wvdWxZOk/vjUPNNG+2FJubPnV8fRxSIfUReN05kN8g2EkIcv7WAxUZE21uSA0MurM9vMEvawletth+RLRUDdBcjd+wL8KrB67dexk+CFXxPge; 25:Si3J/vYwH+qOIUDcxocraGzm+xdXj2RPah4emHkcugOAgnhWAwhhZdWcf6acSfIApMoake53Sfdq4lr/slh1AzY6AWwh9t50kGM+TbTTw6Gb85JpW5lKZOWUuw0pzkaI+Sv03QPQ+bw6RHiI8bLUVEaEj3l8b9ckCD+MBZiB6L53+DdHMZRmS5H4sci+vLLNQ4maTMQncUGH3K/QEa7u7g+qlslyd1vC0UAd7MvuT/hA+py+aQNpn6LaRDddnUMV X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0434; X-MS-Office365-Filtering-Correlation-Id: bd74c04f-dc69-4680-d0e8-08d3275e8f16 X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 20:koQUP7nFgaSg0poC6ulGeWsF9vzRj9sFFwP8OkDFN52ZV9Nna+oCZuDXuEg66XpyhbNSpEvSSkkxCBzt99KzpwocACzcMGvDlkBAmy6SixBoiCqBbgWtaoXbZRmRH7KUF3SI/SgeHJ6i/W2Q+EaLPQmN//HyM0tdLJ4zWb28pVmBCva7fuy3qR+7QrAIyvA1OXAwH1LKXvfK8pFJwBllyZoMLw2yCjsRZGKjANUK1lVh/aBJ83yLr87A3I0x1Z3zIzNa7Fh+wNbYsqcyH6AHQl1qeekU5qsORRCO+Fcg3N6hCv2AiNsWa6GXzlSsKbC5zu5tF4W6ADEGbKch1Zrum2w1OX4JzAeaCVTCtjWEwCiAgNwddKrPdLFvIu6KryR0tKBwjuZ8YxJbyj0+U8gwyXl4DGpa3ONUSfBnZi4nKybq1ofoTmsKtLunKEG4ZVmCij/JDYkJO33hCFbo9OB6TAnj/WOPLiRqU/IJX4XPnow8H8QVWFvh2Yk8Uo91ojcj; 4:A/IrstFVtDfOnOEx0eYgBNrmwKwvJ2hjf+jLvQNPphP9ukKIR4FffNUkvw33d52Vq2AA2CZjL8CcInjutdzqUnNLc7Af8nSJWpZohTDiWMgxKpQH/YFK91G9s/uQ2D0GbrSJuJwqcAa/kKvgJOdf7xPPeTIW2UUmCBKvPsDkFI65rgXvOeXdvisTRmnj/bqHcFJiBuEM8Qh6/gpN2S6Vvqc5vya/D0n+4NfgcXIoum9BwLJSj/KDILesrYZ2rj8nkj0E44Vsov2esMk21C2YomZRCeNvhS3VHLEqf21o+Q4jWHr4xmS6JSCywmm+LAfW+N6M5yBXEJjbu985kdQmPlHxfuIBmOtdSMXy5+Rf2oVS7mzM2RKul91S3nu8fpPLhe4Po035/PiVHEJhhTXF34m01fme1ls0Fn8brqvDqDg= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR12MB0434; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0434; X-Forefront-PRVS: 0834BAF534 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(189002)(199003)(47776003)(97736004)(53416004)(5001770100001)(101416001)(586003)(48376002)(5008740100001)(5004730100002)(122386002)(42186005)(6116002)(3846002)(105586002)(50466002)(19580395003)(3470700001)(189998001)(19580405001)(1096002)(77096005)(66066001)(87976001)(106356001)(36756003)(2950100001)(50986999)(86362001)(229853001)(76176999)(40100003)(5003940100001)(4326007)(2906002)(50226001)(92566002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0434; H:ssuthiku-ubuntu-lt.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR12MB0434; 23:wCbG3PA5v0nu0lhOcz4Bc0bDeFR+BGRJLwaA0zyuI?= =?us-ascii?Q?1cOYrVJXx4MRAHljmMJB6qyrbXLcDXk+6ux+NsxMvMEm2+sM4pvH235vcHum?= =?us-ascii?Q?2aWHNQFJnQQnOAtU/iFPuKt9JJR+zY/HeyHQcNFFAHVO7CIV+c9kYMakLlNy?= =?us-ascii?Q?yvL9CPQbSmNQMakHAARhq4qSyD+F/IVaWmEYmXUR1xYcP/WXBQedojjpCR5k?= =?us-ascii?Q?YAykxnvYBzJcOIrA69PaPkaLC+arBq6mAvk2a6JBLlg7v33trzU8Di99LBKy?= =?us-ascii?Q?SB032ol9JjlzRjRPTe0zDcarONUI7jU7sBz2EA6AAW0JKLa3MQCepPlsNiLs?= =?us-ascii?Q?vZl7mHmyfU+FVjuKohfh4/YE5CU+tZil/k1YMiYFO1Foj6U4hvSxMCw6Pjxd?= =?us-ascii?Q?NrhcVfoc9gqvdcqzcpvhxa6T8A29CORpK+yGbcUvN3rxnCem1tes9KgmmIjo?= =?us-ascii?Q?lcdQA/pLV/wro+QewmzwvbNN/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P6uCjZU6WlUHhgtfb+gkWsBTVihaJV7WPmqvMjzRZQ=; 20:u+ryKUFjbp/j15Vuv+F3U25YG4bHkCn1Bh9x/Mu2xpzmuXeJ/O5MOsfDuk+FAbmxQeJxx9S2dVltjEeK6rVDFgGgT9OfTX5tLBt8s302sALAt4Pjh/7ZhVz08bCCG3nfRtBJT49paOLMLHvAiK8nVwQ1FY5QAaCKpSxFbhP+8XlNY/sXCjQaKrycUyojvRBxgaaaRizdRb75o+pKBk/DcAMp2aO9gZUfy4eQhMmT+wX8UrP1jHd7ZosaSxwqCU6E X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2016 21:12:26.3074 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0434 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160127_131250_589887_58945B80 X-CRM114-Status: GOOD ( 12.11 ) 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.2 required=5.0 tests=BAD_ENC_HEADER,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 file for AMD/Linaro 96Boards Enterprise Edition Server (Husky) Board. This is based on the AMD Seattle Rev.B0 system Signed-off-by: Leo Duran Signed-off-by: Suravee Suthikulpanit --- arch/arm64/boot/dts/amd/Makefile | 3 +- arch/arm64/boot/dts/amd/husky.dts | 83 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 arch/arm64/boot/dts/amd/husky.dts diff --git a/arch/arm64/boot/dts/amd/Makefile b/arch/arm64/boot/dts/amd/Makefile index db03293..ba84770 100644 --- a/arch/arm64/boot/dts/amd/Makefile +++ b/arch/arm64/boot/dts/amd/Makefile @@ -1,5 +1,6 @@ dtb-$(CONFIG_ARCH_SEATTLE) += amd-overdrive.dtb \ - amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb + amd-overdrive-rev-b0.dtb amd-overdrive-rev-b1.dtb \ + husky.dtb always := $(dtb-y) subdir-y := $(dts-dirs) diff --git a/arch/arm64/boot/dts/amd/husky.dts b/arch/arm64/boot/dts/amd/husky.dts new file mode 100644 index 0000000..1381d4b --- /dev/null +++ b/arch/arm64/boot/dts/amd/husky.dts @@ -0,0 +1,83 @@ +/* + * DTS file for AMD/Linaro 96Boards Enterprise Edition Server (Husky) Board + * Note: Based-on AMD Seattle Rev.B0 + * + * Copyright (C) 2015 Advanced Micro Devices, Inc. + */ + +/dts-v1/; + +/include/ "amd-seattle-soc.dtsi" + +/ { + model = "Linaro 96Boards Enterprise Edition Server (Husky) Board"; + 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>; + }; +}; + +&smb0 { + /include/ "amd-seattle-xgbe-b.dtsi" +};