NVIDIA Tegra20/30 SLINK controller
Schema identifier ($id): "http://devicetree.org/schemas/spi/nvidia,tegra20-slink.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Thierry Reding <thierry.reding@gmail.com>", "Jon Hunter <jonathanh@nvidia.com>"
Properties and child nodes (properties) #
compatible — required here #
Allowed values (enum): "nvidia,tegra20-slink", "nvidia,tegra30-slink"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
clocks — required here #
Array item rules (items) #
Item 1
module clock
resets — required here #
Array item rules (items) #
Item 1
module reset
reset-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"spi"
dmas — required here #
Array item rules (items) #
Item 1
DMA channel used for reception
Item 2
DMA channel used for transmission
dma-names — required here #
Array item rules (items) #
Item 1
Exact value (
const):"rx"
Item 2
Exact value (
const):"tx"
operating-points-v2 — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle
power-domains — not listed as required here #
Array item rules (items) #
Item 1
phandle to the core power domain
spi-max-frequency — not listed as required here #
Maximum SPI clocking speed of the controller in Hz.
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):spi-controller.yaml
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets", "reset-names", "dmas", "dma-names"
Examples (examples) #
#include <dt-bindings/clock/tegra20-car.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
spi@7000d600 {
compatible = "nvidia,tegra20-slink";
reg = <0x7000d600 0x200>;
interrupts = <GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>;
spi-max-frequency = <25000000>;
#address-cells = <1>;
#size-cells = <0>;
clocks = <&tegra_car TEGRA20_CLK_SBC2>;
resets = <&tegra_car 44>;
reset-names = "spi";
dmas = <&apbdma 16>, <&apbdma 16>;
dma-names = "rx", "tx";
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)