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