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: Suravee Suthikulpanit X-Patchwork-Id: 8253801 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 CCACD9F1C1 for ; Mon, 8 Feb 2016 18:05:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C83182020F for ; Mon, 8 Feb 2016 18:05:21 +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 CB4DD201F4 for ; Mon, 8 Feb 2016 18:05:20 +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 1aSq9z-0004wf-CC; Mon, 08 Feb 2016 18:03:39 +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 1aSq6i-0000FK-VO for linux-arm-kernel@lists.infradead.org; Mon, 08 Feb 2016 18:00:20 +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:47 +0000 From: Suravee Suthikulpanit To: , , , , , 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160208_100017_407256_6E3B40AD X-CRM114-Status: GOOD ( 11.73 ) 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 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 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" +};