[PATCH v1 2/2] arch: arm: dts: socfpga: Update system manager core registers masking bits

Boon Khai Ng boon.khai.ng at altera.com
Wed Feb 25 04:21:49 CET 2026


From: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>

Using wide masks may modify unintended bits, which could break the system.

Updating the mask values to only modify intended bits set by the value to
fix this.

Signed-off-by: Alif Zakuan Yuslaimi <alif.zakuan.yuslaimi at altera.com>
Signed-off-by: Boon Khai Ng <boon.khai.ng at altera.com>
---
 arch/arm/dts/socfpga_soc64_u-boot.dtsi | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/arch/arm/dts/socfpga_soc64_u-boot.dtsi b/arch/arm/dts/socfpga_soc64_u-boot.dtsi
index a6e0b615717..1506ff15447 100644
--- a/arch/arm/dts/socfpga_soc64_u-boot.dtsi
+++ b/arch/arm/dts/socfpga_soc64_u-boot.dtsi
@@ -143,19 +143,19 @@
 				reg = <0xffd12000 0x00000500>;
 				intel,offset-settings =
 					/* i_sys_mgr_core_emac0 */
-					<0x00000044 0x0a000000 0xffff0103>,
+					<0x00000044 0x0a000000 0x0a000000>,
 					/* i_sys_mgr_core_emac1 */
-					<0x00000048 0x0a000000 0xffff0103>,
+					<0x00000048 0x0a000000 0x0a000000>,
 					/* i_sys_mgr_core_emac2 */
-					<0x0000004c 0x0a000000 0xffff0103>,
+					<0x0000004c 0x0a000000 0x0a000000>,
 					/* i_sys_mgr_core_nand_l3master */
-					<0x00000034 0x00220000 0x007733ff>,
+					<0x00000034 0x00220000 0x00220000>,
 					/* i_sys_mgr_core_sdmmc_l3master */
-					<0x0000002c 0x00000020 0x03ff03ff>,
+					<0x0000002c 0x00000020 0x00000020>,
 					/* i_sys_mgr_core_usb0_l3master */
-					<0x00000038 0x00000200 0x03ff30ff>,
+					<0x00000038 0x00000200 0x00000200>,
 					/* i_sys_mgr_core_usb1_l3master */
-					<0x0000003c 0x00000200 0x03ff30ff>;
+					<0x0000003c 0x00000200 0x00000200>;
 				bootph-all;
 			};
 		};
-- 
2.43.7



More information about the U-Boot mailing list