mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-03 17:51:23 +00:00

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>
43 lines
952 B
YAML
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>;
|
|
};
|