BCM2835 PM (Power domains, watchdog)
Schema identifier ($id): "http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-pm.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
The PM block controls power domains and some reset lines, and includes a watchdog timer.
Maintainers (maintainers): "Nicolas Saenz Julienne <nsaenz@kernel.org>"
Properties and child nodes (properties) #
compatible — required here #
Array item rules (items) #
Item 1
Allowed values (
enum):"brcm,bcm2835-pm","brcm,bcm2711-pm","brcm,bcm2712-pm"
Item 2
Exact value (
const):"brcm,bcm2835-pm-wdt"
reg — required here #
Minimum number of items (minItems): 1
Maximum number of items (maxItems): 3
reg-names — not listed as required here #
Minimum number of items (minItems): 1
Array item rules (items) #
Item 1
Exact value (
const):"pm"
Item 2
Exact value (
const):"asb"
Item 3
Exact value (
const):"rpivid_asb"
#power-domain-cells — required here #
Exact value (const): 1
#reset-cells — required here #
Exact value (const): 1
clocks — not listed as required here #
Minimum number of items (minItems): 4
Maximum number of items (maxItems): 4
clock-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"v3d"
Item 2
Exact value (
const):"peri_image"
Item 3
Exact value (
const):"h264"
Item 4
Exact value (
const):"isp"
system-power-controller — not listed as required here #
Value type (type): "boolean"
timeout-sec — not listed as required here #
true — No constraints added by this property rule.
Required in this object (required): "compatible", "reg", "#power-domain-cells", "#reset-cells"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):/schemas/watchdog/watchdog.yaml#
Rule 2 #
Condition (
if) #Properties and child nodes (
properties)
compatible— not listed as required hereRule for matching array elements (
contains)When the condition matches (
then) #Required in this object (
required):"clocks"Properties and child nodes (
properties)
reg— not listed as required hereMinimum number of items (
minItems):2
reg-names— not listed as required hereMinimum number of items (
minItems):2When the condition does not match (
else) #Properties and child nodes (
properties)
reg— not listed as required hereMaximum number of items (
maxItems):1
reg-names— not listed as required hereMaximum number of items (
maxItems):1
Properties not matched by properties or patternProperties in this schema (additionalProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/clock/bcm2835.h>
watchdog@7e100000 {
compatible = "brcm,bcm2835-pm", "brcm,bcm2835-pm-wdt";
#power-domain-cells = <1>;
#reset-cells = <1>;
reg = <0x7e100000 0x114>,
<0x7e00a000 0x24>;
reg-names = "pm", "asb";
clocks = <&clocks BCM2835_CLOCK_V3D>,
<&clocks BCM2835_CLOCK_PERI_IMAGE>,
<&clocks BCM2835_CLOCK_H264>,
<&clocks BCM2835_CLOCK_ISP>;
clock-names = "v3d", "peri_image", "h264", "isp";
system-power-controller;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause