From ea6665874f93fcdde7ad6d27754f1b814f177862 Mon Sep 17 00:00:00 2001
From: Gabor Juhos <juhosg@openwrt.org>
Date: Fri, 24 Jul 2009 18:33:55 +0000
Subject: [PATCH] fix magicboxv2.dts

SVN-Revision: 16969
---
 target/linux/ppc40x/patches-2.6.30/006-magicboxv2.patch | 4 +++-
 target/linux/ppc40x/patches/006-magicboxv2.patch        | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/target/linux/ppc40x/patches-2.6.30/006-magicboxv2.patch b/target/linux/ppc40x/patches-2.6.30/006-magicboxv2.patch
index 761c5602f5..1fddad50c3 100644
--- a/target/linux/ppc40x/patches-2.6.30/006-magicboxv2.patch
+++ b/target/linux/ppc40x/patches-2.6.30/006-magicboxv2.patch
@@ -73,7 +73,7 @@
 +
 --- /dev/null
 +++ b/arch/powerpc/boot/dts/magicboxv2.dts
-@@ -0,0 +1,279 @@
+@@ -0,0 +1,281 @@
 +/*
 + * Device Tree Source for Magicbox v2
 + *
@@ -195,6 +195,8 @@
 +
 +			IIC: i2c@ef600500 {
 +				compatible = "ibm,iic-405ep", "ibm,iic";
++				#address-cells = <1>;
++				#size-cells = <0>;
 +				reg = <0xef600500 0x00000011>;
 +				interrupt-parent = <&UIC0>;
 +				interrupts = <0x2 0x4>;
diff --git a/target/linux/ppc40x/patches/006-magicboxv2.patch b/target/linux/ppc40x/patches/006-magicboxv2.patch
index afbecbd965..0d71464717 100644
--- a/target/linux/ppc40x/patches/006-magicboxv2.patch
+++ b/target/linux/ppc40x/patches/006-magicboxv2.patch
@@ -72,7 +72,7 @@
 +}
 --- /dev/null
 +++ b/arch/powerpc/boot/dts/magicboxv2.dts
-@@ -0,0 +1,279 @@
+@@ -0,0 +1,281 @@
 +/*
 + * Device Tree Source for Magicbox v2
 + *
@@ -194,6 +194,8 @@
 +
 +			IIC: i2c@ef600500 {
 +				compatible = "ibm,iic-405ep", "ibm,iic";
++				#address-cells = <1>;
++				#size-cells = <0>;
 +				reg = <0xef600500 0x00000011>;
 +				interrupt-parent = <&UIC0>;
 +				interrupts = <0x2 0x4>;
-- 
GitLab