Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2501842pxb; Sun, 23 Jan 2022 06:44:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJzyJrWvdaJ38YFd+AE8F+Q4bVzqcKMeB4GHa4xKPk4d8i6ndB1B1FLtu7On1x8tLdq7CzQB X-Received: by 2002:aa7:9510:0:b0:4bd:ce79:d158 with SMTP id b16-20020aa79510000000b004bdce79d158mr10467492pfp.24.1642949083607; Sun, 23 Jan 2022 06:44:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642949083; cv=none; d=google.com; s=arc-20160816; b=BINeFgf2SReKWiP48OGD1cJ/Hi8x+2DFLpC4epIfuBHgsTxt6Z2bWPSZ7g48Or05UD mkqS7JMo6vlG3or1uG10HDtXJbQgewSPSS9JTpxYYQ3U7BtQjga/SNtNsD9N1nh7HSxW P5UqcW09ELzlWbpygye7X/pXwljgEGxo8mDxk+8+6ts74q3GQ7+6BuDaFmZ3ByqaJec0 /S9sj65uiNG5mpq7WFzQJhcRCr0sSHB6cJkRAGM5mXXHQYbR/cgd2W79IgUEWsD/Xdkb jF9oPSIwzHPKeHtCus5PJUaUj7iHq2a9j2Lfnj2KTu/XT09AUIOy73hPqDxGzfwlDJ7a 3jyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from:dkim-signature; bh=qkDZRQEWdk0lu7bNuQSV4AkBZ5HIfgnjrIjv3tIsJzY=; b=A+EKYY6oTTZU66/mQ2a2P00uCw26xhrEXLnMGO7ONIugjcmrE+witocvWOHoCkfdGo Knq0esCb3NK80IrYekIwbgTcguv0+ZaCP4O9vWp2WQ3B3tTYqiQP7pwVP54qKzVDX3Pv Gk0dDgKHRh4qPBFWUzSryF2+l1SNxEuEgIYhq+6vOPNYjYdXz+Nmz+B0xfb8kbKukQMh 9VyfCcSU0BN15qm32RJxWAkt8qz2o6QKVuL6SG4daEqz3AEgB5jXGJp42SszRQSMcy86 q4XLJKfX7Gt/A8ZlkXHs/aj8BBz0UMe6/WufOU1k9/Wwy94F8g7T93tDdfg0Bd8XQkRB S3fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AzVZwg0k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l8si13341327pfd.229.2022.01.23.06.44.31; Sun, 23 Jan 2022 06:44:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=AzVZwg0k; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233601AbiAVHce (ORCPT + 99 others); Sat, 22 Jan 2022 02:32:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233576AbiAVHcc (ORCPT ); Sat, 22 Jan 2022 02:32:32 -0500 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16867C06173B; Fri, 21 Jan 2022 23:32:32 -0800 (PST) Received: by mail-wr1-x432.google.com with SMTP id h29so1134574wrb.5; Fri, 21 Jan 2022 23:32:32 -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=LNIPoNDPaRhA/p82ZFXMXW3l4tCRdIbhw9A4/cbOCRguiN0eQIY7utcGc7B+pyj/A3 QP6E1CvQ0qeLAqU65IIPJwelO7g3Zb56MqW5bFqZtjp50M3YUGHXGhB++4NiJXo8SUL4 9sKmy400TO5N74WOHMZgQIz1VO/H0yjWFoa3ez2vOzGOujdAw1LFsPKmbPwEvAOT2hKU rw5w8TcURcbJGcKEDPaSmB7jntIZpiDppY4E4SuciOUqzWeY/l5apjJ0dq8xk9sTdpOr uf6fdDvET9fsfdxLjjjfxTKKk0rRUAevxZAed03pra5xJVO/2vbsMx3h3sunNwt5q7BT im+g== X-Gm-Message-State: AOAM5310g7m2S6dAiQTxANTrWy28geJzuWfW92D3XrqsyW5DpKXlUlVL mgbTYu8My86TqNgUS+axLPnaoyBnWeyefVw9 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> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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>; -- 2.17.1