]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
arm: dts: rockchip: Align OTP nodes for RK3528/RK356x with Linux v7.1
authorJonas Karlman <jonas@kwiboo.se>
Tue, 7 Jul 2026 10:09:17 +0000 (10:09 +0000)
committerQuentin Schulz <u-boot@0leil.net>
Thu, 9 Jul 2026 17:02:58 +0000 (19:02 +0200)
The <soc>-u-boot.dtsi OTP nodes for RK3528/RK356x use different names
compared to the OTP nodes that was merged in Linux v7.1. This causes
build issues when dts/upstream pulls in updated DTs, i.e.:

  ERROR (duplicate_label): /soc/nvmem@ffce0000: Duplicate label 'otp'
                           on /soc/nvmem@ffce0000 and /soc/efuse@ffce0000

  ERROR (duplicate_label): /nvmem@fe38c000: Duplicate label 'otp'
                           on /nvmem@fe38c000 and /efuse@fe38c000

Align the OTP node names in <soc>-u-boot.dtsi with the node names used
in upstream Linux v7.1 to avoid build issues when latest DTs are synced.

Also drop the unused RK356x id@a subnode as it has moved under a
nvmem-layout node in the merged upstream DT.

Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Link: https://patch.msgid.link/20260707100918.3057718-1-jonas@kwiboo.se
Signed-off-by: Quentin Schulz <u-boot@0leil.net>
arch/arm/dts/rk3528-u-boot.dtsi
arch/arm/dts/rk356x-u-boot.dtsi

index a18d33b3d36964e555f47e489376ee10e58c751f..31345df62959952aaefadd10d6e626457982cc16 100644 (file)
@@ -23,7 +23,7 @@
                        reg = <0x0 0xffc50000 0x0 0x200>;
                };
 
-               otp: nvmem@ffce0000 {
+               otp: efuse@ffce0000 {
                        compatible = "rockchip,rk3528-otp";
                        reg = <0x0 0xffce0000 0x0 0x4000>;
                };
index 738b9673d352fedf37c715cbfa24d37d9cffa438..d09dab35b31a5218d8d340a443d4f55e7d0c667e 100644 (file)
                bootph-all;
        };
 
-       otp: nvmem@fe38c000 {
+       otp: efuse@fe38c000 {
                compatible = "rockchip,rk3568-otp";
                reg = <0x0 0xfe38c000 0x0 0x4000>;
-               #address-cells = <1>;
-               #size-cells = <1>;
-
-               cpu_id: id@a {
-                       reg = <0x0a 0x10>;
-               };
        };
 };