From patchwork Mon Feb 8 17:59:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Suthikulpanit, Suravee" X-Patchwork-Id: 61432 Delivered-To: patch@linaro.org Received: by 10.112.43.199 with SMTP id y7csp1582551lbl; Mon, 8 Feb 2016 10:00:11 -0800 (PST) X-Received: by 10.66.227.133 with SMTP id sa5mr43958796pac.36.1454954410965; Mon, 08 Feb 2016 10:00:10 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n6si11912688pfb.123.2016.02.08.10.00.10; Mon, 08 Feb 2016 10:00:10 -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 S932558AbcBHSAF (ORCPT + 30 others); Mon, 8 Feb 2016 13:00:05 -0500 Received: from mail-bl2on0087.outbound.protection.outlook.com ([65.55.169.87]:53003 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932515AbcBHR75 (ORCPT ); Mon, 8 Feb 2016 12:59:57 -0500 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:47 +0000 From: Suravee Suthikulpanit To: , , , , , CC: , , , , , , , Suravee Suthikulpanit Subject: [PATCH V2 11/12] dtb: amd: Add support for new AMD Overdrive boards Date: Mon, 8 Feb 2016 11:59:16 -0600 Message-ID: <1454954357-8395-12-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: 71e425f4-4c47-4e2f-5fe6-08d330b1a274 X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 2:PXIwYpW9gJeW/yp7CzSkrSt5ezRHBSJaN+pX+vlM/YELX/okvJ5UfEjyljFqiJSxPPMvEAj71f6DrsX02h94nYmM4k7YUZm2AIXdseU2dsY24q9FqRt0QIbXPBqvyX3MJMGA659T7y82IMu7t+Op+Dex33Wwp0ppaSKoXu1pznRX5f1TWP8koNmbMVHa3m6P; 3:BTeEecRaax9ZA3PrfNYYNljM8ZhUjYCv1UGuPSI6bDkvBwTBXdmblnUN89jUehl7zIAx1dtJUDMweY3Hx7Eas1nIWPsRZwyA4CzoZYD9mNwTtbA0WKjBIu1Y6CWz1XBD; 25:YUu1HFbJXOsbfxpiaTQB59pl/YH5Ck15BwKGJzMqx/+wnGdCbmKi892mftWB255y2+N9J9X9amAyWsY9WK0+tzZyuugTlXjkolsKmJ9YAOQSGPynGYjrl7jRbPUBLkNznsQ1fmLvIE87Ka6UWqpvfmQ/GH5oAJhLy2AMVjGf+wTiiIdKi8KQtUcRfEJZw67XncQpUCmXlIYyHagNFyfLTuZ0d/iZqrdJ1/wpRaBDxWJaIzSGTP6jdTkEZVz/5h5uK4E68JtU+PHGMx3vhemVPNsbOd+gTenWGG+z108vx8COUoTYKr2wLT1o8c4k/7WP X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SN1PR12MB0446; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 20:RHX8JyYDPh7VGuvBaopLn7OUnmue0ZP6MJJxuWCgTwc6jcd69nw/YK1XVeuAothEfaGwXyQJjeWTwfZk65W7cuzMgaOpcuIwJBXZvihce17pPVVMydNxTh0QzROhut78YaFy8JDjlYMO2Qk7XPbIMyp5Qr8Gcd4YY7rBiorKk04JhSyGrQ+yNOF6quolPvjOdVTSiw2DPo9laVnLjbCcabbsFhLu5lxTO2Gs4poWZgODVzeVUJX1q5cVJuRumrFJAd0amN2kcSDU6RURP9UjFSWRRAZ/AirA8m86RZ5wD7IvYIpMKjd6giCkyfeSOhkDl103J1YLIsZSj7hfPH2U0sqQyDz7sBKlHTJ+oXm99rGyOumkm0ZctmSb25Dx02pMacYoYpD64K9xbS9qS4T+nhRTILg7rmoklOhbqencgwLfw1QmoUtfqMNZc8NX02AfRVotn/izK6yKT44aR/Gl1UhhBubh1G6TwqVYoR9RLNPzrV9Ba17NpLRGAexc7wql; 4:j6s+dAI+5ekIQYNW96J6uJeOVZO3wZJRFEBZhZVHpqZQOD9/ig5sgQ1/6RyjwsXOtwQBF6Ily3Qwip7Ym9sdQMjON17nwUU5RaYCsQWnxg2GAvl0wosgxtSZvCBA6MgXKORzHhB7DYEYNkADFvHfr5lpTcquIy/5tXJSFz7gifSZebHZzkcwsxK8UbDxYUWxWyUPPtR+ilmBiJhJ9jceR/oJWF9Zq1n3w+iB6XBT8J75QNZHDLSk/4Ahza/zOMNNUfSTGrme0zUCFMUswz97P8E8i/RDJFhzVS1G53Q+TEV+apqdLnJxASiLaqx++93/sx5EpEQvzFEehUPen7bWAtHoTgFEoPK+RbS/7F5YLgfkZimVttNfHpJzvVLUWChQJ4Ojl85FqEu5NA38fq8S7mXRi3NGbY2TL2XLMWihNvg= 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:/RcE1CCiofIu2GRAJ+l0pS2g8/5M0GkwsG98dAXDve54/VFcJGLql+2f18LoNvinfNibNCVSq9nvx49HRZUdK/HTMlux1xKG1g5ViU5CiMbfKpGGaRKSYCu1ad3evyeom94GwKfSJNPlE9HixJWq343qbZtkwhuhxlcu9ParvUhaFj5iVLNz56GNpoaCLKHf+Bt2pmuNc47Y9YCw9ckGDkSiQ2CAQ1FL3kPvCSVEg6+TLzGQpQHt4Mp82I6s8s9UaiRbQ7i/Cahh22IdsvV4vpPHIPhazO08a3jRhRC3bP0NUgkaopIWp6zClDoxW0WzyvH3dL+3pB1CbKGJ17KKKsElpiwiI2GVQUIXbuiY9SL+wrQDI39VUBJeK0++EbV6zD06TX4zeRl8vM4Mon7aEfJOGULVxLQP5af1fqwXNxfeN90G/6ObtwMeiRt05ry59aC6Eun+3vTgnHPv/mOtvwMs2UYmhRB3Ja9Ez1oQCfbibeRtOm9yazNJC7BPt6JBG9wHuXAEMF9lPSGi89xK4MeDw6ZBKNSlxE7hklovoN/vjf2nL8soLK9i9OrkgjbJpyy+tAhHl71hc0vkERais3g0Pko5wexGad3qICXEZj3j+RbmUtydEMWwTyPyZ3xu+DPBgBBtsjk8UI7h9VatJRxAabcbmqSKVwcm8rbjV8zKvhYV3oDuuh9HGDa/NG9PPKfxlFqPPx64M7h1RmOKyzsBgLqg+F8ZsR2QluZH0xQJOO6g64OFS+E9l3Dyk4QI3Rq4MTG0uNZtLILx6qhKW4/wEl0JyreXg0i0Y0Ih+gk4YW8wjXGGAw622X0IzMTAMLxtbonK6ggznzn1KxPoNE6A91hvLUrDjk+4OZH1GOFiZpHqjq2JxRu9/yLDbjrjT8eA1u9OuMdLEoJkx5i6Cg== X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0446; 5:/UCySdhshpAe6LFkvmbQFiT/Ax3/sxRrJL4p4a8hZfslJK+TFaG7He2KTcKLvuz7Y8DPnLtXBwdzL+snipIoP2M+O/CYMRKH4HwXvKB6LjTRqJ06u6eWLZ4mil1bfOOWJsrE35tR1vi2fjFS0HbXtg==; 24:dUH5WGcHNecLBvC5Hd+TrnHZNMLR+VLGPtDYVn50Becy1pOzXUEI/0qNAoVVAFd8Foxkypq2lp/25nPA3+nmQy/CBQWMrXt3/Pc90LCIQNc=; 20:xz7dDXZgcju73d6pJ0Kx48J/yGKgtQ8bVkc0dhPduBwT37TF991fFUKkGwPHee3mXdAeSsKzCJ8BSsDJsa6MjqrSxy8X1sN7HkithzGNZr1DccT8ho0yS2hCcNCDupnPOLby3kb8KscvhIQ2khwtnokLlbNbZmTaHYc3m5MnlbBmke2yi/XwSnFVnmW6OukMDVCb4Ya0XoFlUmgB6N9A2GgJLp9jP1C/3jCu/lG5Iw/usaFQhn5EbVQYUDUESRr3 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Feb 2016 17:59:47.0689 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0446 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 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 -- 2.5.0 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" +};