From patchwork Thu Feb 11 03:51:11 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8276541 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 0C044BEEE5 for ; Thu, 11 Feb 2016 04:00:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 2ABE220251 for ; Thu, 11 Feb 2016 04:00:06 +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 4CDC02021F for ; Thu, 11 Feb 2016 04:00:05 +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 1aTiO0-0001U4-Dq; Thu, 11 Feb 2016 03:57:44 +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 1aTiJL-0003Th-3K for linux-arm-kernel@lists.infradead.org; Thu, 11 Feb 2016 03:53:00 +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:43 +0000 From: Suravee Suthikulpanit To: , , , , , , Subject: [PATCH V3 12/12] dtb: amd: Add support for AMD/Linaro 96Boards Enterprise Edition Server board Date: Wed, 10 Feb 2016 21:51:11 -0600 Message-ID: <1455162671-16044-13-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: fa7c24cc-4ad9-467f-0fef-08d33296cf2b X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 2:/KmU+mPsBU9h4iBEW1FUmXJwzP/AQqqAaYrPeWoJ95YUwco8o0oak78238uRIbylB29IEuN8LCxKFcqoP3aG9GPtKN6yRirCPN0WphJuuRThHWAJw1q6jXK1YkG4BeS46DoYgnwjx3EfHzAKFynWA99jmDnXvHVdXWazdzEK2DJeQN/Tiz/kiDzs9deA2+Jj; 3:X4rUv5k1ZRv/pmbxQmsKcELWUiOeFQZxqL/7e3vKSMV9jq8PVYi7NePwibNk7/gJP8zE86XVNRc56HayyNA/6EIBQVVmppPIkX6kNs6DY1WuVYh1K4q9m/1pnBRFNHIk; 25:yUJR8KTxRAJ9ZVrk7RaeVCwSemKcyHaBJUn4wFq/IPQQ4eWwPsgNKSlf7fGhdWsEL2o1kf0xmMg68TIiTbCgcq6dhnaWzW90Cb+SSVdMLw8ZqkD0JVetTZ1sY2EFQb9P/mhA9sbVklSstI5ASmVArq646T4c+Hm7CxZSlvmSCYYk2UlTn5KF3Tii8WMO3CM7lsEO4O+X2ZeX+57bd5xdgYa5FYMZzIdXo1AsIWACaAE8AVkDY1XSO7LNtkrPVN+xGj/ggMVmaBKtqROZZzAcwZaadY1y4NkgcB77lOCNI0K0r3j0cPFg+Kgx0LiQTf3V X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0436; X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 20:QFBCpjWgef5l45WBdvhRWDMSRkAseFT9H+R1F/bu7+BQbcrS84nnn86fO0c/BjleUXUeKpT3Z+/Cxpt4FmjO9hJzyx+GjVCudefDbj2l1sKQoyYAP3BVkZFHGYeqcjDMlPsdmfLm8mCNoDFbQ8YTsHmG9sF7/8JQjLNdgrd767uKFAtAodBDGRI7bdcHgin/3UHob03p5Z2c1ZVoOVtCTzGBMhbUdVHYM7Yf34Hs4M21mEzClxXlljhui00SeRFAu4B/CcHPUs0AVvMBygWD2Qqe8n+eV3sbCAdd0pxnuNKeXE6/giZQZy10HFwvg9ggBpRblWGGjBoZ6JgriONOr3aEOqe8OEjTk1VP0zaYtXliId9LrPHJC74agM1Yrir2CVQ38ctgJHiD6OjHQ667qZSHgkOJf1fIH2ONMDLbWbbWh2UBHH5hHk4VRHVyHY6O+CKAPcEfVm1p9CZLS09K1jGEk8gSFkO6WdC0Iq73ous92h2GU6uhXPJTiOx7oYZ8; 4:lArGIQK9QOWUnzJeeJNusId8EhG5IJ/pvQBMiLCFGG9OlN+Pp1/ixLeZU2OwSBVmtxlhXDCOnxXpQxLH+6WFlgHAH4DUerW0BOCjwp+/zJWDLYTOciiICz5RG5fMRKvWkwjWVeq+fbAjjHOLkmvUZ6lELfgBAJ0jahTPHM0rKYaPSNUzdVL+CE013T8vBxIyLuwDm5op2ORzgebR//jA7Nzrd8/WLShSv9ZmGaLykNZ+Hr12kO+3QURUhcl8bSRAp55N+Wez+pby1x+MhbL3otKRHFAbgK/XAH5J4ydLgPc0Wvjk9qYn58tdiSmlthFsHqNvEb8V5CfrJ+3+Dig94+x/q47ukUvFoOUUh3m/WJJVc5/1T847nan41ptXjwDQIQ78SAH6iB0x0IZDUUczTreB7X0P9SWR9pBnNknTqXo= 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:YRx+YjVkLF2bvK+UgjEnFrqwhFnHAb+DFJqitDsQMnErqtqznRVSdS0qPxvzttyeIVpVoGLKC5Q3eLAKqQhW7PJluNBVc672HfzkDjBA2pif8jwdEhQWRcE21ps7VMZ+hoCuF/pAxpchHW+jrZRnJMBXbWYw0OS89FB8D4x/BAx0dA2KdWdX4bmt+YPzP/98vb7bedLwx7Txem8SQaltsw5jGGs3n9asMtG3Cxtshs958UAy5jigGrIjzfYJ2xtPf4z7D++wktB8pwVmSCzc9PrGPZT/AMs6xrCW1FoGDvZpdNwgKZ7VTG0jURUigiCStTdofHgtHoOrsGwBPOnQi7TzmPN6QnQFKxtj/RD0xDFc14fLhSZm/3St7HwB1xvZwEf2Z+swDcg5jhMSGLSIx3YRz+cSFKNmC/IvnUb6Ysi903ANqtyMzv/JFZCMFujoNYsSZsjU5cxXSKrtgBbp5yD8qQqvwpEopyJRprs28Yzor8Rs6OkqTDJxQVdqDzaNLH0BXw9kCwoWh1ylOTczNZi1y6sRnGf7YTpp2eimaq9TsHciM5+wsoQRS6C2Yc4rDdlw06qrv2CQSScWwow6c7OqOUHsbK4TdqCdfKfseWV4WEAw9JAg5gxD5cxl75+TZ0oy+/6cI5hHreNBkA7B164sO8Yhcu8XOkwImt75Yi/treyOAekbBo0b+q3sUXGCq2lIh5a7nX92j/oiBbvgR3qTY2WAK1zCQPnUXrQ/BvxLwvRjqP7QeIMAQruehUjl5BdmgCOeXqjvykXQruFu34MLnukbZ8CvoDfKZT0XhIr0zjxzwCi9CL+DOb8z1yywXRc/oGrgAD1JWmEZjHBfOR/2WhZoV0b8cg3EJIAnrQdF9o53jj2zf2M+cNg8gFIWk6MVFoBIY/hgS7GJNbHBjQ== X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0436; 5:DbCcfwBkdgQXJAtZgyRKDWC8vPylFHuj9PmgcfrMULmE2O4sDlHS1RPDbU5TKSoOC/b6xKUQt0OlnCmoovp+iwLNIOXubDl6C2Xml99bnXq28thNfOoBXyM/5edEv3iekOQ1AvNI0qrrd2F143+iIw==; 24:DnIcYMnUYOSN+lrr3ydXMT8WmIv5oWoO6co2jA3gkuRh94toRKHvEMvtrnU4gdsRsnQMUMVLCIgn/GlgeW0Ok9qFdwA50GDloDV8lxh8gMc=; 20:Ti8yqoYDFghG7LPfYKwbfgwzf/4Yh1KSts50mj6tcyYTGcQojWLwilitlcRJ5AjWDmuUarbub3civ19Cr3ebfba+c7uvkV1z2P5Pp3WCRCKfDm90YWUc1bZr9J1X+jpH0mpu0VtGEmsxaQkvnebyTQXUKz+je2FLxsbP7rQOtIIe05xUwoncYOhJ1WOd7mM+9YPdywxk9OMQmpphDDnq+UgFecRN3PJRfU8otlLd3tbtm+8Hgq+WPY95XVRdMZfX X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Feb 2016 03:52:43.6246 (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_195255_630487_6CA19113 X-CRM114-Status: GOOD ( 10.93 ) 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 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" +};