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:
committed by
Chris Friedt
parent
5d02fac803
commit
e200719c2b
@@ -36,6 +36,10 @@
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mfd {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&smbus0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
@@ -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";
|
||||
};
|
||||
|
||||
|
||||
2
tests/drivers/rtc/rtc_api/boards/intel_ptl_h_crb.conf
Normal file
2
tests/drivers/rtc/rtc_api/boards/intel_ptl_h_crb.conf
Normal file
@@ -0,0 +1,2 @@
|
||||
CONFIG_RTC_ALARM=y
|
||||
CONFIG_RTC_UPDATE=y
|
||||
Reference in New Issue
Block a user