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/starfive,jh7110-pmu.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: StarFive JH7110 Power Management Unit |
| 8 | |
| 9 | maintainers: |
| 10 | - Walker Chen <walker.chen@starfivetech.com> |
| 11 | |
| 12 | description: | |
| 13 | StarFive JH7110 SoC includes support for multiple power domains which can be |
| 14 | powered on/off by software based on different application scenes to save power. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | enum: |
| 19 | - starfive,jh7110-pmu |
| 20 | |
| 21 | reg: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | interrupts: |
| 25 | maxItems: 1 |
| 26 | |
| 27 | "#power-domain-cells": |
| 28 | const: 1 |
| 29 | |
| 30 | required: |
| 31 | - compatible |
| 32 | - reg |
| 33 | - interrupts |
| 34 | - "#power-domain-cells" |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | pwrc: power-controller@17030000 { |
| 41 | compatible = "starfive,jh7110-pmu"; |
| 42 | reg = <0x17030000 0x10000>; |
| 43 | interrupts = <111>; |
| 44 | #power-domain-cells = <1>; |
| 45 | }; |