arm64: dts: stratix10/agilex/n5x: fix dtbs_check warning for memory node
authorDinh Nguyen <dinguyen@kernel.org>
Sun, 25 Jun 2023 19:12:56 +0000 (14:12 -0500)
committerDinh Nguyen <dinguyen@kernel.org>
Mon, 10 Jul 2023 00:45:08 +0000 (19:45 -0500)
Although, we expect the bootloader to full memory details but passing empty
values can give warning, so add a default value.

memory: False schema does not allow {'device_type': ['memory'], 'reg': [[0, 0, 0, 0]]}

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
arch/arm64/boot/dts/altera/socfpga_stratix10_swvp.dts
arch/arm64/boot/dts/intel/socfpga_agilex_n6000.dts
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dts
arch/arm64/boot/dts/intel/socfpga_n5x_socdk.dts

index 38ae674..b7b50db 100644 (file)
                };
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the reg */
-               reg = <0 0 0 0>;
+               reg = <0 0x80000000 0 0>;
        };
 
        ref_033v: regulator-v-ref {
index ede99dc..12beed7 100644 (file)
                };
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the reg */
-               reg = <0 0 0 0>;
+               reg = <0 0x80000000 0 0>;
        };
 
        ref_033v: regulator-v-ref {
index a8db585..ff413f8 100644 (file)
@@ -29,7 +29,7 @@
                linux,initrd-end = <0x125c8324>;
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x0 0x0 0x0 0x80000000>;
        };
index 6231a69..1a32840 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
-       memory@0 {
+       memory@80000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the reg */
-               reg = <0 0 0 0>;
+               reg = <0 0x80000000 0 0>;
        };
 
        soc {
index 07c3f88..80e6864 100644 (file)
                };
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the reg */
-               reg = <0 0 0 0>;
+               reg = <0 0x80000000 0 0>;
        };
 };
 
index 51f83f9..0f9020b 100644 (file)
                };
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the reg */
-               reg = <0 0 0 0>;
+               reg = <0 0x80000000 0 0>;
        };
 };
 
index 08c0885..b3325d7 100644 (file)
                stdout-path = "serial0:115200n8";
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                /* We expect the bootloader to fill in the reg */
-               reg = <0 0 0 0>;
+               reg = <0 0x80000000 0 0>;
        };
 
        soc {