summaryrefslogtreecommitdiffstats
path: root/target/linux/ppc40x/patches/103-openrb-light-add-cf-card-to-dts.patch
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-07-19 17:46:07 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-07-19 17:46:07 +0000
commitceaa5d87900161b31e83fb574f602e25ade7bc2c (patch)
treebb9e4a006353bbe2b153d3497cfc59b1eeaa82ce /target/linux/ppc40x/patches/103-openrb-light-add-cf-card-to-dts.patch
parentfd879ddbe88a372b533aaf964e3af8c355308e9c (diff)
downloadmaster-31e0f0ae-ceaa5d87900161b31e83fb574f602e25ade7bc2c.tar.gz
master-31e0f0ae-ceaa5d87900161b31e83fb574f602e25ade7bc2c.tar.bz2
master-31e0f0ae-ceaa5d87900161b31e83fb574f602e25ade7bc2c.zip
backport Magicbox CF driver to 2.6.28
SVN-Revision: 16923
Diffstat (limited to 'target/linux/ppc40x/patches/103-openrb-light-add-cf-card-to-dts.patch')
-rw-r--r--target/linux/ppc40x/patches/103-openrb-light-add-cf-card-to-dts.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/target/linux/ppc40x/patches/103-openrb-light-add-cf-card-to-dts.patch b/target/linux/ppc40x/patches/103-openrb-light-add-cf-card-to-dts.patch
new file mode 100644
index 0000000000..ee49aa1c9d
--- /dev/null
+++ b/target/linux/ppc40x/patches/103-openrb-light-add-cf-card-to-dts.patch
@@ -0,0 +1,17 @@
+--- a/arch/powerpc/boot/dts/openrb-light.dts
++++ b/arch/powerpc/boot/dts/openrb-light.dts
+@@ -177,6 +177,14 @@
+ */
+ clock-frequency = <0>; /* Filled in by zImage */
+
++ cf_card@ff100000 {
++ compatible = "magicbox-cf";
++ reg = <0x00000000 0xff100000 0x00001000
++ 0x00000000 0xff200000 0x00001000>;
++ interrupt-parent = <&UIC0>;
++ interrupts = <0x19 0x1 /* IRQ_TYPE_EDGE_RISING */ >;
++ };
++
+ nor_flash@ff800000 {
+ compatible = "cfi-flash";
+ bank-width = <2>;