1520d0abeSNicolas Saenz Julienne# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2520d0abeSNicolas Saenz Julienne%YAML 1.2 3520d0abeSNicolas Saenz Julienne--- 4520d0abeSNicolas Saenz Julienne$id: "http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-pm.yaml#" 5520d0abeSNicolas Saenz Julienne$schema: "http://devicetree.org/meta-schemas/core.yaml#" 6520d0abeSNicolas Saenz Julienne 7520d0abeSNicolas Saenz Juliennetitle: BCM2835 PM (Power domains, watchdog) 8520d0abeSNicolas Saenz Julienne 9520d0abeSNicolas Saenz Juliennedescription: | 10520d0abeSNicolas Saenz Julienne The PM block controls power domains and some reset lines, and includes a 11520d0abeSNicolas Saenz Julienne watchdog timer. 12520d0abeSNicolas Saenz Julienne 13520d0abeSNicolas Saenz Juliennemaintainers: 14520d0abeSNicolas Saenz Julienne - Nicolas Saenz Julienne <nsaenz@kernel.org> 15520d0abeSNicolas Saenz Julienne 16520d0abeSNicolas Saenz JulienneallOf: 17520d0abeSNicolas Saenz Julienne - $ref: ../../watchdog/watchdog.yaml# 18520d0abeSNicolas Saenz Julienne 19520d0abeSNicolas Saenz Julienneproperties: 20520d0abeSNicolas Saenz Julienne compatible: 21520d0abeSNicolas Saenz Julienne items: 22520d0abeSNicolas Saenz Julienne - const: brcm,bcm2835-pm 23520d0abeSNicolas Saenz Julienne - const: brcm,bcm2835-pm-wdt 24520d0abeSNicolas Saenz Julienne 25520d0abeSNicolas Saenz Julienne reg: 26*7bc592cfSNicolas Saenz Julienne minItems: 2 27*7bc592cfSNicolas Saenz Julienne maxItems: 2 28*7bc592cfSNicolas Saenz Julienne 29*7bc592cfSNicolas Saenz Julienne reg-names: 30520d0abeSNicolas Saenz Julienne items: 31*7bc592cfSNicolas Saenz Julienne - const: pm 32*7bc592cfSNicolas Saenz Julienne - const: asb 33520d0abeSNicolas Saenz Julienne 34520d0abeSNicolas Saenz Julienne "#power-domain-cells": 35520d0abeSNicolas Saenz Julienne const: 1 36520d0abeSNicolas Saenz Julienne 37520d0abeSNicolas Saenz Julienne "#reset-cells": 38520d0abeSNicolas Saenz Julienne const: 1 39520d0abeSNicolas Saenz Julienne 40520d0abeSNicolas Saenz Julienne clocks: 41520d0abeSNicolas Saenz Julienne minItems: 4 42520d0abeSNicolas Saenz Julienne maxItems: 4 43520d0abeSNicolas Saenz Julienne 44520d0abeSNicolas Saenz Julienne clock-names: 45520d0abeSNicolas Saenz Julienne items: 46520d0abeSNicolas Saenz Julienne - const: v3d 47520d0abeSNicolas Saenz Julienne - const: peri_image 48520d0abeSNicolas Saenz Julienne - const: h264 49520d0abeSNicolas Saenz Julienne - const: isp 50520d0abeSNicolas Saenz Julienne 51520d0abeSNicolas Saenz Julienne system-power-controller: 52520d0abeSNicolas Saenz Julienne type: boolean 53520d0abeSNicolas Saenz Julienne 54520d0abeSNicolas Saenz Julienne timeout-sec: true 55520d0abeSNicolas Saenz Julienne 56520d0abeSNicolas Saenz Juliennerequired: 57520d0abeSNicolas Saenz Julienne - compatible 58520d0abeSNicolas Saenz Julienne - reg 59520d0abeSNicolas Saenz Julienne - "#power-domain-cells" 60520d0abeSNicolas Saenz Julienne - "#reset-cells" 61520d0abeSNicolas Saenz Julienne - clocks 62520d0abeSNicolas Saenz Julienne 63520d0abeSNicolas Saenz JulienneadditionalProperties: false 64520d0abeSNicolas Saenz Julienne 65520d0abeSNicolas Saenz Julienneexamples: 66520d0abeSNicolas Saenz Julienne - | 67520d0abeSNicolas Saenz Julienne #include <dt-bindings/clock/bcm2835.h> 68520d0abeSNicolas Saenz Julienne 69520d0abeSNicolas Saenz Julienne watchdog@7e100000 { 70520d0abeSNicolas Saenz Julienne compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt"; 71520d0abeSNicolas Saenz Julienne #power-domain-cells = <1>; 72520d0abeSNicolas Saenz Julienne #reset-cells = <1>; 73520d0abeSNicolas Saenz Julienne reg = <0x7e100000 0x114>, 74520d0abeSNicolas Saenz Julienne <0x7e00a000 0x24>; 75*7bc592cfSNicolas Saenz Julienne reg-names = "pm", "asb"; 76520d0abeSNicolas Saenz Julienne clocks = <&clocks BCM2835_CLOCK_V3D>, 77520d0abeSNicolas Saenz Julienne <&clocks BCM2835_CLOCK_PERI_IMAGE>, 78520d0abeSNicolas Saenz Julienne <&clocks BCM2835_CLOCK_H264>, 79520d0abeSNicolas Saenz Julienne <&clocks BCM2835_CLOCK_ISP>; 80520d0abeSNicolas Saenz Julienne clock-names = "v3d", "peri_image", "h264", "isp"; 81520d0abeSNicolas Saenz Julienne system-power-controller; 82520d0abeSNicolas Saenz Julienne }; 83