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/hwmon/nxp,mc34vr500.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: NXP MC34VR500 hwmon sensor |
| 8 | |
| 9 | maintainers: |
| 10 | - Mario Kicherer <dev@kicherer.org> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | enum: |
| 15 | - nxp,mc34vr500 |
| 16 | |
| 17 | reg: |
| 18 | maxItems: 1 |
| 19 | |
| 20 | required: |
| 21 | - compatible |
| 22 | - reg |
| 23 | |
| 24 | additionalProperties: false |
| 25 | |
| 26 | examples: |
| 27 | - | |
| 28 | i2c { |
| 29 | #address-cells = <1>; |
| 30 | #size-cells = <0>; |
| 31 | |
| 32 | pmic@8 { |
| 33 | compatible = "nxp,mc34vr500"; |
| 34 | reg = <0x08>; |
| 35 | }; |
| 36 | }; |