linux-loongson/Documentation/devicetree/bindings/power/raspberrypi,bcm2835-power.yaml
Karan Sanghavi a0e583b64c dt-bindings: power: Convert raspberrypi,bcm2835-power to Dt schema
Convert the raspberrypi,bcm2835-power binding to Dt schema

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Karan Sanghavi <karansanghvi98@gmail.com>
Link: https://lore.kernel.org/r/20241216-raspberrypi-bcm2835-power-v5-1-222fc244132b@gmail.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2024-12-17 05:25:57 -06:00

43 lines
952 B
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/power/raspberrypi,bcm2835-power.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Broadcom BCM2835 power domain
maintainers:
- Alexander Aring <alex.aring@gmail.com>
- Florian Fainelli <florian.fainelli@broadcom.com>
description:
The Raspberry Pi power domain manages power for various subsystems
in the Raspberry Pi BCM2835 SoC.
properties:
compatible:
enum:
- raspberrypi,bcm2835-power
firmware:
$ref: /schemas/types.yaml#/definitions/phandle
description: Reference to the RPi firmware device node
"#power-domain-cells":
const: 1
required:
- compatible
- firmware
- "#power-domain-cells"
unevaluatedProperties: false
examples:
- |
power-controller {
compatible = "raspberrypi,bcm2835-power";
firmware = <&firmware>;
#power-domain-cells = <1>;
};