PrasannaKumar Muralidharan | af93465 | 2020-03-10 13:22:54 +0000 | [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/nvmem/ingenic,jz4780-efuse.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Ingenic JZ EFUSE driver bindings |
| 8 | |
| 9 | maintainers: |
| 10 | - PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> |
| 11 | |
| 12 | allOf: |
| 13 | - $ref: "nvmem.yaml#" |
| 14 | |
| 15 | properties: |
| 16 | compatible: |
| 17 | enum: |
| 18 | - ingenic,jz4780-efuse |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | clocks: |
| 24 | # Handle for the ahb for the efuse. |
| 25 | maxItems: 1 |
| 26 | |
| 27 | required: |
| 28 | - compatible |
| 29 | - reg |
| 30 | - clocks |
| 31 | |
| 32 | unevaluatedProperties: false |
| 33 | |
| 34 | examples: |
| 35 | - | |
Paul Cercueil | c4a11bf | 2021-10-16 14:33:21 +0100 | [diff] [blame^] | 36 | #include <dt-bindings/clock/ingenic,jz4780-cgu.h> |
PrasannaKumar Muralidharan | af93465 | 2020-03-10 13:22:54 +0000 | [diff] [blame] | 37 | |
| 38 | efuse@134100d0 { |
| 39 | compatible = "ingenic,jz4780-efuse"; |
| 40 | reg = <0x134100d0 0x2c>; |
| 41 | |
| 42 | clocks = <&cgu JZ4780_CLK_AHB2>; |
| 43 | }; |
| 44 | |
| 45 | ... |