Modify SkylakeCPU template to support updated kernel driver
This commit modifies SkylakeCPU overlay template to support the
updated PECI hwmon driver which removes sysfs indexing gap.
Change-Id: Id53499e949581d3257c20f4cbb46c897ed96b12d
Signed-off-by: Jae Hyun Yoo <jae.hyun.yoo@intel.com>
diff --git a/overlay_templates/SkylakeCPU.template b/overlay_templates/SkylakeCPU.template
index 9f886b4..6ba35a3 100644
--- a/overlay_templates/SkylakeCPU.template
+++ b/overlay_templates/SkylakeCPU.template
@@ -8,8 +8,15 @@
#address-cells = <1>;
#size-cells = <0>;
- peci-hwmon@Skylake_CPU_$cpu_id {
- compatible = "intel,peci-hwmon";
+ peci-cputemp@Skylake_CPU_$cpu_id {
+ compatible = "intel,peci-cputemp";
+ oemname1 = "$name";
+ reg = <$address>;
+ status = "okay";
+ };
+
+ peci-dimmtemp@Skylake_CPU_$cpu_id {
+ compatible = "intel,peci-dimmtemp";
oemname1 = "$name";
reg = <$address>;
status = "okay";