From 143b6a71810a87989a87e5f00543a04695e3d437 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Sun, 19 Jul 2009 09:11:59 +0000 Subject: add driver for the CF slot of the Magicbox v2/OpenRB boards SVN-Revision: 16910 --- .../105-magicboxv2-add-cf-card-to-dts.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch (limited to 'target/linux/ppc40x/patches-2.6.30/105-magicboxv2-add-cf-card-to-dts.patch') 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 ++ * Copyright 2009 Gabor Juhos + * + * 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>; -- cgit v1.2.3