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