From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pv0-f179.google.com (mail-pv0-f179.google.com [74.125.83.179]) by ozlabs.org (Postfix) with ESMTP id F04CCB708E for ; Fri, 16 Jul 2010 18:35:18 +1000 (EST) Received: by pvh11 with SMTP id 11so835568pvh.38 for ; Fri, 16 Jul 2010 01:35:16 -0700 (PDT) Date: Fri, 16 Jul 2010 16:34:51 +0800 From: "hacklu" To: "linuxppc-dev" Subject: hi, i have two flashs, but my kernel can only find one , how can i write the dts? Message-ID: <201007161634429622975@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="=====003_Dragon458443720373_=====" List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , This is a multi-part message in MIME format. --=====003_Dragon458443720373_===== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit this is my dts file: flash@0,0 { #address-cells = <1>; #size-cells = <1>; compatible = "cfi-flash"; probe-type = "CFI"; reg = <0 0 1000000>; bank-width = <2>; device-width = <1>; hrcw@0 { label = "hrcw"; reg = <0 40000>; }; jffs@40000 { label = "jffs"; reg = <40000 200000>; }; jffs2@240000 { label = "uimage"; reg = <240000 d80000>; }; }; flash@1,0 { #address-cells = <1>; #size-cells = <1>; compatible = "cfi-flash"; probe-type = "CFI"; reg = <1000000 0 1000000>; bank-width = <2>; device-width = <1>; jffs3@240000 { label = "jffs2"; reg = <0 1000000>; }; }; 2010-07-16 hacklu --=====003_Dragon458443720373_===== Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: 7bit
this is my dts file:
flash@0,0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "cfi-flash";
                        probe-type = "CFI";
                        reg = <0 0 1000000>;
                        bank-width = <2>;
                        device-width = <1>;
                        hrcw@0 {
                                label = "hrcw";
                                reg = <0 40000>;
                        };
                        jffs@40000 {
                                label = "jffs";
                                reg = <40000 200000>;
                        };
                        jffs2@240000 {
                                label = "uimage";
                                reg = <240000 d80000>;
                        };
             };
flash@1,0 {
                        #address-cells = <1>;
                        #size-cells = <1>;
                        compatible = "cfi-flash";
                        probe-type = "CFI";
                        reg = <1000000 0 1000000>;
                        bank-width = <2>;
                        device-width = <1>;
                        jffs3@240000 {
                                label = "jffs2";
                                reg = <0 1000000>;
                        };
                }; 
2010-07-16

hacklu
--=====003_Dragon458443720373_=====--