From patchwork Sat Jan 22 07:32:19 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 12720554 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 912B1C433F5 for ; Sat, 22 Jan 2022 07:33:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xzP1UXKO3Gt0tMLSyr2NhpbeM9ykKaFJdu47QEIvJnM=; b=XQh8XiuREUDAXY +6so+6RDA0r61p8gbZhgL9QJQgpJbktByYryNsxH1cMhJ407q+436abYQv1R/Y0iwD5xPmvbNUKTs d+ypX0jq3ilsdUZljvbjKan49OA8SB2fupRx3NR67C/tIYP5LAn4XMt70kYyc57iNNWQ32YROS/4g cS0od6KFEKhc8Ap9DTaIrKGXBXXAXq8rCPdHWwaJ7HG8Xa1hVLBGkxX65QBQFR2TzjoTqdiO/B7OE 3nj/Gfs4ZQjwEAT1XRtFLSyw14q3nLCX8PQodmzxxEn8CESDFTwV2Mz3skyHRLhg2v3owSl1owIVH YEM6eS9+BC/o5cfpvdpg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBAt7-00GidX-Fp; Sat, 22 Jan 2022 07:32:41 +0000 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBAsv-00GiaJ-Tr; Sat, 22 Jan 2022 07:32:31 +0000 Received: by mail-wr1-x42e.google.com with SMTP id u15so3773515wrt.3; Fri, 21 Jan 2022 23:32:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=vQPxP47/SI1S5KWtgWG+VbRHmE9OA9+/Jfo9crf1SUM=; b=VYkOYhzeDSKuwhEEvi+w/G4AoJ4AwR2N66fCvdT80WOuzy68msz8FaG663DO+TruuJ 0U9G80k757Rjhs2GuvbTTKhTrxQpCyRf8hMQCFTPQ7pzIHF53nOklvGkNQnI7QqPb2Y3 oI29WF96Eyy75ElMMKVones1q4BlWeAkvsfyfod/wEKt0P5MPS0qf48BfXAdnOzcX/R1 YtketIMq0nFtU4trK1Zezy9bbBqBPPFCPY82MpPqn+i5pLHmMsi7Ea4XapMM7okkr88p DWGpg0++o+q7qqNIjCVRxfPyy0oJ11Kr1ZBm+1xeeu1M4zOdRl/Ey18Ud79nsRzOCmUo m5KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=vQPxP47/SI1S5KWtgWG+VbRHmE9OA9+/Jfo9crf1SUM=; b=cgtCIW5HTNv02k4r8McX2ryzCBB4CVM3IEpFbSJrK2mIWYlrOPwO3fN0mA3SVFKAQw zXIEzupJclWfGMNmKuNrkd4i/tcaFKypNs5+fhfK47TDstORmcQY5XqKhedDtBWOBzl+ jJQxLDvoAsHDtY01BOCL9Ysj4Gi5e+zvlLbRBOOmwKweDiVzfqmqvvNoT4QCKbIo6VDR 2NTX9glR2N4my11UmEyuL0AWzYGfcFRT+XnFuhPd8ew89rw1nqwIs6B/40fWDBxRSzH0 5Qs96atAE39DNTA3LJ+9F8tnWqGI5bXHn3tslEgzycgEA0iAtCiAerqFuB9EKaMP7dNH hdeQ== X-Gm-Message-State: AOAM530p6uXA04mPEnskk2YDPyjvqG+v7rloEap7pUOxidx/xKHkIr73 M64Mor6P/JTSAhs8Ekv29v8= X-Google-Smtp-Source: ABdhPJyHVe7oK5iQ/081jmH9XrPsNUo/9dNQ/COldDs2uJnD5Z1Q5FUbsF4G3/d1kz0/AJnVWwJPAQ== X-Received: by 2002:a5d:6d8a:: with SMTP id l10mr6747530wrs.490.1642836748058; Fri, 21 Jan 2022 23:32:28 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id i8sm8970485wmq.23.2022.01.21.23.32.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 23:32:27 -0800 (PST) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , Neil Armstrong , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt , Furkan Kardame Subject: [PATCH 1/3] arm64: dts: meson: add BL32 reserved-memory region to GT-King Date: Sat, 22 Jan 2022 07:32:19 +0000 Message-Id: <20220122073221.2398-2-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220122073221.2398-1-christianshewitt@gmail.com> References: <20220122073221.2398-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220121_233229_984107_546B86FC X-CRM114-Status: GOOD ( 11.16 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add an additional reserved memory region for the BL32 trusted firmware shipping in Beelink g12b devices. This fixes a long running issue with boxes booting from Vendor u-boot where the board wedges during boot or soon after due to the (un)reserved region being overwritten. Fixes commit c5522ff9c729 ("arm64: dts: meson-g12b-gtking: add initial device-tree") Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts index 5d96c1449050..58a300d6b545 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking.dts @@ -19,6 +19,14 @@ rtc1 = &vrtc; }; + reserved-memory { + /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ + secmon_reserved_bl32: secmon@5300000 { + reg = <0x0 0x05300000 0x0 0x2000000>; + no-map; + }; + }; + spdif_dit: audio-codec-1 { #sound-dai-cells = <0>; compatible = "linux,spdif-dit"; From patchwork Sat Jan 22 07:32:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 12720556 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id BAFB0C433EF for ; Sat, 22 Jan 2022 07:34:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=S+DL6MV5wM0P9m9rGpU4P70O5+YiQJEEy+Ob1z8Sd2Q=; b=lzTPYCOmziGrRl 1SZ30tnRBU3X+PoBWo8pgP9c+Unb0czE5fyCp7lVXhjdRzFNet597PmZHS+OWaSuHdrLsqMz6GeJY ypdgrLth0CSR2FwOiauq2iQujqzvMboNpkqkM3YyU1m+aqrAOrIruZNaktGaOoeJ81hQv02c0HYf5 j0HlOwJCRNhX/NKoPKyRi4zRBLN+8lJG0Arc47Pli3Fmnj0kMoBNylIAuyQIijiXQwtwNWwmD2I+f lDHtiYH2hBKCZZC2I07eHF4FKxqdk1H/tXQ0rcYz3XkpVUid9Ek0c2QU1bZSphepBM0dZpkTZcbdF JoQUAS6xva69wxroCBVg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBAtI-00GigM-Ez; Sat, 22 Jan 2022 07:32:52 +0000 Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBAsx-00Gib5-Ko; Sat, 22 Jan 2022 07:32:32 +0000 Received: by mail-wr1-x42b.google.com with SMTP id a13so3782730wrh.9; Fri, 21 Jan 2022 23:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qkDZRQEWdk0lu7bNuQSV4AkBZ5HIfgnjrIjv3tIsJzY=; b=AzVZwg0k2W6CP3Fh8Xm/bAgl911hncaM1uIGZIDornrKOcgHJsotYAIwvmmZ68Tj1m uocBG2841Mm541VA8qWEOfyWexZg/MpLw2+DBYtxMUIb69sNn+DdpTKGPNfL9w8PyqSx W5tBDu8hgFN2/ySIFn5ncsh19EpWlow6J2xjjYv16qMq6dj9OpIxsBsaEMkGV++9at5U MfkunTXl1DZa8TIEQJVsKuJCqMyI3jf9gnpqu8ZHhUR9X+7OnBj+V07BA8btKQNpum9H Zv8mKZhv76sq8hw2BqzK2MPcSJAROENmXlNVn7whiOBYhx7J0BGTBZH5Bw6pEldZDxYi RGhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qkDZRQEWdk0lu7bNuQSV4AkBZ5HIfgnjrIjv3tIsJzY=; b=KbctdcpSQRFarhmkHF9iMmWGTgn41f4Oh2LWIX+DjZ5pQNl6qqK8IpVRVQ/AOgf0JI jYVWdatKTvpGXBz+bxnDdAik//CKt7XInPL4CpOctUw6xOSzofaaZQdDOG1gL3M8V+DJ VH9Et1BBzbEHxXmxAOli9nmvEw+7Lp2CYPsTS6jraR/tXdA4TVN/Xu2rL4ZH7zCMalGV KigRZTQjR8u4WnT6U+1XCH7AMiYzgw2XxoYQ3bEvqry4nU1FxuPRYnZm2TyoRzYL9GNE BkFxusEapzJM0V8vA2wQ9SYvHLgU0868D07ewpEL7JD6LepgZygxx1YYGLXUXAjO49gS LTvg== X-Gm-Message-State: AOAM532uxl/vtHOX7egKuY5nAoeYnncQYJrt9vaMxs3dSUSmaRkV1Q2z oGJ2XiLRjiVmmF8Wu897sqA= X-Google-Smtp-Source: ABdhPJzE6hu9cKNLdsUd3UjqpvEmHhwfp8Pn9fuydve0X9sJ/0BrRmpM9JHCzgaX2iCUlWGFFlf97g== X-Received: by 2002:a5d:624f:: with SMTP id m15mr6336244wrv.13.1642836750180; Fri, 21 Jan 2022 23:32:30 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id i8sm8970485wmq.23.2022.01.21.23.32.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 23:32:29 -0800 (PST) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , Neil Armstrong , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt , Furkan Kardame Subject: [PATCH 2/3] arm64: dts: meson: add BL32 reserved-memory region to GT-King Pro Date: Sat, 22 Jan 2022 07:32:20 +0000 Message-Id: <20220122073221.2398-3-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220122073221.2398-1-christianshewitt@gmail.com> References: <20220122073221.2398-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220121_233231_714263_FEF69B80 X-CRM114-Status: GOOD ( 11.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add an additional reserved memory region for the BL32 trusted firmware shipping in Beelink g12b devices. This fixes a long running issue with boxes booting from Vendor u-boot where the board wedges during boot or soon after due to the (un)reserved region being overwritten. Fixes commit 0b928e4e412b ("arm64: dts: meson-g12b-gtking-pro: add initial device-tree") Signed-off-by: Christian Hewitt --- arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts index 707daf92787b..7782fc9fc12b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gtking-pro.dts @@ -19,6 +19,14 @@ rtc1 = &vrtc; }; + reserved-memory { + /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ + secmon_reserved_bl32: secmon@5300000 { + reg = <0x0 0x05300000 0x0 0x2000000>; + no-map; + }; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>; From patchwork Sat Jan 22 07:32:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Hewitt X-Patchwork-Id: 12720557 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 575EEC433F5 for ; Sat, 22 Jan 2022 07:34:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:List-Subscribe:List-Help: List-Post:List-Archive:List-Unsubscribe:List-Id:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qb4M6PtUJFYc74xLNeZIC2gvtQ0+ZIWQQjAv1yEUW7k=; b=Qyy03ZCO3dDCTb ZYgOvXwisEaJVYQSMNTcUlmKZewy89WRlseVQyoNzdnjVV+bwSKxAjEG+0loL5sQMPVN6TAYrVMS4 wyyR99LgouJ54xu15LeLB7O8hpGofcbiNDY2xHe19D7ioQ+wuGwn2xu5LD1+XjrauE3fTrjPXDEjs UiPegV+wfRQNw4Ghe2T3kuP/JQeYod4hDsrfE14NpuTT6VDVD4UNCg2vBHRAfSobUREtfReRijTQz qB0DX4QpyXuI4eavFOgBragZnrli4+KspYHndHGxFdVDJu1TPBRmVgRaD4JHr6BUjy2qM2SmevAXG o/LpooclUlPdo3Cws5ow==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBAtT-00Gik4-Ni; Sat, 22 Jan 2022 07:33:03 +0000 Received: from mail-wr1-x42a.google.com ([2a00:1450:4864:20::42a]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nBAsz-00Gibc-OC; Sat, 22 Jan 2022 07:32:35 +0000 Received: by mail-wr1-x42a.google.com with SMTP id v13so3768620wrv.10; Fri, 21 Jan 2022 23:32:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=1dbRvYlFYtDwYEmVyaZdpxRConwrNczxL4pzjyGKTeM=; b=Ymq+X6yZH67bhxLGQvvvDuVW5WuGuC05+9SEuvh6VzWhqxI++n4PQMwKI72DonXbcv Jm1o3bTvlY79AHPM887eoZqOPufKTfo2WXBKHXlEQan+/+G1Pr4wODrRZOat2ksVsYlO kM9wwDeVjTuEFa5UzkLetEXfqdVHy6Jlm4fPQwOt6jX19mCa4T4ASEPAqS0ZwQ7ZW96U X2UCA59NYW9nsaO0zopnRQ16BSUpL9UxssDfNCT6Ef9wO/vFqweejM9k77tS5OVommWD ptKQRFDpo2cVA+6kVDuRI7TuWdlQLtNv1F9n2F2J9OjRcoKY9C0Te8cQSHuB+cSMUY8J CFUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=1dbRvYlFYtDwYEmVyaZdpxRConwrNczxL4pzjyGKTeM=; b=ly43cmcuG57Rx2XsK+IuybiCscbnmMY99Ydv3XbUGpaACEs63hmhUs0iPnfXr83rmT T7UZLNr+igwjZO3EB/QBwQ3d0+dycIB5YmscoRzt3mhxKj796x71lqhf9dRHA9MwXjyj OJIzKGWuvzC2VaGSiks8Zl532CHPJTTQRuyEM8mi4rm3tTjgpy6CDzRxdsIGid/Bc/NW +Ij1B9a3oyr5h42yawKuVJ9UgZBnL4yee9xI2hLunA4sqImrbBsHRDhTwUJvr6TXRr0V ada1qDGEZuX4xqaFK4WxxpmNQHV6ZNg+xepzRLzClHZ7kZhH+PFfjabKf32K/I/0DwUL 8W/w== X-Gm-Message-State: AOAM532XCDwOJE/BwY/tQ9UebnpRHgH9Yfiudlce8tu7ygVg5HjhdRup jEmeP4XAjRpjlwPAwtl+KvM= X-Google-Smtp-Source: ABdhPJxmD/1s884WHFC5qHJ6DlhRLHZ4vDsrKm089DWjneV2lKc4wGWAIDh9CiSAcCQ2LKPzv5eQ/Q== X-Received: by 2002:a05:6000:1569:: with SMTP id 9mr6440779wrz.155.1642836752312; Fri, 21 Jan 2022 23:32:32 -0800 (PST) Received: from localhost.localdomain ([87.200.95.144]) by smtp.gmail.com with ESMTPSA id i8sm8970485wmq.23.2022.01.21.23.32.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 23:32:32 -0800 (PST) From: Christian Hewitt To: Rob Herring , Mark Rutland , Kevin Hilman , Neil Armstrong , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Christian Hewitt , Furkan Kardame Subject: [PATCH 3/3] arm64: dts: meson: add BL32 reserved-memory region to GS-King-X Date: Sat, 22 Jan 2022 07:32:21 +0000 Message-Id: <20220122073221.2398-4-christianshewitt@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220122073221.2398-1-christianshewitt@gmail.com> References: <20220122073221.2398-1-christianshewitt@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220121_233233_812508_EC979FFA X-CRM114-Status: GOOD ( 11.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Add an additional reserved memory region for the BL32 trusted firmware shipping in Beelink g12b devices. This fixes a long running issue with boxes booting from Vendor u-boot where the board wedges during boot or soon after due to the (un)reserved region being overwritten. Fixes commit 93db2ce05204 ("arm64: dts: meson: add initial Beelink GS-King-X device-tree") Signed-off-by: Christian Hewitt Tested-by: Furkan Kardame --- arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts index 6c7bfacbad78..c6178cbe3a9b 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12b-gsking-x.dts @@ -20,6 +20,14 @@ rtc1 = &vrtc; }; + reserved-memory { + /* 32 MiB reserved for ARM Trusted Firmware (BL32) */ + secmon_reserved_bl32: secmon@5300000 { + reg = <0x0 0x05300000 0x0 0x2000000>; + no-map; + }; + }; + gpio-keys-polled { compatible = "gpio-keys-polled"; #address-cells = <1>;