From patchwork Mon Feb 8 17:59:17 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8253881 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 A0A899F1C0 for ; Mon, 8 Feb 2016 18:06:57 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id CA8C1203AD for ; Mon, 8 Feb 2016 18:06:56 +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 D775A203A5 for ; Mon, 8 Feb 2016 18:06:55 +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 1aSqBX-0006hI-Mo; Mon, 08 Feb 2016 18:05:15 +0000 Received: from mail-bl2on0055.outbound.protection.outlook.com ([65.55.169.55] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aSq6n-0000FK-4N for linux-arm-kernel@lists.infradead.org; Mon, 08 Feb 2016 18:00:23 +0000 Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=amd.com; Received: from ssuthiku-ubuntu-lt.amd.com (165.204.77.1) by SN1PR12MB0446.namprd12.prod.outlook.com (10.162.105.14) with Microsoft SMTP Server (TLS) id 15.1.403.16; Mon, 8 Feb 2016 17:59:48 +0000 From: Suravee Suthikulpanit To: , , , , , Subject: [PATCH V2 12/12] dtb: amd: Add support for AMD/Linaro 96Boards Enterprise Edition Server board Date: Mon, 8 Feb 2016 11:59:17 -0600 Message-ID: <1454954357-8395-13-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1454954357-8395-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1454954357-8395-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: SN1PR0501CA0010.namprd05.prod.outlook.com (25.163.126.148) To SN1PR12MB0446.namprd12.prod.outlook.com (25.162.105.14) X-MS-Office365-Filtering-Correlation-Id: 83e26fb5-b898-4dc7-6b3f-08d330b1a360 X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 2:yVQkFZxBuCNbYi9wcFFnS1reOaJ9eEPsrX6lCPbjeCsPdT3Agtl/qsvUfu09+EGfc55k4xV1EICdJvzcGbb9JGkfO22Ylp+HfF8pjSYF8CKs1YMXXXqe+z/a31Saq2iCy4E7CwOxwrDSZnFbX7YNBwBvllHHJuQBZSu8QRS0U4iSQ+nzi1SihlQ8VYQWxiec; 3:ww2TCrLphe5Gw2HamLMVuNI75OtPl0JMCY2fdTF5Ow/VNkTB/AL9rqYtDh8s7ypXgCWwvoxlImgffSIhqKe89pC8wtBFSvnwbSbdjBjowR9jojhP+vXQckIKpUWuecyN; 25:a3ut2CmBK0IRv1C98clAGQDLkeJI+QbKB4q4b6+9m6HnZ3wHZpVAINR0VYNeFyMLXBIYuoSbKkXQiTzqyGF0zcUuv2E1jm6LbjmHbbpBPWzsRN4ayUr30TFydSeYKvpVWkkYGiVmGLYRryUfAZC0u51fsRAXsh7ZWDYYIDdH6yDi4PZwHHrEAbBfL69hKh0S6kWLsXNEur9tuUWvsOmCjkOsEpU5+qv+xTK/Sd3Nokg5VXslqu3llCpv2Txj8iuxbjXLZO0HYWnkcauMKTWY2fBhHtknZvY7W/Gjs8uARpRaYcwe1+M7LGBsP5/GPy+L X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0446; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 20:uv9jxXNwtNthHkZ8DZx6RNN3wC3wnlLDyNC5SNXg+Li7W0zL9/3x4sevF3KXzP5JZ42dwSpOmbCloWPf80nJmuD9I0nWXlqMizlL3ducujU2/FzR4mHrsjPJtnV+0iiA3KCoU83Y8W9isT1wpHINMzJckgjPA9FZggGoJKK9wzTO50ZXswCbBc2+oOfgwsEhUP3sWzoJvO2kp2Dta1jFaNmweWbbFmGd5J6vzgZeq2gLw3b2bUlT1rDIhonl99DO4JZsk4qixopkSQdgBGeQbDqfVIoAW5SC2qRx3+lyVKOOGXHiwrkt9IGqdJL0mj6MuJvzE4WKul/yVrUM/itG+3TDGOhScrsNK0BiGpX19L1kcyS2wCHHO6q9YmNLyqHElhXP7U9NOxpC+K+smTiINs7zaRvjvnOQeNiARj31LgMUOL6CkVHfqhtI+Ulhj7Fpnp+u8AqsHV3AiqJ5n6SN6MZXv80dCtvKylDUT5EvQVmFN8EmllvCxDWAAeoWAOW5; 4:uC68Zf2ybne+RYnKeQac2XNpnUz54jqoMQy+KmnXhDTsZGfv7B/sWRUmSikjT7kpcwCkbZENq7AnZ72vD3FHYpI5BEb69JorYHLbO5HSruSplosGtSnSvY0eYzkhcvke4POpGLsnL3oN0n783f/KhNKGMf4SZr3EGvISm8SB7mp1aLpB4XiTJBfNnZx6MYZf1zYwNegvG4HlH3LwlHbg6WBquoqknsbrvdHgbS4BILuUaepTaoyhqvsg+3d/ILRkvO82aP8a/bHDqFqDRwU5JHuUvaDyDYu69h1SQBBYyLFbE/eXWX5zfzStJ4y6fztW9nxWLDfeuYoyyKn604NXq6LY03R5/kppiPYM3cIM8tDb3cxb60+lspxJyZahUuVSbLh52UU2K3TOWYbnDig9HPhfD9YUp34f+h3BATItNck= 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:SN1PR12MB0446; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0446; X-Forefront-PRVS: 084674B2CF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(77096005)(50986999)(76176999)(19580405001)(122386002)(86362001)(66066001)(19580395003)(42186005)(50226001)(87976001)(189998001)(53416004)(5008740100001)(5001770100001)(6116002)(5004730100002)(229853001)(5003940100001)(47776003)(586003)(3846002)(1096002)(40100003)(48376002)(2950100001)(92566002)(2906002)(4326007)(50466002)(36756003); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0446; H:ssuthiku-ubuntu-lt.amd.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 23:VK8l4v9AElxXnLNGPjuBHoycmce8cUaRhYpRaTtyo5AGIz2aFhT7aZ3X8BtK7VnrtZrR6IyXyaHT3rxrl86mYwwLIe61ebOrXGQHVlHAEDflDzdPUsrSo/G6+u1b3TP7bPZsoI8DkkwzqbIPIEvcLi7J/g5+h4s6+PJHpfaHMb05KwnQ9+1DWdlabS8HyiSX2YKL3zv6YkWaH2IN+FmAvzRxib4baTcxa6au48SFyrAaZWowNqCRYL2uEu11+MSqZ7hGVwcFqYff2cA7fluipOulx+a0JM2bQs2GSlYwyqaAhnBOKwyVr6jaDWqGdIjKsGq8YvCn66YK6s37dgZfeAMpevWUdcr4sYkTLEBEZox6Hb0cI9GRFn79d5r8Q6EyTHud8wjQM7jQVRntVpTPVgvq0LJmJDDPLI9oR0lmwG5iYMiL8GlGVUJfyokQTkTJCH0FNEy8HPVVYrwCWTFIJtwqU+eoF/3CrLGCd20T5bALmsn9xklnWqzpNZ/cEa+NxS4YSTtE+lKYxR8w5lIjkcL7p606d+Xmqr1HArlO6zJuz4drnm32Cu44bqvZ5MMo2HrUkQChgmLqfo66J2tf7hzSvMcbzFg77H/Y+JjHK++wDowMHVtzm4vsJdzBrP9dIUzc4V127VChKIZvGg3TkRXetRPUoUNBvNEfPxp0PGqxURhKQdsVVDFqWJjfYOiQxCK1DtfzAV5J6OL2K8AO4Dmar7hkF95Le2HKZkuDDGENzTz5aiQdP+8+TrdeOW+pcFX1vWFm2HCTGC4CYWICYnBOflXVLUoC28hKPdNLXpq3PwMCOziggGsEwaie8lsEDzdZwa3Tc40VcTpCYQcpZ9S8Bn/AZY6qXH0h3GuaTB+x7Vv9mxBshfiZpaVuCcp7ijsk7fX14S79Riz6JPb96A== X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 5:FlS/31GzcQDAdOvaPFAotHKGlq7tJUtrye0nTnEnc0GT9/ka0MMKi51k34ZfFZ+rKt86AHDsmCtCPT4gVXlWfe9mPV8EuMJhF2KRJGfGqJ1CpcqsvLqNqDsT+HCQrCM/bYKe9qKpfgMr7mpc+bJ4yA==; 24:uBlEOGVrKQcyvqBZCOjgHxLAtCbRQYZhkU/4yFDrRFrOs4n1X1qpyV9LZ1y9kF4Sk00dxrFcCQrX36BEEYuiuGEunfz+PO3Fotkc5YpZdwg=; 20:3Pie7ZJRmvSdQwFfBGJGf6sluQCMlLNdhNGgeA0ViKs2OG+y5efZFG5cosXRUNAIUVzFOmuqHztyHCBbuEAuHUMBsnQrvpPohR97+Az/dsWuF+/fKjhPcU8jtvbDUuXlMwzj1TAWhUMTaRMxIqjGwAjK15sfJq1yXkh7lLBa5Z28Qi1l0JD2Q5lvuL2I63+3H1M5rhRhQyFZIn6qBxw6QERTHsSoCJjY0FXJXTFyrPYdrqS7oVN40rAUWjagETWR X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2016 17:59:48.6314 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0446 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160208_100021_768883_764EF807 X-CRM114-Status: GOOD ( 11.06 ) 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.5 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 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" +};