dts: x86: intel: panther_lake: Update RTC to support MFD method

Updated RTC to support MFD method on panther lake platform
and board config to include alarm and update tests.
-boards/intel/ptl/
-dts/x86/intel/
-tests/drivers/rtc/rtc_api/

Signed-off-by: Anisetti Avinash Krishna <anisetti.avinash.krishna@intel.com>
This commit is contained in:
Anisetti Avinash Krishna
2025-09-25 14:32:08 +05:30
committed by Chris Friedt
parent 5d02fac803
commit e200719c2b
3 changed files with 25 additions and 6 deletions

View File

@@ -36,6 +36,10 @@
status = "okay";
};
&mfd {
status = "okay";
};
&smbus0 {
status = "okay";
};

View File

@@ -302,12 +302,25 @@
status = "disabled";
};
rtc: counter: rtc@70 {
compatible = "motorola,mc146818";
reg = <0x70 0x0D 0x71 0x0D>;
interrupts = <8 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
interrupt-parent = <&intc>;
alarms-count = <1>;
mfd: mfd@70 {
compatible = "motorola,mc146818-mfd";
reg = <0x70 0x01 0x71 0x01 0x72 0x01 0x73 0x01>;
rtc: counter: rtc {
compatible = "motorola,mc146818";
interrupts = <8 IRQ_TYPE_LOWEST_EDGE_RISING 3>;
interrupt-parent = <&intc>;
alarms-count = <1>;
status = "disabled";
};
bbram: bbram {
compatible = "motorola,mc146818-bbram";
size = <241>;
status = "disabled";
};
status = "disabled";
};

View File

@@ -0,0 +1,2 @@
CONFIG_RTC_ALARM=y
CONFIG_RTC_UPDATE=y