devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/3] ARM: Tegra: dt: s/rootdelay/rootwait/ in cmdline args
@ 2011-05-02 18:50 Stephen Warren
       [not found] ` <1304362231-21909-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2011-05-02 18:50 UTC (permalink / raw)
  To: grant.likely-s3s/WqlpOiPyB63q8FvJNQ
  Cc: bones-s3s/WqlpOiPyB63q8FvJNQ,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

rootwait is more robust than rootdelay for slow devices.

Suggested-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
v2: New patch for v2 of series

 arch/arm/boot/dts/tegra-harmony.dts |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/boot/dts/tegra-harmony.dts b/arch/arm/boot/dts/tegra-harmony.dts
index e87c27c..7fe007b 100644
--- a/arch/arm/boot/dts/tegra-harmony.dts
+++ b/arch/arm/boot/dts/tegra-harmony.dts
@@ -9,7 +9,7 @@
 	interrupt-parent = <&intc>;
 
 	chosen {
-		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootdelay=2";
+		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootwait";
 	};
 
 	memory {
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 2/3] ARM: Tegra: dt: Split out separate Tegra SoC DT
       [not found] ` <1304362231-21909-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2011-05-02 18:50   ` Stephen Warren
       [not found]     ` <1304362231-21909-2-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2011-05-02 18:50   ` [PATCH v2 3/3] ARM: Tegra: Seaboard: Add devicetree support Stephen Warren
  2011-05-02 21:02   ` [PATCH v2 1/3] ARM: Tegra: dt: s/rootdelay/rootwait/ in cmdline args Grant Likely
  2 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2011-05-02 18:50 UTC (permalink / raw)
  To: grant.likely-s3s/WqlpOiPyB63q8FvJNQ
  Cc: bones-s3s/WqlpOiPyB63q8FvJNQ,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

tegra250.dts describes everything within the Tegra SoC, but leaves all
optional devices disabled.

tegra-harmony.dts is now the configuration of the SoC for the board,
i.e. it enables the optional devices that are required for the board,
and provides any required platform data for those devics.

The prevents every Tegra board having to repeat all the basic internal
SoC wiring.

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
v2: Rebased on latest devicetree/test; incorporated changes from there
    into the new tegra250.dts.

 arch/arm/boot/dts/tegra-harmony.dts |   86 ++-----------------------------
 arch/arm/boot/dts/tegra250.dts      |   99 +++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+), 82 deletions(-)
 create mode 100644 arch/arm/boot/dts/tegra250.dts

diff --git a/arch/arm/boot/dts/tegra-harmony.dts b/arch/arm/boot/dts/tegra-harmony.dts
index 7fe007b..154649e 100644
--- a/arch/arm/boot/dts/tegra-harmony.dts
+++ b/arch/arm/boot/dts/tegra-harmony.dts
@@ -1,12 +1,11 @@
 /dts-v1/;
 
 /memreserve/ 0x1c000000 0x04000000;
-/include/ "skeleton.dtsi"
+/include/ "tegra250.dts"
 
 / {
 	model = "NVIDIA Tegra2 Harmony evaluation board";
 	compatible = "nvidia,harmony", "nvidia,tegra250";
-	interrupt-parent = <&intc>;
 
 	chosen {
 		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootwait";
@@ -17,97 +16,20 @@
 		reg = < 0x00000000 0x40000000 >;
 	};
 
-	amba {
-		compatible = "simple-bus";
-		#address-cells = <1>;
-		#size-cells = <1>;
-		ranges;
-
-		intc: interrupt-controller@50041000 {
-			compatible = "nvidia,tegra250-gic", "arm,gic";
-			interrupt-controller;
-			#interrupt-cells = <1>;
-			reg = < 0x50041000 0x1000 >,
-			      < 0x50040100 0x0100 >;
-		};
-	};
-
-	gpio: gpio@6000d000 {
-		compatible = "nvidia,tegra250-gpio";
-		reg = < 0x6000d000 0x1000 >;
-		interrupts = < 64 65 66 67 87 119 121 >;
-		#gpio-cells = <2>;
-		gpio-controller;
-	};
-
-	serial@70006000 {
-		compatible = "nvidia,tegra250-uart";
-		reg = <0x70006000 0x40>;
-		reg-shift = <2>;
-		interrupts = < 68 >;
-		status = "disabled";
-	};
-
-	serial@70006040 {
-		compatible = "nvidia,tegra250-uart";
-		reg = <0x70006040 0x40>;
-		reg-shift = <2>;
-		interrupts = < 69 >;
-		status = "disabled";
-	};
-
-	serial@70006200 {
-		compatible = "nvidia,tegra250-uart";
-		reg = <0x70006200 0x100>;
-		reg-shift = <2>;
-		interrupts = < 78 >;
-		status = "disabled";
-	};
-
 	serial@70006300 {
-		compatible = "nvidia,tegra250-uart";
-		reg = <0x70006300 0x100>;
-		reg-shift = <2>;
-		interrupts = < 122 >;
-
+		status = "ok";
 		clock-frequency = < 216000000 >;
 	};
 
-	serial@70006400 {
-		compatible = "nvidia,tegra250-uart";
-		reg = <0x70006400 0x100>;
-		reg-shift = <2>;
-		interrupts = < 123 >;
-		status = "disabled";
-	};
-
-	sdhci@c8000000 {
-		compatible = "nvidia,tegra250-sdhci";
-		reg = <0xc8000000 0x200>;
-		interrupts = < 46 >;
-		status = "disabled";
-	};
-
 	sdhci@c8000200 {
-		compatible = "nvidia,tegra250-sdhci";
-		reg = <0xc8000200 0x200>;
-		interrupts = < 47 >;
+		status = "ok";
 		gpios = <&gpio 69 0>, /* cd, gpio PI5 */
 			<&gpio 57 0>, /* wp, gpio PH1 */
 			<&gpio 155 0>; /* power, gpio PT3 */
 	};
 
-	sdhci@c8000400 {
-		compatible = "nvidia,tegra250-sdhci";
-		reg = <0xc8000400 0x200>;
-		interrupts = < 51 >;
-		status = "disabled";
-	};
-
 	sdhci@c8000600 {
-		compatible = "nvidia,tegra250-sdhci";
-		reg = <0xc8000600 0x200>;
-		interrupts = < 63 >;
+		status = "ok";
 		gpios = <&gpio 58 0>, /* cd, gpio PH2 */
 			<&gpio 59 0>, /* wp, gpio PH3 */
 			<&gpio 70 0>; /* power, gpio PI6 */
diff --git a/arch/arm/boot/dts/tegra250.dts b/arch/arm/boot/dts/tegra250.dts
new file mode 100644
index 0000000..f1801b8
--- /dev/null
+++ b/arch/arm/boot/dts/tegra250.dts
@@ -0,0 +1,99 @@
+/include/ "skeleton.dtsi"
+
+/ {
+	model = "NVIDIA Tegra 250";
+	compatible = "nvidia,tegra250";
+	interrupt-parent = <&intc>;
+
+	amba {
+		compatible = "simple-bus";
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		intc: interrupt-controller@50041000 {
+			compatible = "nvidia,tegra250-gic", "arm,gic";
+			interrupt-controller;
+			#interrupt-cells = <1>;
+			reg = < 0x50041000 0x1000 >,
+			      < 0x50040100 0x0100 >;
+		};
+	};
+
+	gpio: gpio@6000d000 {
+		compatible = "nvidia,tegra250-gpio";
+		reg = < 0x6000d000 0x1000 >;
+		interrupts = < 64 65 66 67 87 119 121 >;
+		#gpio-cells = <2>;
+		gpio-controller;
+	};
+
+	serial@70006000 {
+		compatible = "nvidia,tegra250-uart";
+		reg = <0x70006000 0x40>;
+		reg-shift = <2>;
+		interrupts = < 68 >;
+		status = "disabled";
+	};
+
+	serial@70006040 {
+		compatible = "nvidia,tegra250-uart";
+		reg = <0x70006040 0x40>;
+		reg-shift = <2>;
+		interrupts = < 69 >;
+		status = "disabled";
+	};
+
+	serial@70006200 {
+		compatible = "nvidia,tegra250-uart";
+		reg = <0x70006200 0x100>;
+		reg-shift = <2>;
+		interrupts = < 78 >;
+		status = "disabled";
+	};
+
+	serial@70006300 {
+		compatible = "nvidia,tegra250-uart";
+		reg = <0x70006300 0x100>;
+		reg-shift = <2>;
+		interrupts = < 122 >;
+		status = "disabled";
+	};
+
+	serial@70006400 {
+		compatible = "nvidia,tegra250-uart";
+		reg = <0x70006400 0x100>;
+		reg-shift = <2>;
+		interrupts = < 123 >;
+		status = "disabled";
+	};
+
+	sdhci@c8000000 {
+		compatible = "nvidia,tegra250-sdhci";
+		reg = <0xc8000000 0x200>;
+		interrupts = < 46 >;
+		status = "disabled";
+	};
+
+	sdhci@c8000200 {
+		compatible = "nvidia,tegra250-sdhci";
+		reg = <0xc8000200 0x200>;
+		interrupts = < 47 >;
+		status = "disabled";
+	};
+
+	sdhci@c8000400 {
+		compatible = "nvidia,tegra250-sdhci";
+		reg = <0xc8000400 0x200>;
+		interrupts = < 51 >;
+		status = "disabled";
+	};
+
+	sdhci@c8000600 {
+		compatible = "nvidia,tegra250-sdhci";
+		reg = <0xc8000600 0x200>;
+		interrupts = < 63 >;
+		status = "disabled";
+	};
+};
+
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [PATCH v2 3/3] ARM: Tegra: Seaboard: Add devicetree support
       [not found] ` <1304362231-21909-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2011-05-02 18:50   ` [PATCH v2 2/3] ARM: Tegra: dt: Split out separate Tegra SoC DT Stephen Warren
@ 2011-05-02 18:50   ` Stephen Warren
       [not found]     ` <1304362231-21909-3-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2011-05-02 21:02   ` [PATCH v2 1/3] ARM: Tegra: dt: s/rootdelay/rootwait/ in cmdline args Grant Likely
  2 siblings, 1 reply; 6+ messages in thread
From: Stephen Warren @ 2011-05-02 18:50 UTC (permalink / raw)
  To: grant.likely-s3s/WqlpOiPyB63q8FvJNQ
  Cc: bones-s3s/WqlpOiPyB63q8FvJNQ,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA, Stephen Warren

Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
---
v2: Rebased on latest devicetree/test, s/Harmony/Seaboard in model,
    s/rootdelay/rootwait/.

Patch series tested on Harmony, Seaboard (non-clamshell and clamshell)

 arch/arm/boot/dts/tegra-seaboard.dts |   34 ++++++++++++++++++++++++++++++++++
 arch/arm/mach-tegra/Makefile.boot    |    1 +
 2 files changed, 35 insertions(+), 0 deletions(-)
 create mode 100644 arch/arm/boot/dts/tegra-seaboard.dts

diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts
new file mode 100644
index 0000000..abcc7d7
--- /dev/null
+++ b/arch/arm/boot/dts/tegra-seaboard.dts
@@ -0,0 +1,34 @@
+/dts-v1/;
+
+/memreserve/ 0x1c000000 0x04000000;
+/include/ "tegra250.dts"
+
+/ {
+	model = "NVIDIA Seaboard";
+	compatible = "nvidia,seaboard", "nvidia,tegra250";
+
+	chosen {
+		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootwait";
+	};
+
+	memory {
+		device_type = "memory";
+		reg = < 0x00000000 0x40000000 >;
+	};
+
+	serial@70006300 {
+		status = "ok";
+		clock-frequency = < 216000000 >;
+	};
+
+	sdhci@c8000400 {
+		status = "ok";
+		gpios = <&gpio 69 0>, /* cd, gpio PI5 */
+			<&gpio 57 0>, /* wp, gpio PH1 */
+			<&gpio 70 0>; /* power, gpio PI6 */
+	};
+
+	sdhci@c8000600 {
+		status = "ok";
+	};
+};
diff --git a/arch/arm/mach-tegra/Makefile.boot b/arch/arm/mach-tegra/Makefile.boot
index c98addf..428ad12 100644
--- a/arch/arm/mach-tegra/Makefile.boot
+++ b/arch/arm/mach-tegra/Makefile.boot
@@ -3,3 +3,4 @@ params_phys-$(CONFIG_ARCH_TEGRA_2x_SOC)	:= 0x00000100
 initrd_phys-$(CONFIG_ARCH_TEGRA_2x_SOC)	:= 0x00800000
 
 dtb-$(CONFIG_MACH_HARMONY) += tegra-harmony.dtb
+dtb-$(CONFIG_MACH_SEABOARD) += tegra-seaboard.dtb
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 1/3] ARM: Tegra: dt: s/rootdelay/rootwait/ in cmdline args
       [not found] ` <1304362231-21909-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
  2011-05-02 18:50   ` [PATCH v2 2/3] ARM: Tegra: dt: Split out separate Tegra SoC DT Stephen Warren
  2011-05-02 18:50   ` [PATCH v2 3/3] ARM: Tegra: Seaboard: Add devicetree support Stephen Warren
@ 2011-05-02 21:02   ` Grant Likely
  2 siblings, 0 replies; 6+ messages in thread
From: Grant Likely @ 2011-05-02 21:02 UTC (permalink / raw)
  To: Stephen Warren
  Cc: bones-s3s/WqlpOiPyB63q8FvJNQ,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Mon, May 02, 2011 at 12:50:29PM -0600, Stephen Warren wrote:
> rootwait is more robust than rootdelay for slow devices.
> 
> Suggested-by: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Squashed into 'arm/dt: full tegra devicetree support', thanks.

g.

> ---
> v2: New patch for v2 of series
> 
>  arch/arm/boot/dts/tegra-harmony.dts |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/arch/arm/boot/dts/tegra-harmony.dts b/arch/arm/boot/dts/tegra-harmony.dts
> index e87c27c..7fe007b 100644
> --- a/arch/arm/boot/dts/tegra-harmony.dts
> +++ b/arch/arm/boot/dts/tegra-harmony.dts
> @@ -9,7 +9,7 @@
>  	interrupt-parent = <&intc>;
>  
>  	chosen {
> -		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootdelay=2";
> +		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootwait";
>  	};
>  
>  	memory {
> -- 
> 1.7.0.4
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 2/3] ARM: Tegra: dt: Split out separate Tegra SoC DT
       [not found]     ` <1304362231-21909-2-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2011-05-02 21:06       ` Grant Likely
  0 siblings, 0 replies; 6+ messages in thread
From: Grant Likely @ 2011-05-02 21:06 UTC (permalink / raw)
  To: Stephen Warren
  Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ

On Mon, May 02, 2011 at 12:50:30PM -0600, Stephen Warren wrote:
> tegra250.dts describes everything within the Tegra SoC, but leaves all
> optional devices disabled.
> 
> tegra-harmony.dts is now the configuration of the SoC for the board,
> i.e. it enables the optional devices that are required for the board,
> and provides any required platform data for those devics.
> 
> The prevents every Tegra board having to repeat all the basic internal
> SoC wiring.
> 
> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Squashed into arm/dt: full tegra devicetree support, thanks

g.

> ---
> v2: Rebased on latest devicetree/test; incorporated changes from there
>     into the new tegra250.dts.
> 
>  arch/arm/boot/dts/tegra-harmony.dts |   86 ++-----------------------------
>  arch/arm/boot/dts/tegra250.dts      |   99 +++++++++++++++++++++++++++++++++++
>  2 files changed, 103 insertions(+), 82 deletions(-)
>  create mode 100644 arch/arm/boot/dts/tegra250.dts
> 
> diff --git a/arch/arm/boot/dts/tegra-harmony.dts b/arch/arm/boot/dts/tegra-harmony.dts
> index 7fe007b..154649e 100644
> --- a/arch/arm/boot/dts/tegra-harmony.dts
> +++ b/arch/arm/boot/dts/tegra-harmony.dts
> @@ -1,12 +1,11 @@
>  /dts-v1/;
>  
>  /memreserve/ 0x1c000000 0x04000000;
> -/include/ "skeleton.dtsi"
> +/include/ "tegra250.dts"
>  
>  / {
>  	model = "NVIDIA Tegra2 Harmony evaluation board";
>  	compatible = "nvidia,harmony", "nvidia,tegra250";
> -	interrupt-parent = <&intc>;
>  
>  	chosen {
>  		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw rootwait";
> @@ -17,97 +16,20 @@
>  		reg = < 0x00000000 0x40000000 >;
>  	};
>  
> -	amba {
> -		compatible = "simple-bus";
> -		#address-cells = <1>;
> -		#size-cells = <1>;
> -		ranges;
> -
> -		intc: interrupt-controller@50041000 {
> -			compatible = "nvidia,tegra250-gic", "arm,gic";
> -			interrupt-controller;
> -			#interrupt-cells = <1>;
> -			reg = < 0x50041000 0x1000 >,
> -			      < 0x50040100 0x0100 >;
> -		};
> -	};
> -
> -	gpio: gpio@6000d000 {
> -		compatible = "nvidia,tegra250-gpio";
> -		reg = < 0x6000d000 0x1000 >;
> -		interrupts = < 64 65 66 67 87 119 121 >;
> -		#gpio-cells = <2>;
> -		gpio-controller;
> -	};
> -
> -	serial@70006000 {
> -		compatible = "nvidia,tegra250-uart";
> -		reg = <0x70006000 0x40>;
> -		reg-shift = <2>;
> -		interrupts = < 68 >;
> -		status = "disabled";
> -	};
> -
> -	serial@70006040 {
> -		compatible = "nvidia,tegra250-uart";
> -		reg = <0x70006040 0x40>;
> -		reg-shift = <2>;
> -		interrupts = < 69 >;
> -		status = "disabled";
> -	};
> -
> -	serial@70006200 {
> -		compatible = "nvidia,tegra250-uart";
> -		reg = <0x70006200 0x100>;
> -		reg-shift = <2>;
> -		interrupts = < 78 >;
> -		status = "disabled";
> -	};
> -
>  	serial@70006300 {
> -		compatible = "nvidia,tegra250-uart";
> -		reg = <0x70006300 0x100>;
> -		reg-shift = <2>;
> -		interrupts = < 122 >;
> -
> +		status = "ok";
>  		clock-frequency = < 216000000 >;
>  	};
>  
> -	serial@70006400 {
> -		compatible = "nvidia,tegra250-uart";
> -		reg = <0x70006400 0x100>;
> -		reg-shift = <2>;
> -		interrupts = < 123 >;
> -		status = "disabled";
> -	};
> -
> -	sdhci@c8000000 {
> -		compatible = "nvidia,tegra250-sdhci";
> -		reg = <0xc8000000 0x200>;
> -		interrupts = < 46 >;
> -		status = "disabled";
> -	};
> -
>  	sdhci@c8000200 {
> -		compatible = "nvidia,tegra250-sdhci";
> -		reg = <0xc8000200 0x200>;
> -		interrupts = < 47 >;
> +		status = "ok";
>  		gpios = <&gpio 69 0>, /* cd, gpio PI5 */
>  			<&gpio 57 0>, /* wp, gpio PH1 */
>  			<&gpio 155 0>; /* power, gpio PT3 */
>  	};
>  
> -	sdhci@c8000400 {
> -		compatible = "nvidia,tegra250-sdhci";
> -		reg = <0xc8000400 0x200>;
> -		interrupts = < 51 >;
> -		status = "disabled";
> -	};
> -
>  	sdhci@c8000600 {
> -		compatible = "nvidia,tegra250-sdhci";
> -		reg = <0xc8000600 0x200>;
> -		interrupts = < 63 >;
> +		status = "ok";
>  		gpios = <&gpio 58 0>, /* cd, gpio PH2 */
>  			<&gpio 59 0>, /* wp, gpio PH3 */
>  			<&gpio 70 0>; /* power, gpio PI6 */
> diff --git a/arch/arm/boot/dts/tegra250.dts b/arch/arm/boot/dts/tegra250.dts
> new file mode 100644
> index 0000000..f1801b8
> --- /dev/null
> +++ b/arch/arm/boot/dts/tegra250.dts
> @@ -0,0 +1,99 @@
> +/include/ "skeleton.dtsi"
> +
> +/ {
> +	model = "NVIDIA Tegra 250";
> +	compatible = "nvidia,tegra250";
> +	interrupt-parent = <&intc>;
> +
> +	amba {
> +		compatible = "simple-bus";
> +		#address-cells = <1>;
> +		#size-cells = <1>;
> +		ranges;
> +
> +		intc: interrupt-controller@50041000 {
> +			compatible = "nvidia,tegra250-gic", "arm,gic";
> +			interrupt-controller;
> +			#interrupt-cells = <1>;
> +			reg = < 0x50041000 0x1000 >,
> +			      < 0x50040100 0x0100 >;
> +		};
> +	};
> +
> +	gpio: gpio@6000d000 {
> +		compatible = "nvidia,tegra250-gpio";
> +		reg = < 0x6000d000 0x1000 >;
> +		interrupts = < 64 65 66 67 87 119 121 >;
> +		#gpio-cells = <2>;
> +		gpio-controller;
> +	};
> +
> +	serial@70006000 {
> +		compatible = "nvidia,tegra250-uart";
> +		reg = <0x70006000 0x40>;
> +		reg-shift = <2>;
> +		interrupts = < 68 >;
> +		status = "disabled";
> +	};
> +
> +	serial@70006040 {
> +		compatible = "nvidia,tegra250-uart";
> +		reg = <0x70006040 0x40>;
> +		reg-shift = <2>;
> +		interrupts = < 69 >;
> +		status = "disabled";
> +	};
> +
> +	serial@70006200 {
> +		compatible = "nvidia,tegra250-uart";
> +		reg = <0x70006200 0x100>;
> +		reg-shift = <2>;
> +		interrupts = < 78 >;
> +		status = "disabled";
> +	};
> +
> +	serial@70006300 {
> +		compatible = "nvidia,tegra250-uart";
> +		reg = <0x70006300 0x100>;
> +		reg-shift = <2>;
> +		interrupts = < 122 >;
> +		status = "disabled";
> +	};
> +
> +	serial@70006400 {
> +		compatible = "nvidia,tegra250-uart";
> +		reg = <0x70006400 0x100>;
> +		reg-shift = <2>;
> +		interrupts = < 123 >;
> +		status = "disabled";
> +	};
> +
> +	sdhci@c8000000 {
> +		compatible = "nvidia,tegra250-sdhci";
> +		reg = <0xc8000000 0x200>;
> +		interrupts = < 46 >;
> +		status = "disabled";
> +	};
> +
> +	sdhci@c8000200 {
> +		compatible = "nvidia,tegra250-sdhci";
> +		reg = <0xc8000200 0x200>;
> +		interrupts = < 47 >;
> +		status = "disabled";
> +	};
> +
> +	sdhci@c8000400 {
> +		compatible = "nvidia,tegra250-sdhci";
> +		reg = <0xc8000400 0x200>;
> +		interrupts = < 51 >;
> +		status = "disabled";
> +	};
> +
> +	sdhci@c8000600 {
> +		compatible = "nvidia,tegra250-sdhci";
> +		reg = <0xc8000600 0x200>;
> +		interrupts = < 63 >;
> +		status = "disabled";
> +	};
> +};
> +
> -- 
> 1.7.0.4
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH v2 3/3] ARM: Tegra: Seaboard: Add devicetree support
       [not found]     ` <1304362231-21909-3-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
@ 2011-05-02 21:06       ` Grant Likely
  0 siblings, 0 replies; 6+ messages in thread
From: Grant Likely @ 2011-05-02 21:06 UTC (permalink / raw)
  To: Stephen Warren
  Cc: bones-s3s/WqlpOiPyB63q8FvJNQ,
	devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ,
	linux-tegra-u79uwXL29TY76Z2rM5mHXA

On Mon, May 02, 2011 at 12:50:31PM -0600, Stephen Warren wrote:
> Signed-off-by: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>

Merged, thanks.

g.

> ---
> v2: Rebased on latest devicetree/test, s/Harmony/Seaboard in model,
>     s/rootdelay/rootwait/.
> 
> Patch series tested on Harmony, Seaboard (non-clamshell and clamshell)
> 
>  arch/arm/boot/dts/tegra-seaboard.dts |   34 ++++++++++++++++++++++++++++++++++
>  arch/arm/mach-tegra/Makefile.boot    |    1 +
>  2 files changed, 35 insertions(+), 0 deletions(-)
>  create mode 100644 arch/arm/boot/dts/tegra-seaboard.dts
> 
> diff --git a/arch/arm/boot/dts/tegra-seaboard.dts b/arch/arm/boot/dts/tegra-seaboard.dts
> new file mode 100644
> index 0000000..abcc7d7
> --- /dev/null
> +++ b/arch/arm/boot/dts/tegra-seaboard.dts
> @@ -0,0 +1,34 @@
> +/dts-v1/;
> +
> +/memreserve/ 0x1c000000 0x04000000;
> +/include/ "tegra250.dts"
> +
> +/ {
> +	model = "NVIDIA Seaboard";
> +	compatible = "nvidia,seaboard", "nvidia,tegra250";
> +
> +	chosen {
> +		bootargs = "vmalloc=192M video=tegrafb console=ttyS0,115200n8 root=/dev/mmcblk1p3 rw rootwait";
> +	};
> +
> +	memory {
> +		device_type = "memory";
> +		reg = < 0x00000000 0x40000000 >;
> +	};
> +
> +	serial@70006300 {
> +		status = "ok";
> +		clock-frequency = < 216000000 >;
> +	};
> +
> +	sdhci@c8000400 {
> +		status = "ok";
> +		gpios = <&gpio 69 0>, /* cd, gpio PI5 */
> +			<&gpio 57 0>, /* wp, gpio PH1 */
> +			<&gpio 70 0>; /* power, gpio PI6 */
> +	};
> +
> +	sdhci@c8000600 {
> +		status = "ok";
> +	};
> +};
> diff --git a/arch/arm/mach-tegra/Makefile.boot b/arch/arm/mach-tegra/Makefile.boot
> index c98addf..428ad12 100644
> --- a/arch/arm/mach-tegra/Makefile.boot
> +++ b/arch/arm/mach-tegra/Makefile.boot
> @@ -3,3 +3,4 @@ params_phys-$(CONFIG_ARCH_TEGRA_2x_SOC)	:= 0x00000100
>  initrd_phys-$(CONFIG_ARCH_TEGRA_2x_SOC)	:= 0x00800000
>  
>  dtb-$(CONFIG_MACH_HARMONY) += tegra-harmony.dtb
> +dtb-$(CONFIG_MACH_SEABOARD) += tegra-seaboard.dtb
> -- 
> 1.7.0.4
> 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-05-02 21:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-02 18:50 [PATCH v2 1/3] ARM: Tegra: dt: s/rootdelay/rootwait/ in cmdline args Stephen Warren
     [not found] ` <1304362231-21909-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-05-02 18:50   ` [PATCH v2 2/3] ARM: Tegra: dt: Split out separate Tegra SoC DT Stephen Warren
     [not found]     ` <1304362231-21909-2-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-05-02 21:06       ` Grant Likely
2011-05-02 18:50   ` [PATCH v2 3/3] ARM: Tegra: Seaboard: Add devicetree support Stephen Warren
     [not found]     ` <1304362231-21909-3-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2011-05-02 21:06       ` Grant Likely
2011-05-02 21:02   ` [PATCH v2 1/3] ARM: Tegra: dt: s/rootdelay/rootwait/ in cmdline args Grant Likely

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).