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


Based on kernel version 6.8. Page generated on 2024-03-11 21:26 EST.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
# 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 <thierry.reding@gmail.com>
  - Jon Hunter <jonathanh@nvidia.com>

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 */
    };