1*4882a593SmuzhiyunBCM2835 PM (Power domains, watchdog) 2*4882a593Smuzhiyun 3*4882a593SmuzhiyunThe PM block controls power domains and some reset lines, and includes 4*4882a593Smuzhiyuna watchdog timer. This binding supersedes the brcm,bcm2835-pm-wdt 5*4882a593Smuzhiyunbinding which covered some of PM's register range and functionality. 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunRequired properties: 8*4882a593Smuzhiyun 9*4882a593Smuzhiyun- compatible: Should be "brcm,bcm2835-pm" 10*4882a593Smuzhiyun- reg: Specifies base physical address and size of the two 11*4882a593Smuzhiyun register ranges ("PM" and "ASYNC_BRIDGE" in that 12*4882a593Smuzhiyun order) 13*4882a593Smuzhiyun- clocks: a) v3d: The V3D clock from CPRMAN 14*4882a593Smuzhiyun b) peri_image: The PERI_IMAGE clock from CPRMAN 15*4882a593Smuzhiyun c) h264: The H264 clock from CPRMAN 16*4882a593Smuzhiyun d) isp: The ISP clock from CPRMAN 17*4882a593Smuzhiyun- #reset-cells: Should be 1. This property follows the reset controller 18*4882a593Smuzhiyun bindings[1]. 19*4882a593Smuzhiyun- #power-domain-cells: Should be 1. This property follows the power domain 20*4882a593Smuzhiyun bindings[2]. 21*4882a593Smuzhiyun 22*4882a593SmuzhiyunOptional properties: 23*4882a593Smuzhiyun 24*4882a593Smuzhiyun- timeout-sec: Contains the watchdog timeout in seconds 25*4882a593Smuzhiyun- system-power-controller: Whether the watchdog is controlling the 26*4882a593Smuzhiyun system power. This node follows the power controller bindings[3]. 27*4882a593Smuzhiyun 28*4882a593Smuzhiyun[1] Documentation/devicetree/bindings/reset/reset.txt 29*4882a593Smuzhiyun[2] Documentation/devicetree/bindings/power/power-domain.yaml 30*4882a593Smuzhiyun[3] Documentation/devicetree/bindings/power/power-controller.txt 31*4882a593Smuzhiyun 32*4882a593SmuzhiyunExample: 33*4882a593Smuzhiyun 34*4882a593Smuzhiyunpm { 35*4882a593Smuzhiyun compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; 36*4882a593Smuzhiyun #power-domain-cells = <1>; 37*4882a593Smuzhiyun #reset-cells = <1>; 38*4882a593Smuzhiyun reg = <0x7e100000 0x114>, 39*4882a593Smuzhiyun <0x7e00a000 0x24>; 40*4882a593Smuzhiyun clocks = <&clocks BCM2835_CLOCK_V3D>, 41*4882a593Smuzhiyun <&clocks BCM2835_CLOCK_PERI_IMAGE>, 42*4882a593Smuzhiyun <&clocks BCM2835_CLOCK_H264>, 43*4882a593Smuzhiyun <&clocks BCM2835_CLOCK_ISP>; 44*4882a593Smuzhiyun clock-names = "v3d", "peri_image", "h264", "isp"; 45*4882a593Smuzhiyun system-power-controller; 46*4882a593Smuzhiyun}; 47