Merge "sim:tests: Add OT sysrst_ctrl test"
diff --git a/opentitan_peripherals_test.robot b/opentitan_peripherals_test.robot
index 83430e0..862bb35 100644
--- a/opentitan_peripherals_test.robot
+++ b/opentitan_peripherals_test.robot
@@ -219,3 +219,12 @@
Should Pass Aon Timer Watchdog Bite Reset Smoketest
Run Test ${AON_TIMER_WDOG_BITE_BIN}
+
+Should Try To Reset On The System Reset Control Combo
+ Setup Machine
+ Create Log Tester 0
+ Execute Command sysbus.sysrst_ctrl WriteDoubleWord 0x54 0x8 # Set combo0 to just pwrButton
+ Execute Command sysbus.sysrst_ctrl WriteDoubleWord 0x74 0x8 # Set combo0 action to rstReq
+ Execute Command sysbus.sysrst_ctrl WriteDoubleWord 0x30 0x40 # Invert the pwrButton input
+ # Expect error as this should work only when done by CPU
+ Wait For Log Entry Couldn't find the cpu requesting reset.