Signed-off-by: Anton Vorontsov <[EMAIL PROTECTED]>
---
 arch/powerpc/boot/dts/mpc836x_rdk.dts |   19 +++++++++++++++++--
 arch/powerpc/platforms/83xx/Kconfig   |    1 +
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc836x_rdk.dts 
b/arch/powerpc/boot/dts/mpc836x_rdk.dts
index 3f8d2b0..43420b1 100644
--- a/arch/powerpc/boot/dts/mpc836x_rdk.dts
+++ b/arch/powerpc/boot/dts/mpc836x_rdk.dts
@@ -126,7 +126,8 @@
                        reg = <0x700 0x100>;
                };
 
-               [EMAIL PROTECTED] {
+               qe_pio: [EMAIL PROTECTED] {
+                       #gpio-cells = <2>;
                        compatible = "fsl,qe-pario";
                        reg = <0x1400 0x100>;
                        num-ports = <7>;
@@ -292,7 +293,8 @@
                compatible = "fsl,mpc8360-localbus",
                             "fsl,pq2pro-localbus";
                reg = <0xe0005000 0xd8>;
-               ranges = <0 0 0xff800000 0x800000>;
+               ranges = <0 0 0xff800000 0x800000
+                         1 0 0x60000000 0x001000>;
 
                [EMAIL PROTECTED],0 {
                        compatible = "intel,PC28F640P30T85", "cfi-flash";
@@ -300,6 +302,19 @@
                        bank-width = <2>;
                        device-width = <1>;
                };
+
+               [EMAIL PROTECTED],0 {
+                       compatible = "stmicro,NAND512W3A2BN6E", "fsl,upm-nand";
+                       reg = <1 0 1>;
+                       width = <1>;
+                       upm = "A";
+                       upm-addr-offset = <16>;
+                       upm-cmd-offset = <8>;
+                       gpios = <4 18>;
+                       gpio-parent = <&qe_pio>;
+                       wait-pattern;
+                       wait-write;
+               };
        };
 
        pci0: [EMAIL PROTECTED] {
diff --git a/arch/powerpc/platforms/83xx/Kconfig 
b/arch/powerpc/platforms/83xx/Kconfig
index 0d5a87c..723a8fe 100644
--- a/arch/powerpc/platforms/83xx/Kconfig
+++ b/arch/powerpc/platforms/83xx/Kconfig
@@ -88,6 +88,7 @@ config PPC_MPC836x
        bool
        select PPC_UDBG_16550
        select PPC_INDIRECT_PCI
+       select FSL_UPM
        default y if MPC836x_MDS || MPC836x_RDK
 
 config PPC_MPC837x
-- 
1.5.2.2
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to