Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 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 | |
| 7 | title: Broadcom's MISC block |
| 8 | |
| 9 | maintainers: |
| 10 | - Rafał Miłecki <rafal@milecki.pl> |
| 11 | |
| 12 | description: | |
| 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 | |
| 17 | properties: |
| 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 | |
| 34 | patternProperties: |
| 35 | '^reset-controller@[a-f0-9]+$': |
| 36 | $ref: ../reset/brcm,bcm4908-misc-pcie-reset.yaml |
| 37 | |
| 38 | additionalProperties: false |
| 39 | |
| 40 | required: |
| 41 | - reg |
| 42 | - '#address-cells' |
| 43 | - '#size-cells' |
| 44 | |
| 45 | examples: |
| 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 | }; |