brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 1c80fce Raw
44 lines · plain
1* Chipselect/Local Bus2 3Properties:4- name : Should be localbus5- #address-cells : Should be either two or three.  The first cell is the6                   chipselect number, and the remaining cells are the7                   offset into the chipselect.8- #size-cells : Either one or two, depending on how large each chipselect9                can be.10- ranges : Each range corresponds to a single chipselect, and cover11           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>;19		reg = <0xf0010100 0x40>;20 21		ranges = <0x0 0x0 0xfe000000 0x0200000022			  0x1 0x0 0xf4500000 0x0000800023			  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	};44