Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) * Atmel SAMA5D4 Watchdog Timer (WDT) Controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) - compatible: "atmel,sama5d4-wdt" or "microchip,sam9x60-wdt"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5) - reg: base physical address and length of memory mapped region.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - timeout-sec: watchdog timeout value (in seconds).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) - interrupts: interrupt number to the CPU.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) - atmel,watchdog-type: should be "hardware" or "software".
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 	"hardware": enable watchdog fault reset. A watchdog fault triggers
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) 		    watchdog reset.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) 	"software": enable watchdog fault interrupt. A watchdog fault asserts
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 		    watchdog interrupt.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) - atmel,idle-halt: present if you want to stop the watchdog when the CPU is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 		   in idle state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	CAUTION: This property should be used with care, it actually makes the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 	watchdog not counting when the CPU is in idle state, therefore the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 	watchdog reset time depends on mean CPU usage and will not reset at all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 	if the CPU stop working while it is in idle state, which is probably
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 	not what you want.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) - atmel,dbg-halt: present if you want to stop the watchdog when the CPU is
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		  in debug state.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 	watchdog@fc068640 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		compatible = "atmel,sama5d4-wdt";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 		reg = <0xfc068640 0x10>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 		interrupts = <4 IRQ_TYPE_LEVEL_HIGH 5>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 		timeout-sec = <10>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		atmel,watchdog-type = "hardware";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 		atmel,dbg-halt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 		atmel,idle-halt;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	};