From patchwork Wed Jan 27 21:12:00 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suravee Suthikulpanit X-Patchwork-Id: 8142871 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 A67339F9E8 for ; Wed, 27 Jan 2016 21:16:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A395A2026D for ; Wed, 27 Jan 2016 21:16:54 +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 9C9292026C for ; Wed, 27 Jan 2016 21:16:53 +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 1aOXQm-0005ke-4S; Wed, 27 Jan 2016 21:15:12 +0000 Received: from mail-bl2on0072.outbound.protection.outlook.com ([65.55.169.72] helo=na01-bl2-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aOXOS-0003g3-Az for linux-arm-kernel@lists.infradead.org; Wed, 27 Jan 2016 21:12:50 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Suravee.Suthikulpanit@amd.com; Received: from ssuthiku-ubuntu-lt.amd.com (165.204.77.1) by BLUPR12MB0434.namprd12.prod.outlook.com (10.162.92.14) with Microsoft SMTP Server (TLS) id 15.1.390.13; Wed, 27 Jan 2016 21:12:25 +0000 From: Suravee Suthikulpanit To: , , , , , Subject: [PATCH 12/13] dtb: amd: Add support for new AMD Overdrive boards Date: Wed, 27 Jan 2016 15:12:00 -0600 Message-ID: <1453929121-12171-13-git-send-email-Suravee.Suthikulpanit@amd.com> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> References: <1453929121-12171-1-git-send-email-Suravee.Suthikulpanit@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BLUPR11CA0006.namprd11.prod.outlook.com (10.141.240.16) To BLUPR12MB0434.namprd12.prod.outlook.com (25.162.92.14) X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 2:s6wrWXjLd+5EL9KG8ibul1j8oMv85JNUk00qEu3+rjX3fw6JrMx1Et7E0u0Wc0F7jjMSrR0iF/TawZsdoGDKeDuLD2GhorgR8DZPuZsniomTgcY8ntMhXBatrQLMy1iRjs0j8DVa4OQjVULcI0sFqw==; 3:CvlFUgLktbuRgffg86Tlvi8KAx/9E0gNd0J3IRibBvEU2CkAOZJ/T3rPJ/ZPPLxKn6wYBrOpzsKC9rjsmuCp3iuRV1LBEErl+SAzBtf44ejlPucXA4LTjXy6bk/GJem5; 25:L///AmuEYoj+7xqL5uxd+dVLTFJxCo9MGVknHQ26uNC0T1onW7qXxi5I74Rh6OqnzLqjWV8CuUAk5tfKQa1Ua2CQU+rGGhpjerrb1Ck59PNb7a8x8VyByP3s6UmsJfI/uLf5g8oG/5MsRCFP1gZYV6zcSonkKteGouFOjRsxyLzIx327Uydr0ICQhn8fAOyaVOVDi82o9h2m7xi+u7fdGHt3RLnT5enrFMgyhdDYYIL2Jfu2S2ayiir0XjtAuoTS X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR12MB0434; X-MS-Office365-Filtering-Correlation-Id: 731dafac-920b-4551-889a-08d3275e8e6d X-Microsoft-Exchange-Diagnostics: 1; BLUPR12MB0434; 20:WPYdsQJv/0eah0dck+S3OS2Cffb/5x1CNzCqyDiLfDXy263qCITL4kOW59XNjsgFW4MXl2DhAOT2n9X6mOMhbJlURqGOKdr9RuDqkKkrDyoeLCx478y+PzIaSLKuRUMIJ2JFI8r4INWXj9/eVWCGvV/6RoOEpTo2OFZ9TfB4K9C94l9uS9+2zTS2e5aqol6sS2cGTDw/MJNH8yRxmmjUM+TgYvBGUAWZAOHcWP++TC5xs+aQvSJmYNMo15LHy3jybAtGypgThI8WQvB3NYhBYqDO0ci+dRwT6LKVr7aizFEknbN4M1mn7H6TICtaUKkemgDYiiC2BwXUzm4aMi4ypb/T6MCTPDrwd0ImxqCDiUoYlkh+43jQNi54M20qeNlHGJ1TtQf9B6dWnx76pDXPK+eu849W2lD1+2oWjOVKfhxdb1mVS9bUqMnViITEfO76P0176z8/D+SvmwmzZNPvenJFpI4wIWuJOuMNTQlIduM0pIDr6KDmF+/tPlsWFQxX; 4:Gnk0AP61QQnjsVGgwS4i5erxccZCm9cIHYkqKEVEDhYQ5e3a7+5vZ9C6HXG2Jc6c/mdTCnTZQnnXhXCNcb5Dz6U/p2cZgCXyxLlroFW2zK3SOX8BMTdlWRzREOEAyVn+6GcYkbQlup3Rdi/C9aGLywV+z91+ouX4UGacyUh8LJC7zjXihZ2cIQna/5yJvOPTSmJLj7jD99XhFTtiH8CcjLbuJf7gaaAc7rI7c3DhWzVVqVgFvZIxlqe83r37cjxkDPupWtNCbaUSyiEHScibPD9ds4xGIvhyxXFrlRg10Cu/wyFrdNxAKoKR5/exppJFhHMgX1sCEV6ahhm8gd4EXnt8rDgsfT3XdpGQDUBYJtqjheS3p8nkDD/1nShR/ot8zTYsEXBqr7ka5zKeispTz3Xbcsz9EZOfFQzU+O92rlM= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046); SRVR:BLUPR12MB0434; BCL:0; PCL:0; RULEID:; SRVR:BLUPR12MB0434; X-Forefront-PRVS: 0834BAF534 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(189002)(199003)(47776003)(97736004)(53416004)(5001770100001)(101416001)(586003)(48376002)(5008740100001)(5004730100002)(122386002)(42186005)(6116002)(3846002)(105586002)(50466002)(19580395003)(3470700001)(189998001)(19580405001)(1096002)(77096005)(66066001)(87976001)(106356001)(36756003)(2950100001)(50986999)(86362001)(229853001)(76176999)(40100003)(5003940100001)(4326007)(2906002)(50226001)(92566002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR12MB0434; H:ssuthiku-ubuntu-lt.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR12MB0434; 23:IlAq1kRN0b59horXwe5ZH91pTARmxXUs4zk9ZUz4u?= =?us-ascii?Q?6uHWoqdsSU2cjDdMlm/WFJ3GiZyI/MBaWkb6NuL4dTjlT/P7i1akk2NUkEy9?= =?us-ascii?Q?MG9Yn5ucF4oyTRuB4nbM7jXib8Ph7ELunaAlbjvyd3iGuZkIX1BJMU80FTmj?= =?us-ascii?Q?t2sbhmX7qhKTWFoJoBFFDHgUfgXIANb3+vV8/FD4bM30VppGAfMgLsKyUfm5?= =?us-ascii?Q?DNU+9pZGLP7d8LPerkl75O+nyZEvzO5u2WQPw9KJ1vfakogovb1A/wDpFQUW?= =?us-ascii?Q?YWnarrABXIECQtzcbAmc0buiicGGCKe6HlJA6CoHQqA71eYc2jCoEfn4hQPJ?= =?us-ascii?Q?bK7VOnYIamLqKK/mmtZn5SikpeQVTIpr3IIcF8o1C0ddpKQE4G6kLcpCn4HC?= =?us-ascii?Q?XxRk56cL30uKDjcv07JmnmEBkcr0IgHNh1naLluUy6kkp2zJeJthFuVFzaw7?= =?us-ascii?Q?a3GJo9hVSQJMl0kHcbebfkiUWjm2B0ECpDHuHvTzAxG9xIG9ubIl9GCVup5O?= =?us-ascii?Q?ailePspgejvId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aQG8MohIxxOjd7x4K/98JNIeOTBimnSRHBQkErhvOuRSuuTSm3IJItHvGHsNW/dn8hrJn0kzxC8V3ZwKyuFHSBMNfyA+g9Zfk1GgdnUDyM4n5YgjkGc1CLeQ3 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jan 2016 21:12:25.1980 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR12MB0434 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160127_131248_589470_8CFD4A8D X-CRM114-Status: GOOD ( 12.90 ) 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.2 required=5.0 tests=BAD_ENC_HEADER,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" +};