xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/brcm,misc.yaml (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/mfd/brcm,misc.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Broadcom's MISC block
8
9maintainers:
10  - Rafał Miłecki <rafal@milecki.pl>
11
12description: |
13  Broadcom's MISC is a hardware block used on some SoCs (e.g. bcm63xx and
14  bcm4908). It's used to implement some simple functions like a watchdog, PCIe
15  reset, UniMAC control and more.
16
17properties:
18  compatible:
19    items:
20      - const: brcm,misc
21      - const: simple-mfd
22
23  reg:
24    description: MISC block registers
25
26  ranges: true
27
28  "#address-cells":
29    const: 1
30
31  "#size-cells":
32    const: 1
33
34patternProperties:
35  '^reset-controller@[a-f0-9]+$':
36    $ref: ../reset/brcm,bcm4908-misc-pcie-reset.yaml
37
38additionalProperties: false
39
40required:
41  - reg
42  - '#address-cells'
43  - '#size-cells'
44
45examples:
46  - |
47    misc@ff802600 {
48        compatible = "brcm,misc", "simple-mfd";
49        reg = <0xff802600 0xe4>;
50
51        #address-cells = <1>;
52        #size-cells = <1>;
53        ranges = <0x0 0x0 0xe4>;
54
55        reset-controller@44 {
56            compatible = "brcm,bcm4908-misc-pcie-reset";
57            reg = <0x44 0x4>;
58            #reset-cells = <1>;
59        };
60    };
61