1*51a0f370SThierry Reding# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*51a0f370SThierry Reding%YAML 1.2
3*51a0f370SThierry Reding---
4*51a0f370SThierry Reding$id: http://devicetree.org/schemas/misc/nvidia,tegra20-apbmisc.yaml#
5*51a0f370SThierry Reding$schema: http://devicetree.org/meta-schemas/core.yaml#
6*51a0f370SThierry Reding
7*51a0f370SThierry Redingtitle: NVIDIA Tegra APBMISC block
8*51a0f370SThierry Reding
9*51a0f370SThierry Redingmaintainers:
10*51a0f370SThierry Reding  - Thierry Reding <thierry.reding@gmail.com>
11*51a0f370SThierry Reding  - Jon Hunter <jonathanh@nvidia.com>
12*51a0f370SThierry Reding
13*51a0f370SThierry Redingproperties:
14*51a0f370SThierry Reding  compatible:
15*51a0f370SThierry Reding    oneOf:
16*51a0f370SThierry Reding      - items:
17*51a0f370SThierry Reding          - enum:
18*51a0f370SThierry Reding              - nvidia,tegra210-apbmisc
19*51a0f370SThierry Reding              - nvidia,tegra124-apbmisc
20*51a0f370SThierry Reding              - nvidia,tegra114-apbmisc
21*51a0f370SThierry Reding              - nvidia,tegra30-apbmisc
22*51a0f370SThierry Reding          - const: nvidia,tegra20-apbmisc
23*51a0f370SThierry Reding
24*51a0f370SThierry Reding      - items:
25*51a0f370SThierry Reding          - const: nvidia,tegra20-apbmisc
26*51a0f370SThierry Reding
27*51a0f370SThierry Reding  reg:
28*51a0f370SThierry Reding    items:
29*51a0f370SThierry Reding      - description: physical address and length of the registers which
30*51a0f370SThierry Reding          contain revision and debug features
31*51a0f370SThierry Reding      - description: physical address and length of the registers which
32*51a0f370SThierry Reding          indicate strapping options
33*51a0f370SThierry Reding
34*51a0f370SThierry Reding  nvidia,long-ram-code:
35*51a0f370SThierry Reding    description: If present, the RAM code is long (4 bit). If not, short
36*51a0f370SThierry Reding      (2 bit).
37*51a0f370SThierry Reding    type: boolean
38*51a0f370SThierry Reding
39*51a0f370SThierry RedingadditionalProperties: false
40*51a0f370SThierry Reding
41*51a0f370SThierry Redingrequired:
42*51a0f370SThierry Reding  - compatible
43*51a0f370SThierry Reding  - reg
44*51a0f370SThierry Reding
45*51a0f370SThierry Redingexamples:
46*51a0f370SThierry Reding  - |
47*51a0f370SThierry Reding    apbmisc@70000800 {
48*51a0f370SThierry Reding        compatible = "nvidia,tegra20-apbmisc";
49*51a0f370SThierry Reding        reg = <0x70000800 0x64>, /* Chip revision */
50*51a0f370SThierry Reding              <0x70000008 0x04>; /* Strapping options */
51*51a0f370SThierry Reding    };
52