Merge "UPSTREAM: aarch64: fdt: Fix CPU compatible to "arm,armv8"" into main
diff --git a/aarch64/src/fdt.rs b/aarch64/src/fdt.rs
index 36baca4..b01ffa1 100644
--- a/aarch64/src/fdt.rs
+++ b/aarch64/src/fdt.rs
@@ -152,7 +152,7 @@
         let cpu_name = format!("cpu@{:x}", reg);
         let cpu_node = cpus_node.subnode_mut(&cpu_name)?;
         cpu_node.set_prop("device_type", "cpu")?;
-        cpu_node.set_prop("compatible", "arm,arm-v8")?;
+        cpu_node.set_prop("compatible", "arm,armv8")?;
         if num_cpus > 1 {
             cpu_node.set_prop("enable-method", "psci")?;
         }
diff --git a/cros_fdt/test-files/base.dtb b/cros_fdt/test-files/base.dtb
index c0884ed..84736d2 100644
--- a/cros_fdt/test-files/base.dtb
+++ b/cros_fdt/test-files/base.dtb
Binary files differ
diff --git a/cros_fdt/test-files/base.dts b/cros_fdt/test-files/base.dts
index abb90ce..6b081a4 100644
--- a/cros_fdt/test-files/base.dts
+++ b/cros_fdt/test-files/base.dts
@@ -17,14 +17,14 @@
 
 		cpu@0 {
 			device_type = "cpu";
-			compatible = "arm,arm-v8";
+			compatible = "arm,armv8";
 			enable-method = "psci";
 			reg = <0x00>;
 		};
 
 		cpu@1 {
 			device_type = "cpu";
-			compatible = "arm,arm-v8";
+			compatible = "arm,armv8";
 			enable-method = "psci";
 			reg = <0x01>;
 		};