blob: 1c80fcedebb52049721fbd61c4dd4c57133bd47c [file] [log] [blame]
Kumar Galad0fc2ea2008-07-07 11:28:33 -05001* Chipselect/Local Bus
2
3Properties:
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
13Example:
14 localbus@f0010100 {
15 compatible = "fsl,mpc8272-localbus",
16 "fsl,pq2-localbus";
17 #address-cells = <2>;
18 #size-cells = <1>;
John Ognessfbc4a8a2014-12-09 17:43:10 +010019 reg = <0xf0010100 0x40>;
Kumar Galad0fc2ea2008-07-07 11:28:33 -050020
John Ognessfbc4a8a2014-12-09 17:43:10 +010021 ranges = <0x0 0x0 0xfe000000 0x02000000
22 0x1 0x0 0xf4500000 0x00008000
23 0x2 0x0 0xfd810000 0x00010000>;
Kumar Galad0fc2ea2008-07-07 11:28:33 -050024
25 flash@0,0 {
26 compatible = "jedec-flash";
John Ognessfbc4a8a2014-12-09 17:43:10 +010027 reg = <0x0 0x0 0x2000000>;
Kumar Galad0fc2ea2008-07-07 11:28:33 -050028 bank-width = <4>;
29 device-width = <1>;
30 };
31
32 board-control@1,0 {
John Ognessfbc4a8a2014-12-09 17:43:10 +010033 reg = <0x1 0x0 0x20>;
Kumar Galad0fc2ea2008-07-07 11:28:33 -050034 compatible = "fsl,mpc8272ads-bcsr";
35 };
John Ognessfbc4a8a2014-12-09 17:43:10 +010036
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 Galad0fc2ea2008-07-07 11:28:33 -050043 };