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 38ae674f2f02aad7b424687e2d5bd9288d158e49..b7b50db174cab964dbb327f773b6144801451153 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 ede99dcc05580ae6a64fb83972f6ef6839a4f5bf..12beed7e7769a3da3ba1a3d6071ef7bf698d08b7 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 a8db585739540738a900af8b59039ee0c0189a3b..ff413f8e3b079ddb087deff862e45270e3ee1a7d 100644 (file)
@@ -29,7 +29,7 @@
                linux,initrd-end = <0x125c8324>;
        };
 
-       memory {
+       memory@80000000 {
                device_type = "memory";
                reg = <0x0 0x0 0x0 0x80000000>;
        };
index 6231a69204b1c9158a102689896b4c48cfac2f62..1a32840c74e09431ccd2a3c1554ff64b5039a3e4 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 07c3f887661377808b364b21c128573484a1d2e1..80e6864fb0519e5e7b5a44943a2ada932a305e64 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 51f83f96ec650d0f9392acfa3895347ea7795d89..0f9020bd0c52a5209cc1bbd42ff0ed3f9aeb6ecd 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 08c08857127067d2242ac3a88089fda9498d3811..b3325d72ae1f30587fab0123082c3d98d41a98c0 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 {