Patchwork powerpc/86xx: Add device_type entry to soc for ppc9a

login
register
mail settings
Submitter Martyn Welch
Date April 27, 2009, 4:24 p.m.
Message ID <20090427162428.8133.23523.stgit@ubuntu8041.localdomain>
Download mbox | patch
Permalink /patch/26508/
State Accepted, archived
Delegated to: Kumar Gala
Headers show

Comments

Martyn Welch - April 27, 2009, 4:24 p.m.
The 'device_type = "soc";' line *is* needed in the DTS for get_immrbase()
to return the correct address.

Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
---

 arch/powerpc/boot/dts/gef_ppc9a.dts |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
Kumar Gala - April 27, 2009, 6:02 p.m.
On Apr 27, 2009, at 11:24 AM, Martyn Welch wrote:

> The 'device_type = "soc";' line *is* needed in the DTS for  
> get_immrbase()
> to return the correct address.
>
> Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com>
> ---
>
> arch/powerpc/boot/dts/gef_ppc9a.dts |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)

applied to merge

- k

Patch

diff --git a/arch/powerpc/boot/dts/gef_ppc9a.dts b/arch/powerpc/boot/dts/gef_ppc9a.dts
index d47ad07..53a7a62 100644
--- a/arch/powerpc/boot/dts/gef_ppc9a.dts
+++ b/arch/powerpc/boot/dts/gef_ppc9a.dts
@@ -161,6 +161,7 @@ 
 		#address-cells = <1>;
 		#size-cells = <1>;
 		#interrupt-cells = <2>;
+		device_type = "soc";
 		compatible = "fsl,mpc8641-soc", "simple-bus";
 		ranges = <0x0 0xfef00000 0x00100000>;
 		reg = <0xfef00000 0x100000>;	// CCSRBAR 1M