xref: /freebsd/sys/contrib/device-tree/Bindings/power/brcm,bcm-pmb.yaml (revision 2eb4d8dc723da3cf7d735a3226ae49da4c8c5dbc)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/power/brcm,bcm-pmb.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
75def4c47SEmmanuel Vadottitle: Broadcom PMB (Power Management Bus) controller
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotdescription: This document describes Broadcom's PMB controller. It supports
105def4c47SEmmanuel Vadot  powering various types of connected devices (e.g. PCIe, USB, SATA).
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotmaintainers:
135def4c47SEmmanuel Vadot  - Rafał Miłecki <rafal@milecki.pl>
145def4c47SEmmanuel Vadot
155def4c47SEmmanuel Vadotproperties:
165def4c47SEmmanuel Vadot  compatible:
175def4c47SEmmanuel Vadot    enum:
185def4c47SEmmanuel Vadot      - brcm,bcm4908-pmb
19*2eb4d8dcSEmmanuel Vadot      - brcm,bcm63138-pmb
205def4c47SEmmanuel Vadot
215def4c47SEmmanuel Vadot  reg:
225def4c47SEmmanuel Vadot    description: register space of one or more buses
235def4c47SEmmanuel Vadot    maxItems: 1
245def4c47SEmmanuel Vadot
255def4c47SEmmanuel Vadot  big-endian:
265def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/flag
275def4c47SEmmanuel Vadot    description: Flag to use for block working in big endian mode.
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  "#power-domain-cells":
305def4c47SEmmanuel Vadot    description: cell specifies device ID (see bcm-pmb.h)
315def4c47SEmmanuel Vadot    const: 1
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel Vadotrequired:
345def4c47SEmmanuel Vadot  - reg
355def4c47SEmmanuel Vadot  - "#power-domain-cells"
365def4c47SEmmanuel Vadot
375def4c47SEmmanuel VadotadditionalProperties: false
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadotexamples:
405def4c47SEmmanuel Vadot  - |
415def4c47SEmmanuel Vadot    #include <dt-bindings/soc/bcm-pmb.h>
425def4c47SEmmanuel Vadot
435def4c47SEmmanuel Vadot    pmb: power-controller@802800e0 {
445def4c47SEmmanuel Vadot        compatible = "brcm,bcm4908-pmb";
455def4c47SEmmanuel Vadot        reg = <0x802800e0 0x40>;
465def4c47SEmmanuel Vadot        #power-domain-cells = <1>;
475def4c47SEmmanuel Vadot    };
485def4c47SEmmanuel Vadot
495def4c47SEmmanuel Vadot    foo {
505def4c47SEmmanuel Vadot        power-domains = <&pmb BCM_PMB_PCIE0>;
515def4c47SEmmanuel Vadot    };
52