[PATCH 7/9] arm/tegra: emc: device tree bindings
Simon Glass
sjg at chromium.org
Thu Jan 12 16:48:10 EST 2012
Hi Olof,
On Thu, Dec 22, 2011 at 4:17 PM, Olof Johansson <olof at lixom.net> wrote:
> Device tree bindings for the EMC tables on tegra.
>
> Signed-off-by: Olof Johansson <olof at lixom.net>
> Cc: Rob Herring <robherring2 at gmail.com>
> Cc: devicetree-discuss at lists.ozlabs.org
> ---
> .../devicetree/bindings/arm/tegra/emc.txt | 100 ++++++++++++++++++++
> arch/arm/boot/dts/tegra20.dtsi | 7 ++
> 2 files changed, 107 insertions(+), 0 deletions(-)
> create mode 100644 Documentation/devicetree/bindings/arm/tegra/emc.txt
>
> diff --git a/Documentation/devicetree/bindings/arm/tegra/emc.txt b/Documentation/devicetree/bindings/arm/tegra/emc.txt
> new file mode 100644
> index 0000000..09335f8
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/arm/tegra/emc.txt
> @@ -0,0 +1,100 @@
> +Embedded Memory Controller
> +
> +Properties:
> +- name : Should be emc
> +- #address-cells : Should be 1
> +- #size-cells : Should be 0
> +- compatible : Should contain "nvidia,tegra20-emc".
> +- reg : Offset and length of the register set for the device
> +- nvidia,use-ram-code : If present, the sub-nodes will be addressed
> + and chosen using the ramcode board selector. If omitted, only one
> + set of tables can be present and said tables will be used
> + irrespective of ram-code configuration.
> +
> +Child device nodes describe the memory settings for different configurations and clock rates.
> +
> +Example:
> +
> + emc at 7000f400 {
> + #address-cells = < 1 >;
> + #size-cells = < 0 >;
> + compatible = "nvidia,tegra20-emc";
> + reg = <0x7000f4000 0x200>;
Minor point - that should be 0x7000f400.
Regards,
SImon
More information about the linux-arm-kernel
mailing list