97990909bf2ba866419177187d0ed1f53ee63af9
[openwrt.git] / target / linux / ppc40x / patches-2.6.30 / 105-magicboxv2-add-cf-card-to-dts.patch
1 --- a/arch/powerpc/boot/dts/magicboxv2.dts
2 +++ b/arch/powerpc/boot/dts/magicboxv2.dts
3 @@ -2,6 +2,7 @@
4   * Device Tree Source for Magicbox v2
5   *
6   * Copyright 2008 Imre Kaloz <kaloz@openwrt.org>
7 + * Copyright 2009 Gabor Juhos <juhosg@openwrt.org>
8   *
9   * Based on walnut.dts
10   *
11 @@ -183,6 +184,14 @@
12                          */
13                         clock-frequency = <0>; /* Filled in by zImage */
14  
15 +                       cf_card@ff100000 {
16 +                               compatible = "magicbox-cf";
17 +                               reg = <0x00000000 0xff100000 0x00001000
18 +                                      0x00000000 0xff200000 0x00001000>;
19 +                               interrupt-parent = <&UIC0>;
20 +                               interrupts = <0x19 0x1 /* IRQ_TYPE_EDGE_RISING */ >;
21 +                       };
22 +
23                         nor_flash@ffc00000 {
24                                 compatible = "cfi-flash";
25                                 bank-width = <2>;