Back to home page

OSCL-LXR

 
 

    


0001 * Chipselect/Local Bus
0002 
0003 Properties:
0004 - name : Should be localbus
0005 - #address-cells : Should be either two or three.  The first cell is the
0006                    chipselect number, and the remaining cells are the
0007                    offset into the chipselect.
0008 - #size-cells : Either one or two, depending on how large each chipselect
0009                 can be.
0010 - ranges : Each range corresponds to a single chipselect, and cover
0011            the entire access window as configured.
0012 
0013 Example:
0014         localbus@f0010100 {
0015                 compatible = "fsl,mpc8272-localbus",
0016                            "fsl,pq2-localbus";
0017                 #address-cells = <2>;
0018                 #size-cells = <1>;
0019                 reg = <0xf0010100 0x40>;
0020 
0021                 ranges = <0x0 0x0 0xfe000000 0x02000000
0022                           0x1 0x0 0xf4500000 0x00008000
0023                           0x2 0x0 0xfd810000 0x00010000>;
0024 
0025                 flash@0,0 {
0026                         compatible = "jedec-flash";
0027                         reg = <0x0 0x0 0x2000000>;
0028                         bank-width = <4>;
0029                         device-width = <1>;
0030                 };
0031 
0032                 board-control@1,0 {
0033                         reg = <0x1 0x0 0x20>;
0034                         compatible = "fsl,mpc8272ads-bcsr";
0035                 };
0036 
0037                 simple-periph@2,0 {
0038                         compatible = "fsl,elbc-gpcm-uio";
0039                         reg = <0x2 0x0 0x10000>;
0040                         elbc-gpcm-br = <0xfd810800>;
0041                         elbc-gpcm-or = <0xffff09f7>;
0042                 };
0043         };