summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-20 07:49:16 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-20 07:49:16 +0000
commitb78215b71d1e61ac5d12bea2787326f13557d1ef (patch)
treec5a4fffaa07a3375a2085262af96eb4b98e6adb8
parenta308781040a2567ecd12ecede7fb16abbf5e2572 (diff)
downloadmtk-20170518-b78215b71d1e61ac5d12bea2787326f13557d1ef.zip
mtk-20170518-b78215b71d1e61ac5d12bea2787326f13557d1ef.tar.gz
mtk-20170518-b78215b71d1e61ac5d12bea2787326f13557d1ef.tar.bz2
update dts of Magicbox V2
SVN-Revision: 16928
-rw-r--r--target/linux/ppc40x/patches-2.6.30/006-magicboxv2.patch26
1 files changed, 23 insertions, 3 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 ed19b9e..8ef10c8 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,259 @@
+@@ -0,0 +1,279 @@
+/*
+ * Device Tree Source for Magicbox v2
+ *
@@ -198,11 +198,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 {
@@ -225,6 +237,7 @@
+ phy-mode = "mii";
+ phy-map = <0x00000000>;
+ };
++
+ EMAC1: ethernet@ef600900 {
+ linux,network-index = <0x1>;
+ device_type = "network";
@@ -247,6 +260,13 @@
+ phy-map = <0x00000001>;
+ };
+
++ leds {
++ compatible = "gpio-leds";
++ user {
++ label = "magicbox:red:user";
++ gpios = <&GPIO0 2 1>;
++ };
++ };
+ };
+
+ EBC0: ebc {