[U-Boot] [RFC PATCH v2 05/13] tegra: dts: Bring in GPIO bindings from linux

Stephen Warren swarren at wwwdotorg.org
Tue May 13 21:05:06 CEST 2014


On 05/09/2014 11:28 AM, Simon Glass wrote:
> These files are taken from Linux 3.14.

> diff --git a/arch/arm/dts/tegra124.dtsi b/arch/arm/dts/tegra124.dtsi

> -	gpio: gpio at 6000d000 {
> +	gpio: gpio at 0,6000d000 {
>  		compatible = "nvidia,tegra124-gpio", "nvidia,tegra30-gpio";
> -		reg = <0x6000d000 0x1000>;
...
> +		reg = <0x0 0x6000d000 0x0 0x1000>;

That reg value and node name are for #address-cells=<2>,
#size-cells=<2>. However, those properties are both =<1> in the U-Boot
tegra124.dtsi, and I'm not sure whether U-Boot even supports 64-bit DT
address values yet?

It'd probably be simplest to just use 32-bit address/size values in
tegra124.dtsi now, and import the conversion to 64-bit later?

Aside from that, this patch looks, so assuming the change to those two
lines above is reverted:

Acked-by: Stephen Warren <swarren at nvidia.com>


More information about the U-Boot mailing list