Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 1 | * Chipselect/Local Bus |
| 2 | |
| 3 | Properties: |
| 4 | - name : Should be localbus |
| 5 | - #address-cells : Should be either two or three. The first cell is the |
| 6 | chipselect number, and the remaining cells are the |
| 7 | offset into the chipselect. |
| 8 | - #size-cells : Either one or two, depending on how large each chipselect |
| 9 | can be. |
| 10 | - ranges : Each range corresponds to a single chipselect, and cover |
| 11 | the entire access window as configured. |
| 12 | |
| 13 | Example: |
| 14 | localbus@f0010100 { |
| 15 | compatible = "fsl,mpc8272-localbus", |
| 16 | "fsl,pq2-localbus"; |
| 17 | #address-cells = <2>; |
| 18 | #size-cells = <1>; |
| 19 | reg = <f0010100 40>; |
| 20 | |
| 21 | ranges = <0 0 fe000000 02000000 |
| 22 | 1 0 f4500000 00008000>; |
| 23 | |
| 24 | flash@0,0 { |
| 25 | compatible = "jedec-flash"; |
| 26 | reg = <0 0 2000000>; |
| 27 | bank-width = <4>; |
| 28 | device-width = <1>; |
| 29 | }; |
| 30 | |
| 31 | board-control@1,0 { |
| 32 | reg = <1 0 20>; |
| 33 | compatible = "fsl,mpc8272ads-bcsr"; |
| 34 | }; |
| 35 | }; |