Fix overlay creation logic to use reg value for node names
This commit fixes device tree overlay creation logic and templates
to use reg values for node names.
Change-Id: I0945ad204c74a52a96ac283884a699e125b703fe
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
diff --git a/overlay_templates/SkylakeCPU.template b/overlay_templates/SkylakeCPU.template
index e4b8325..34b10dd 100644
--- a/overlay_templates/SkylakeCPU.template
+++ b/overlay_templates/SkylakeCPU.template
@@ -8,10 +8,10 @@
#address-cells = <1>;
#size-cells = <0>;
- peci-client@Skylake_CPU_$cpu_id {
+ Skylake_CPU_$cpu_id: peci-client@$address {
compatible = "intel,peci-client";
oemname1 = "$Name";
- reg = <$address>;
+ reg = <0x$address>;
status = "okay";
};
};