summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-20 08:39:54 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-07-20 08:39:54 +0000
commit4089f1701d4fd80378a0c35ab9c428ef101b5429 (patch)
tree2501c8628e99a572afca1152a917d2e3fa58eec8 /target
parentc2fd5acd2e1955f36aa43aa0fa66ac3034dd5d33 (diff)
[ppc40x] update dts of Magicbox V2 for 2.6.28
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16930 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ppc40x/patches/006-magicboxv2.patch26
1 files changed, 23 insertions, 3 deletions
diff --git a/target/linux/ppc40x/patches/006-magicboxv2.patch b/target/linux/ppc40x/patches/006-magicboxv2.patch
index a8dd690ce8..c2c34c0835 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,259 @@
+@@ -0,0 +1,279 @@
+/*
+ * Device Tree Source for Magicbox v2
+ *
@@ -197,11 +197,23 @@
+ reg = <0xef600500 0x00000011>;
+ interrupt-parent = <&UIC0>;
+ interrupts = <0x2 0x4>;
++
++ dtt@48 {
++ compatible = "national,lm75";
++ reg = <0x48>;
++ };
++
++ eeprom@50 {
++ compatible = "at24,24c16";
++ reg = <0x50>;
++ };
+ };
+
-+ GPIO: gpio@ef600700 {
-+ compatible = "ibm,gpio-405ep";
++ GPIO0: gpio-controller@ef600700 {
++ compatible = "ibm,ppc4xx-gpio";
+ reg = <0xef600700 0x00000020>;
++ #gpio-cells = <2>;
++ gpio-controller;
+ };
+
+ EMAC0: ethernet@ef600800 {
@@ -224,6 +236,7 @@
+ phy-mode = "mii";
+ phy-map = <0x00000000>;
+ };
++
+ EMAC1: ethernet@ef600900 {
+ linux,network-index = <0x1>;
+ device_type = "network";
@@ -246,6 +259,13 @@
+ phy-map = <0x00000001>;
+ };
+
++ leds {
++ compatible = "gpio-leds";
++ user {
++ label = "magicbox:red:user";
++ gpios = <&GPIO0 2 1>;
++ };
++ };
+ };
+
+ EBC0: ebc {