From nobody Mon Dec 1 22:34:46 2025 Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAC1A2EB859; Sat, 29 Nov 2025 14:22:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.167.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426146; cv=none; b=NULBLOhZE2BX1IbmVhzyeyJkiIkZiQTHS3aS57lD2/6zHJCu8t2O1FJe9oDG4iVGuU9X1R4y/z1ylJrMlM44lO59XP4IEGH51NL3X3ArmG0G2UpNAY6F+slYaDbf6DNNxejt6HPHdXs81MHQOmoQ5G0akYNtHJpC2hHxj/zdMWk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426146; c=relaxed/simple; bh=OMgHZRBGjXikokEvURkvlGkbcaPlZ3k3EHUVnYFqmUg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=l28xzPnkM9CbJhGTobbBtOsg7TEfMYV1Eua3kEyYQF42dw9ZoBcJWUJ8XH5DXHfrxeZ4ydyMsjrNkq/mjmYR0lKQkROhHM/ad1683PxkbFQDkdyG5NdPuHIn6d6+L4HGQhaZ/YQlVtV5CL9sdCfmeTlNiDsrbThEx499lUefoEw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=fail smtp.mailfrom=nod.at; arc=none smtp.client-ip=116.203.167.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nod.at Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id B19E22CE365; Sat, 29 Nov 2025 15:22:15 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 4NsLg4MZb1FA; Sat, 29 Nov 2025 15:22:15 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 537AA2CE378; Sat, 29 Nov 2025 15:22:15 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FAa72EJt4vaQ; Sat, 29 Nov 2025 15:22:15 +0100 (CET) Received: from nailgun.corp.sigma-star.at (85-127-105-34.dsl.dynamic.surfer.at [85.127.105.34]) by lithops.sigma-star.at (Postfix) with ESMTPSA id A00C52C14AB; Sat, 29 Nov 2025 15:22:14 +0100 (CET) From: Richard Weinberger To: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, arnd@arndb.de, lee@kernel.org, dakr@kernel.org, rafael@kernel.org, gregkh@linuxfoundation.org, broonie@kernel.org, tony@atomide.com, rogerq@kernel.org, khilman@baylibre.com, andreas@kemnade.info, aaro.koskinen@iki.fi, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, Richard Weinberger Subject: [PATCH 1/4] dt-bindings: Document new common property: has-inaccessible-regs Date: Sat, 29 Nov 2025 15:20:39 +0100 Message-ID: <20251129142042.344359-2-richard@nod.at> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251129142042.344359-1-richard@nod.at> References: <20251129142042.344359-1-richard@nod.at> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This property is used to denote that a certain register map contains registers that are inaccessible under conditions only a device driver can know. The purpose of this property is to disable register access through debug facilities outside of the device driver. Signed-off-by: Richard Weinberger --- .../devicetree/bindings/common-properties.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Documentation/devicetree/bindings/common-properties.txt b/Docu= mentation/devicetree/bindings/common-properties.txt index 98a28130e100f..edf6d0b8cf1b1 100644 --- a/Documentation/devicetree/bindings/common-properties.txt +++ b/Documentation/devicetree/bindings/common-properties.txt @@ -83,3 +83,15 @@ gpio@0 { #gpio-cells =3D <2>; #daisy-chained-devices =3D <3>; }; + +Inaccessible registers +---------------------- + +If a register map as described by the 'reg' property contains registers +that cannot be accessed for various reasons and splitting the register +definition is not possible, use this property to denote that uncontrolled +access outside of a device driver should be disabled. +On Linux, for example, this disables regmap debugfs access + +Optional properties: +- has-inaccessible-regs: Boolean --=20 2.51.0 From nobody Mon Dec 1 22:34:46 2025 Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CAB9E279903; Sat, 29 Nov 2025 14:22:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.167.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426145; cv=none; b=S9n4BhS/ZOaLdk/T66SuwxTWDAnXOau0CAfQmsV+AbneObCBOsZUDl/3PjKP5RLg3kOXSf4la5frP62N4Y6JjYoP2mz/nxUnubgab4uUhQlfeFe2tjH1S9U2EM/IwbUzIC3MbQbT44VhpNbgTCUDFwGz1nVZrIJUzXPjWnXFV7E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426145; c=relaxed/simple; bh=ZmWIj0SY2XTxCkuORKuZCZlFZ7Hj+oAqxNAGtmCeXxA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=MG9EwbNkdbH9FBorSSw19Pn0nYo2AVdMS5+zpVcZsSmFucZiqiaYmLdI9NRCqhzHK1wS5WJsipG84u7dxDnqB4sQlixVv66jNjXE2Sw7zvfY3gvnjZiOw1WDqTxO3zCQOd/Wf7rcuUAKtwq3s6VylOroGbrh3dW0hHuzzHutA0k= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=fail smtp.mailfrom=nod.at; arc=none smtp.client-ip=116.203.167.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nod.at Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 47CFA2CFC87; Sat, 29 Nov 2025 15:22:16 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id mm728AbNNSkV; Sat, 29 Nov 2025 15:22:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 0114B2CE37B; Sat, 29 Nov 2025 15:22:16 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id d_VXeArI3PXU; Sat, 29 Nov 2025 15:22:15 +0100 (CET) Received: from nailgun.corp.sigma-star.at (85-127-105-34.dsl.dynamic.surfer.at [85.127.105.34]) by lithops.sigma-star.at (Postfix) with ESMTPSA id 4A5082C7D73; Sat, 29 Nov 2025 15:22:15 +0100 (CET) From: Richard Weinberger To: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, arnd@arndb.de, lee@kernel.org, dakr@kernel.org, rafael@kernel.org, gregkh@linuxfoundation.org, broonie@kernel.org, tony@atomide.com, rogerq@kernel.org, khilman@baylibre.com, andreas@kemnade.info, aaro.koskinen@iki.fi, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, Richard Weinberger Subject: [PATCH 2/4] regmap: Allow disabling debugfs via regmap_config Date: Sat, 29 Nov 2025 15:20:40 +0100 Message-ID: <20251129142042.344359-3-richard@nod.at> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251129142042.344359-1-richard@nod.at> References: <20251129142042.344359-1-richard@nod.at> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Regmap already disables register access via debugfs as soon as a register map is used without taking locks. Go a step further and allow disabling debugfs via regmap_config such that device drivers can decide on their own whether uncontrolled register access via debugfs is harmful. Signed-off-by: Richard Weinberger --- drivers/base/regmap/regmap.c | 2 ++ include/linux/regmap.h | 3 +++ 2 files changed, 5 insertions(+) diff --git a/drivers/base/regmap/regmap.c b/drivers/base/regmap/regmap.c index ce9be3989a218..38d7a03aa7637 100644 --- a/drivers/base/regmap/regmap.c +++ b/drivers/base/regmap/regmap.c @@ -697,6 +697,8 @@ struct regmap *__regmap_init(struct device *dev, if (ret) goto err_map; =20 + map->debugfs_disable =3D config->debugfs_disable; + ret =3D -EINVAL; /* Later error paths rely on this */ =20 if (config->disable_locking) { diff --git a/include/linux/regmap.h b/include/linux/regmap.h index 55343795644b9..646501a055eba 100644 --- a/include/linux/regmap.h +++ b/include/linux/regmap.h @@ -395,6 +395,7 @@ typedef void (*regmap_unlock)(void *); * * @ranges: Array of configuration entries for virtual address ranges. * @num_ranges: Number of range configuration entries. + * @debugfs_disable: Disable debugfs access to this register. */ struct regmap_config { const char *name; @@ -467,6 +468,8 @@ struct regmap_config { =20 const struct regmap_range_cfg *ranges; unsigned int num_ranges; + + bool debugfs_disable; }; =20 /** --=20 2.51.0 From nobody Mon Dec 1 22:34:46 2025 Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B021630DD2C; Sat, 29 Nov 2025 14:22:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.167.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426146; cv=none; b=Xf6UFBR6Z2KNu5hwvaxNI3QorsgUBnZTDMMK/TsUqbX8+aO36xNrImewgI2OFyWWIMD3Zfyn+TLOgeMV2+kyQC1a+2AN8EMvwpGB14G34tqtlSnv9ahO1qwkBZQ2vWxJ3pZXj7HwChzKC/976B4rynxfiFhJP0a3j/Rlww3fwvA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426146; c=relaxed/simple; bh=8Hd8DGGF2eb8aAfAM4zOeeq5H9mvCRostVwLaaXmmlg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=AdTqf3jseTjpvWCvWFuEx5liJxHcqosAmSCoJnaNDiwERdut4O43z8swtuBaR4sPAZ2OjA2cmOvzH7iWnVqDMrVuOhxsv/wEDjArwTEgB3yqID+7RCLer9uttQt/84M7jf6CE7vJk8kcxXgG1lgVJfLVY/O9g8m2T/0JwX0HWk8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=fail smtp.mailfrom=nod.at; arc=none smtp.client-ip=116.203.167.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nod.at Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id DD0992CFC9B; Sat, 29 Nov 2025 15:22:16 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id pXYk4AegWIrK; Sat, 29 Nov 2025 15:22:16 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 968482CFC8B; Sat, 29 Nov 2025 15:22:16 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id r5y58J4CSTVe; Sat, 29 Nov 2025 15:22:16 +0100 (CET) Received: from nailgun.corp.sigma-star.at (85-127-105-34.dsl.dynamic.surfer.at [85.127.105.34]) by lithops.sigma-star.at (Postfix) with ESMTPSA id E68CE2CE378; Sat, 29 Nov 2025 15:22:15 +0100 (CET) From: Richard Weinberger To: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, arnd@arndb.de, lee@kernel.org, dakr@kernel.org, rafael@kernel.org, gregkh@linuxfoundation.org, broonie@kernel.org, tony@atomide.com, rogerq@kernel.org, khilman@baylibre.com, andreas@kemnade.info, aaro.koskinen@iki.fi, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, Richard Weinberger Subject: [PATCH 3/4] syscon: Wire up has-inaccessible-regs Date: Sat, 29 Nov 2025 15:20:41 +0100 Message-ID: <20251129142042.344359-4-richard@nod.at> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251129142042.344359-1-richard@nod.at> References: <20251129142042.344359-1-richard@nod.at> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Evaluate the has-inaccessible-regs device tree property to disable debugfs access if a register map contains dangerous/harmful registers. Signed-off-by: Richard Weinberger --- drivers/mfd/syscon.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/mfd/syscon.c b/drivers/mfd/syscon.c index ae71a2710bed8..73fff0df3f42f 100644 --- a/drivers/mfd/syscon.c +++ b/drivers/mfd/syscon.c @@ -70,6 +70,16 @@ static struct syscon *of_syscon_register(struct device_n= ode *np, bool check_res) else if (of_property_read_bool(np, "native-endian")) syscon_config.val_format_endian =3D REGMAP_ENDIAN_NATIVE; =20 + + /* + * Disable debugfs access if a register map has various inaccessible + * registers. + * In such a case the device driver has to know exactly how and when + * access is allowed but general access via userspace can cause harm. + */ + if (of_property_read_bool(np, "has-inaccessible-regs")) + syscon_config.debugfs_disable =3D true; + /* * search for reg-io-width property in DT. If it is not provided, * default to 4 bytes. regmap_init_mmio will return an error if values --=20 2.51.0 From nobody Mon Dec 1 22:34:46 2025 Received: from lithops.sigma-star.at (mailout.nod.at [116.203.167.152]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7146926F299; Sat, 29 Nov 2025 14:22:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=116.203.167.152 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426147; cv=none; b=naP0oXUCaRBEo3LN76pgTiA84Y5t8T9nxOKLnAkBDU0+QWi+IiQm8ATe5N01IBgAZ9kTR7Q20mt/UqMqs76Tizvc9V+n+5ZFirz5atf/9Q20HyDsZizRyhWSUvnYlPGAZfEh0jJepPMW4nr8MYOKEdTCnM6zazi7HzktNBWn5kM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764426147; c=relaxed/simple; bh=kNBBCCbsbV5MAiOKqtm1kc2EiFAAGsfegDaw6qWylxE=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pLK4OzgXI03sK6AnswRyowHRszL/e8PCK/JWpeBLdQQwCoHsdS8HVskP3Ts3neWcWya9uivo9pafqBKVrUkD75HQGjhnJesjG8KMFkWlOws87xY0jUbFek50897wTCTPV1hsCyGUbAfHHKMLdp6UU/nKrQFLbPSjrk1Yf3H3qqg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at; spf=fail smtp.mailfrom=nod.at; arc=none smtp.client-ip=116.203.167.152 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=nod.at Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=nod.at Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id A56022CFC88; Sat, 29 Nov 2025 15:22:17 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id siuwA4SpJuyE; Sat, 29 Nov 2025 15:22:17 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 453952CFC8B; Sat, 29 Nov 2025 15:22:17 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id s9fhVjQgZWo8; Sat, 29 Nov 2025 15:22:17 +0100 (CET) Received: from nailgun.corp.sigma-star.at (85-127-105-34.dsl.dynamic.surfer.at [85.127.105.34]) by lithops.sigma-star.at (Postfix) with ESMTPSA id 8CA152CFC88; Sat, 29 Nov 2025 15:22:16 +0100 (CET) From: Richard Weinberger To: linux-kernel@vger.kernel.org Cc: linux-omap@vger.kernel.org, devicetree@vger.kernel.org, arnd@arndb.de, lee@kernel.org, dakr@kernel.org, rafael@kernel.org, gregkh@linuxfoundation.org, broonie@kernel.org, tony@atomide.com, rogerq@kernel.org, khilman@baylibre.com, andreas@kemnade.info, aaro.koskinen@iki.fi, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, Richard Weinberger Subject: [PATCH 4/4] arm: dts: omap: Mark various register maps as dangerous Date: Sat, 29 Nov 2025 15:20:42 +0100 Message-ID: <20251129142042.344359-5-richard@nod.at> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20251129142042.344359-1-richard@nod.at> References: <20251129142042.344359-1-richard@nod.at> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" These register maps contain registers where reads can cause an imprecise async data abort. Mark these register maps with has-inaccessible-regs to make sure they cannot be accessed via debugfs and only by device drivers that hopefully know exactly how and when access is allowed. Signed-off-by: Richard Weinberger --- arch/arm/boot/dts/ti/omap/dra7-l4.dtsi | 4 ++++ arch/arm/boot/dts/ti/omap/dra7.dtsi | 1 + arch/arm/boot/dts/ti/omap/dra74x.dtsi | 1 + 3 files changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/ti/omap/dra7-l4.dtsi b/arch/arm/boot/dts/ti/= omap/dra7-l4.dtsi index c9282f57ffa5e..bd037e199946e 100644 --- a/arch/arm/boot/dts/ti/omap/dra7-l4.dtsi +++ b/arch/arm/boot/dts/ti/omap/dra7-l4.dtsi @@ -69,6 +69,7 @@ scm_conf: scm_conf@0 { #address-cells =3D <1>; #size-cells =3D <1>; ranges =3D <0 0x0 0x1400>; + has-inaccessible-regs; =20 pbias_regulator: pbias_regulator@e00 { compatible =3D "ti,pbias-dra7", "ti,pbias-omap"; @@ -110,11 +111,13 @@ scm_conf1: scm_conf@1c04 { compatible =3D "syscon"; reg =3D <0x1c04 0x0020>; #syscon-cells =3D <2>; + has-inaccessible-regs; }; =20 scm_conf_pcie: scm_conf@1c24 { compatible =3D "syscon"; reg =3D <0x1c24 0x0024>; + has-inaccessible-regs; }; =20 sdma_xbar: dma-router@b78 { @@ -4306,6 +4309,7 @@ target-module@c000 { /* 0x4ae0c000, ap 17 50.0 */ scm_wkup: scm_conf@0 { compatible =3D "syscon"; reg =3D <0 0x1000>; + has-inaccessible-regs; }; }; }; diff --git a/arch/arm/boot/dts/ti/omap/dra7.dtsi b/arch/arm/boot/dts/ti/oma= p/dra7.dtsi index 711ce4c31bb1f..1b1f31608d37e 100644 --- a/arch/arm/boot/dts/ti/omap/dra7.dtsi +++ b/arch/arm/boot/dts/ti/omap/dra7.dtsi @@ -359,6 +359,7 @@ bandgap: bandgap@4a0021e0 { dsp1_system: dsp_system@40d00000 { compatible =3D "syscon"; reg =3D <0x40d00000 0x100>; + has-inaccessible-regs; }; =20 dra7_iodelay_core: padconf@4844a000 { diff --git a/arch/arm/boot/dts/ti/omap/dra74x.dtsi b/arch/arm/boot/dts/ti/o= map/dra74x.dtsi index cfb39dde49300..d814c31576797 100644 --- a/arch/arm/boot/dts/ti/omap/dra74x.dtsi +++ b/arch/arm/boot/dts/ti/omap/dra74x.dtsi @@ -47,6 +47,7 @@ ocp { dsp2_system: dsp_system@41500000 { compatible =3D "syscon"; reg =3D <0x41500000 0x100>; + has-inaccessible-regs; }; =20 =20 --=20 2.51.0