1 * Chipselect/Local Bus 1 * Chipselect/Local Bus 2 2 3 Properties: 3 Properties: 4 - name : Should be localbus 4 - name : Should be localbus 5 - #address-cells : Should be either two or thr 5 - #address-cells : Should be either two or three. The first cell is the 6 chipselect number, and the 6 chipselect number, and the remaining cells are the 7 offset into the chipselect. 7 offset into the chipselect. 8 - #size-cells : Either one or two, depending o 8 - #size-cells : Either one or two, depending on how large each chipselect 9 can be. 9 can be. 10 - ranges : Each range corresponds to a single 10 - ranges : Each range corresponds to a single chipselect, and cover 11 the entire access window as configu 11 the entire access window as configured. 12 12 13 Example: 13 Example: 14 localbus@f0010100 { 14 localbus@f0010100 { 15 compatible = "fsl,mpc8272-loca 15 compatible = "fsl,mpc8272-localbus", 16 "fsl,pq2-localbus"; 16 "fsl,pq2-localbus"; 17 #address-cells = <2>; 17 #address-cells = <2>; 18 #size-cells = <1>; 18 #size-cells = <1>; 19 reg = <0xf0010100 0x40>; 19 reg = <0xf0010100 0x40>; 20 20 21 ranges = <0x0 0x0 0xfe000000 0 21 ranges = <0x0 0x0 0xfe000000 0x02000000 22 0x1 0x0 0xf4500000 0 22 0x1 0x0 0xf4500000 0x00008000 23 0x2 0x0 0xfd810000 0 23 0x2 0x0 0xfd810000 0x00010000>; 24 24 25 flash@0,0 { 25 flash@0,0 { 26 compatible = "jedec-fl 26 compatible = "jedec-flash"; 27 reg = <0x0 0x0 0x20000 27 reg = <0x0 0x0 0x2000000>; 28 bank-width = <4>; 28 bank-width = <4>; 29 device-width = <1>; 29 device-width = <1>; 30 }; 30 }; 31 31 32 board-control@1,0 { 32 board-control@1,0 { 33 reg = <0x1 0x0 0x20>; 33 reg = <0x1 0x0 0x20>; 34 compatible = "fsl,mpc8 34 compatible = "fsl,mpc8272ads-bcsr"; 35 }; 35 }; 36 36 37 simple-periph@2,0 { 37 simple-periph@2,0 { 38 compatible = "fsl,elbc 38 compatible = "fsl,elbc-gpcm-uio"; 39 reg = <0x2 0x0 0x10000 39 reg = <0x2 0x0 0x10000>; 40 elbc-gpcm-br = <0xfd81 40 elbc-gpcm-br = <0xfd810800>; 41 elbc-gpcm-or = <0xffff 41 elbc-gpcm-or = <0xffff09f7>; 42 }; 42 }; 43 }; 43 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.