linux/Documentation/devicetree/bindings/misc/nvidia,tegra20-apbmisc.yaml

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/misc/nvidia,tegra20-apbmisc.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: NVIDIA Tegra APBMISC block

maintainers:
  - Thierry Reding <[email protected]>
  - Jon Hunter <[email protected]>

properties:
  compatible:
    oneOf:
      - items:
          - enum:
              - nvidia,tegra210-apbmisc
              - nvidia,tegra124-apbmisc
              - nvidia,tegra114-apbmisc
              - nvidia,tegra30-apbmisc
          - const: nvidia,tegra20-apbmisc

      - items:
          - const: nvidia,tegra20-apbmisc

  reg:
    items:
      - description: physical address and length of the registers which
          contain revision and debug features
      - description: physical address and length of the registers which
          indicate strapping options

  nvidia,long-ram-code:
    description: If present, the RAM code is long (4 bit). If not, short
      (2 bit).
    type: boolean

additionalProperties: false

required:
  - compatible
  - reg

examples:
  - |
    apbmisc@70000800 {
        compatible = "nvidia,tegra20-apbmisc";
        reg = <0x70000800 0x64>, /* Chip revision */
              <0x70000008 0x04>; /* Strapping options */
    };