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>; |
John Ogness | fbc4a8a | 2014-12-09 17:43:10 +0100 | [diff] [blame] | 19 | reg = <0xf0010100 0x40>; |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 20 | |
John Ogness | fbc4a8a | 2014-12-09 17:43:10 +0100 | [diff] [blame] | 21 | ranges = <0x0 0x0 0xfe000000 0x02000000 |
| 22 | 0x1 0x0 0xf4500000 0x00008000 |
| 23 | 0x2 0x0 0xfd810000 0x00010000>; |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 24 | |
| 25 | flash@0,0 { |
| 26 | compatible = "jedec-flash"; |
John Ogness | fbc4a8a | 2014-12-09 17:43:10 +0100 | [diff] [blame] | 27 | reg = <0x0 0x0 0x2000000>; |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 28 | bank-width = <4>; |
| 29 | device-width = <1>; |
| 30 | }; |
| 31 | |
| 32 | board-control@1,0 { |
John Ogness | fbc4a8a | 2014-12-09 17:43:10 +0100 | [diff] [blame] | 33 | reg = <0x1 0x0 0x20>; |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 34 | compatible = "fsl,mpc8272ads-bcsr"; |
| 35 | }; |
John Ogness | fbc4a8a | 2014-12-09 17:43:10 +0100 | [diff] [blame] | 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 | }; |
Kumar Gala | d0fc2ea | 2008-07-07 11:28:33 -0500 | [diff] [blame] | 43 | }; |