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