xref: /freebsd/sys/contrib/device-tree/Bindings/fuse/nvidia,tegra20-fuse.yaml (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/fuse/nvidia,tegra20-fuse.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: NVIDIA Tegra FUSE block
8
9maintainers:
10  - Thierry Reding <thierry.reding@gmail.com>
11  - Jon Hunter <jonathanh@nvidia.com>
12
13properties:
14  compatible:
15    oneOf:
16      - enum:
17          - nvidia,tegra20-efuse
18          - nvidia,tegra30-efuse
19          - nvidia,tegra114-efuse
20          - nvidia,tegra124-efuse
21          - nvidia,tegra210-efuse
22          - nvidia,tegra186-efuse
23          - nvidia,tegra194-efuse
24          - nvidia,tegra234-efuse
25
26      - items:
27          - const: nvidia,tegra132-efuse
28          - const: nvidia,tegra124-efuse
29
30  reg:
31    maxItems: 1
32
33  clocks:
34    maxItems: 1
35
36  clock-names:
37    items:
38      - const: fuse
39
40  resets:
41    maxItems: 1
42
43  reset-names:
44    items:
45      - const: fuse
46
47  operating-points-v2: true
48
49  power-domains:
50    items:
51      - description: phandle to the core power domain
52
53additionalProperties: false
54
55required:
56  - compatible
57  - reg
58  - clocks
59  - clock-names
60
61if:
62  properties:
63    compatible:
64      contains:
65        enum:
66          - nvidia,tegra20-efuse
67          - nvidia,tegra30-efuse
68          - nvidia,tegra114-efuse
69          - nvidia,tegra124-efuse
70          - nvidia,tegra132-efuse
71          - nvidia,tegra210-efuse
72then:
73  required:
74    - resets
75    - reset-names
76
77examples:
78  - |
79    #include <dt-bindings/clock/tegra20-car.h>
80
81    fuse@7000f800 {
82        compatible = "nvidia,tegra20-efuse";
83        reg = <0x7000f800 0x400>;
84        clocks = <&tegra_car TEGRA20_CLK_FUSE>;
85        clock-names = "fuse";
86        resets = <&tegra_car 39>;
87        reset-names = "fuse";
88    };
89