mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 01:43:18 +00:00
Users of common properties shouldn't have a type definition as the common schemas already have one. Drop all the unnecessary type references in the tree. A meta-schema update to catch these is pending. Cc: Maxime Ripard <[email protected]> Cc: Linus Walleij <[email protected]> Cc: Bartosz Golaszewski <[email protected]> Cc: Bjorn Andersson <[email protected]> Cc: Krzysztof Kozlowski <[email protected]> Cc: "David S. Miller" <[email protected]> Cc: Jakub Kicinski <[email protected]> Cc: Ohad Ben-Cohen <[email protected]> Cc: Cheng-Yi Chiang <[email protected]> Cc: Benson Leung <[email protected]> Cc: Zhang Rui <[email protected]> Cc: Daniel Lezcano <[email protected]> Cc: Stefan Wahren <[email protected]> Cc: Masahiro Yamada <[email protected]> Cc: Odelu Kukatla <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Acked-by: Dmity Baryshkov <[email protected]> Acked-by: Mark Brown <[email protected]> Acked-by: Suman Anna <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Acked-by: Marc Kleine-Budde <[email protected]> Reviewed-by: Srinivas Kandagatla <[email protected]> Acked-by: Maxime Ripard <[email protected]> Reviewed-by: Nicolas Saenz Julienne <[email protected]> Link: https://lore.kernel.org/r/[email protected]
83 lines
1.9 KiB
YAML
83 lines
1.9 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/memory-controllers/nvidia,tegra210-emc.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: NVIDIA Tegra210 SoC External Memory Controller
|
|
|
|
maintainers:
|
|
- Thierry Reding <[email protected]>
|
|
- Jon Hunter <[email protected]>
|
|
|
|
description: |
|
|
The EMC interfaces with the off-chip SDRAM to service the request stream
|
|
sent from the memory controller.
|
|
|
|
properties:
|
|
compatible:
|
|
const: nvidia,tegra210-emc
|
|
|
|
reg:
|
|
maxItems: 3
|
|
|
|
clocks:
|
|
items:
|
|
- description: external memory clock
|
|
|
|
clock-names:
|
|
items:
|
|
- const: emc
|
|
|
|
interrupts:
|
|
items:
|
|
- description: EMC general interrupt
|
|
|
|
memory-region:
|
|
maxItems: 1
|
|
description:
|
|
phandle to a reserved memory region describing the table of EMC
|
|
frequencies trained by the firmware
|
|
|
|
nvidia,memory-controller:
|
|
$ref: /schemas/types.yaml#/definitions/phandle
|
|
description:
|
|
phandle of the memory controller node
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
- clocks
|
|
- clock-names
|
|
- nvidia,memory-controller
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
#include <dt-bindings/clock/tegra210-car.h>
|
|
#include <dt-bindings/interrupt-controller/arm-gic.h>
|
|
|
|
reserved-memory {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
ranges;
|
|
|
|
emc_table: emc-table@83400000 {
|
|
compatible = "nvidia,tegra210-emc-table";
|
|
reg = <0x83400000 0x10000>;
|
|
};
|
|
};
|
|
|
|
external-memory-controller@7001b000 {
|
|
compatible = "nvidia,tegra210-emc";
|
|
reg = <0x7001b000 0x1000>,
|
|
<0x7001e000 0x1000>,
|
|
<0x7001f000 0x1000>;
|
|
clocks = <&tegra_car TEGRA210_CLK_EMC>;
|
|
clock-names = "emc";
|
|
interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
|
|
memory-region = <&emc_table>;
|
|
nvidia,memory-controller = <&mc>;
|
|
};
|