1*4882a593SmuzhiyunSTMicroelectronics Low Power Controller (LPC) - Watchdog 2*4882a593Smuzhiyun======================================================== 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunLPC currently supports Watchdog OR Real Time Clock OR Clocksource 5*4882a593Smuzhiyunfunctionality. 6*4882a593Smuzhiyun 7*4882a593Smuzhiyun[See: ../rtc/rtc-st-lpc.txt for RTC options] 8*4882a593Smuzhiyun[See: ../timer/st,stih407-lpc for Clocksource options] 9*4882a593Smuzhiyun 10*4882a593SmuzhiyunRequired properties 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun- compatible : Should be: "st,stih407-lpc" 13*4882a593Smuzhiyun- reg : LPC registers base address + size 14*4882a593Smuzhiyun- interrupts : LPC interrupt line number and associated flags 15*4882a593Smuzhiyun- clocks : Clock used by LPC device (See: ../clock/clock-bindings.txt) 16*4882a593Smuzhiyun- st,lpc-mode : The LPC can run either one of three modes: 17*4882a593Smuzhiyun ST_LPC_MODE_RTC [0] 18*4882a593Smuzhiyun ST_LPC_MODE_WDT [1] 19*4882a593Smuzhiyun ST_LPC_MODE_CLKSRC [2] 20*4882a593Smuzhiyun One (and only one) mode must be selected. 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunRequired properties [watchdog mode] 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun- st,syscfg : Phandle to syscfg node used to enable watchdog and configure 25*4882a593Smuzhiyun CPU reset type. 26*4882a593Smuzhiyun- timeout-sec : Watchdog timeout in seconds 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunOptional properties [watchdog mode] 29*4882a593Smuzhiyun 30*4882a593Smuzhiyun- st,warm-reset : If present reset type will be 'warm' - if not it will be cold 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunExample: 33*4882a593Smuzhiyun lpc@fde05000 { 34*4882a593Smuzhiyun compatible = "st,stih407-lpc"; 35*4882a593Smuzhiyun reg = <0xfde05000 0x1000>; 36*4882a593Smuzhiyun clocks = <&clk_s_d3_flexgen CLK_LPC_0>; 37*4882a593Smuzhiyun st,syscfg = <&syscfg_core>; 38*4882a593Smuzhiyun timeout-sec = <120>; 39*4882a593Smuzhiyun st,lpc-mode = <ST_LPC_MODE_WDT>; 40*4882a593Smuzhiyun st,warm-reset; 41*4882a593Smuzhiyun }; 42