Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/power/brcm,bcm63xx-power.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: BCM63xx power domain driver |
| 8 | |
| 9 | maintainers: |
| 10 | - Álvaro Fernández Rojas <noltari@gmail.com> |
| 11 | |
| 12 | description: | |
| 13 | BCM6318, BCM6328, BCM6362 and BCM63268 SoCs have a power domain controller |
| 14 | to enable/disable certain components in order to save power. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | items: |
| 19 | - enum: |
| 20 | - brcm,bcm6318-power-controller |
| 21 | - brcm,bcm6328-power-controller |
| 22 | - brcm,bcm6362-power-controller |
| 23 | - brcm,bcm63268-power-controller |
| 24 | |
| 25 | reg: |
| 26 | maxItems: 1 |
| 27 | |
| 28 | "#power-domain-cells": |
| 29 | const: 1 |
| 30 | |
| 31 | required: |
| 32 | - compatible |
| 33 | - reg |
| 34 | - "#power-domain-cells" |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | periph_pwr: power-controller@10001848 { |
| 41 | compatible = "brcm,bcm6328-power-controller"; |
| 42 | reg = <0x10001848 0x4>; |
| 43 | #power-domain-cells = <1>; |
| 44 | }; |