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: "Suthikulpanit, Suravee" X-Patchwork-Id: 61703 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp3028629lbl; Wed, 10 Feb 2016 19:53:13 -0800 (PST) X-Received: by 10.98.8.200 with SMTP id 69mr64589461pfi.39.1455162792084; Wed, 10 Feb 2016 19:53:12 -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.11; Wed, 10 Feb 2016 19:53:12 -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 S1753689AbcBKDwz (ORCPT + 30 others); Wed, 10 Feb 2016 22:52:55 -0500 Received: from mail-by2on0061.outbound.protection.outlook.com ([207.46.100.61]:32800 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753659AbcBKDww (ORCPT ); Wed, 10 Feb 2016 22:52:52 -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:43 +0000 From: Suravee Suthikulpanit To: , , , , , , CC: , , , , , , , Suravee Suthikulpanit 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 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 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 -- 2.5.0 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" +};