| 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 = <0xf0010100 0x40>; |
| 20 |
|
| 21 |
ranges = <0x0 0x0 0xfe000000 0x02000000 |
| 22 |
0x1 0x0 0xf4500000 0x00008000 |
| 23 |
0x2 0x0 0xfd810000 0x00010000>; |
| 24 |
|
| 25 |
flash@0,0 { |
| 26 |
compatible = "jedec-flash"; |
| 27 |
reg = <0x0 0x0 0x2000000>; |
| 28 |
bank-width = <4>; |
| 29 |
device-width = <1>; |
| 30 |
}; |
| 31 |
|
| 32 |
board-control@1,0 { |
| 33 |
reg = <0x1 0x0 0x20>; |
| 34 |
compatible = "fsl,mpc8272ads-bcsr"; |
| 35 |
}; |
| 36 |
|
| 37 |
simple-periph@2,0 { |
| 38 |
compatible = "fsl,elbc-gpcm-uio"; |
| 39 |
reg = <0x2 0x0 0x10000>; |
| 40 |
elbc-gpcm-br = <0xfd810800>; |
| 41 |
elbc-gpcm-or = <0xffff09f7>; |
| 42 |
}; |
| 43 |
}; |