xref: /freebsd/sys/contrib/device-tree/Bindings/mfd/brcm,misc.yaml (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
18cc087a1SEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
28cc087a1SEmmanuel Vadot%YAML 1.2
38cc087a1SEmmanuel Vadot---
48cc087a1SEmmanuel Vadot$id: http://devicetree.org/schemas/mfd/brcm,misc.yaml#
58cc087a1SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
68cc087a1SEmmanuel Vadot
78cc087a1SEmmanuel Vadottitle: Broadcom's MISC block
88cc087a1SEmmanuel Vadot
98cc087a1SEmmanuel Vadotmaintainers:
108cc087a1SEmmanuel Vadot  - Rafał Miłecki <rafal@milecki.pl>
118cc087a1SEmmanuel Vadot
128cc087a1SEmmanuel Vadotdescription: |
138cc087a1SEmmanuel Vadot  Broadcom's MISC is a hardware block used on some SoCs (e.g. bcm63xx and
148cc087a1SEmmanuel Vadot  bcm4908). It's used to implement some simple functions like a watchdog, PCIe
158cc087a1SEmmanuel Vadot  reset, UniMAC control and more.
168cc087a1SEmmanuel Vadot
178cc087a1SEmmanuel Vadotproperties:
188cc087a1SEmmanuel Vadot  compatible:
198cc087a1SEmmanuel Vadot    items:
208cc087a1SEmmanuel Vadot      - const: brcm,misc
218cc087a1SEmmanuel Vadot      - const: simple-mfd
228cc087a1SEmmanuel Vadot
238cc087a1SEmmanuel Vadot  reg:
248cc087a1SEmmanuel Vadot    description: MISC block registers
258cc087a1SEmmanuel Vadot
268cc087a1SEmmanuel Vadot  ranges: true
278cc087a1SEmmanuel Vadot
288cc087a1SEmmanuel Vadot  "#address-cells":
298cc087a1SEmmanuel Vadot    const: 1
308cc087a1SEmmanuel Vadot
318cc087a1SEmmanuel Vadot  "#size-cells":
328cc087a1SEmmanuel Vadot    const: 1
338cc087a1SEmmanuel Vadot
348cc087a1SEmmanuel VadotpatternProperties:
358cc087a1SEmmanuel Vadot  '^reset-controller@[a-f0-9]+$':
36*7d0873ebSEmmanuel Vadot    $ref: /schemas/reset/brcm,bcm4908-misc-pcie-reset.yaml
378cc087a1SEmmanuel Vadot
388cc087a1SEmmanuel VadotadditionalProperties: false
398cc087a1SEmmanuel Vadot
408cc087a1SEmmanuel Vadotrequired:
418cc087a1SEmmanuel Vadot  - reg
428cc087a1SEmmanuel Vadot  - '#address-cells'
438cc087a1SEmmanuel Vadot  - '#size-cells'
448cc087a1SEmmanuel Vadot
458cc087a1SEmmanuel Vadotexamples:
468cc087a1SEmmanuel Vadot  - |
478cc087a1SEmmanuel Vadot    misc@ff802600 {
488cc087a1SEmmanuel Vadot        compatible = "brcm,misc", "simple-mfd";
498cc087a1SEmmanuel Vadot        reg = <0xff802600 0xe4>;
508cc087a1SEmmanuel Vadot
518cc087a1SEmmanuel Vadot        #address-cells = <1>;
528cc087a1SEmmanuel Vadot        #size-cells = <1>;
538cc087a1SEmmanuel Vadot        ranges = <0x0 0x0 0xe4>;
548cc087a1SEmmanuel Vadot
558cc087a1SEmmanuel Vadot        reset-controller@44 {
568cc087a1SEmmanuel Vadot            compatible = "brcm,bcm4908-misc-pcie-reset";
578cc087a1SEmmanuel Vadot            reg = <0x44 0x4>;
588cc087a1SEmmanuel Vadot            #reset-cells = <1>;
598cc087a1SEmmanuel Vadot        };
608cc087a1SEmmanuel Vadot    };
61