diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2009-07-19 09:11:59 +0000 |
---|---|---|
committer | Gabor Juhos <juhosg@openwrt.org> | 2009-07-19 09:11:59 +0000 |
commit | 9ce9ef316155970f3f349a0a34517d3afefaaef5 (patch) | |
tree | 57288457dae785a55d9bf118c9fec1f3e6f64e21 /target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch | |
parent | bd0b9996470f3f4ef9171a5afcee84adbfb5f37c (diff) | |
download | upstream-9ce9ef316155970f3f349a0a34517d3afefaaef5.tar.gz upstream-9ce9ef316155970f3f349a0a34517d3afefaaef5.tar.bz2 upstream-9ce9ef316155970f3f349a0a34517d3afefaaef5.zip |
[ppc40x] add driver for the CF slot of the Magicbox v2/OpenRB boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16910 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch')
-rw-r--r-- | target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch b/target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch new file mode 100644 index 0000000000..97990909bf --- /dev/null +++ b/target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch @@ -0,0 +1,25 @@ +--- a/arch/powerpc/boot/dts/magicboxv2.dts ++++ b/arch/powerpc/boot/dts/magicboxv2.dts +@@ -2,6 +2,7 @@ + * Device Tree Source for Magicbox v2 + * + * Copyright 2008 Imre Kaloz <kaloz@openwrt.org> ++ * Copyright 2009 Gabor Juhos <juhosg@openwrt.org> + * + * Based on walnut.dts + * +@@ -183,6 +184,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@ffc00000 { + compatible = "cfi-flash"; + bank-width = <2>; |