18c2ecf20Sopenharmony_ci* Chipselect/Local Bus
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciProperties:
48c2ecf20Sopenharmony_ci- name : Should be localbus
58c2ecf20Sopenharmony_ci- #address-cells : Should be either two or three.  The first cell is the
68c2ecf20Sopenharmony_ci                   chipselect number, and the remaining cells are the
78c2ecf20Sopenharmony_ci                   offset into the chipselect.
88c2ecf20Sopenharmony_ci- #size-cells : Either one or two, depending on how large each chipselect
98c2ecf20Sopenharmony_ci                can be.
108c2ecf20Sopenharmony_ci- ranges : Each range corresponds to a single chipselect, and cover
118c2ecf20Sopenharmony_ci           the entire access window as configured.
128c2ecf20Sopenharmony_ci
138c2ecf20Sopenharmony_ciExample:
148c2ecf20Sopenharmony_ci	localbus@f0010100 {
158c2ecf20Sopenharmony_ci		compatible = "fsl,mpc8272-localbus",
168c2ecf20Sopenharmony_ci			   "fsl,pq2-localbus";
178c2ecf20Sopenharmony_ci		#address-cells = <2>;
188c2ecf20Sopenharmony_ci		#size-cells = <1>;
198c2ecf20Sopenharmony_ci		reg = <0xf0010100 0x40>;
208c2ecf20Sopenharmony_ci
218c2ecf20Sopenharmony_ci		ranges = <0x0 0x0 0xfe000000 0x02000000
228c2ecf20Sopenharmony_ci			  0x1 0x0 0xf4500000 0x00008000
238c2ecf20Sopenharmony_ci			  0x2 0x0 0xfd810000 0x00010000>;
248c2ecf20Sopenharmony_ci
258c2ecf20Sopenharmony_ci		flash@0,0 {
268c2ecf20Sopenharmony_ci			compatible = "jedec-flash";
278c2ecf20Sopenharmony_ci			reg = <0x0 0x0 0x2000000>;
288c2ecf20Sopenharmony_ci			bank-width = <4>;
298c2ecf20Sopenharmony_ci			device-width = <1>;
308c2ecf20Sopenharmony_ci		};
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci		board-control@1,0 {
338c2ecf20Sopenharmony_ci			reg = <0x1 0x0 0x20>;
348c2ecf20Sopenharmony_ci			compatible = "fsl,mpc8272ads-bcsr";
358c2ecf20Sopenharmony_ci		};
368c2ecf20Sopenharmony_ci
378c2ecf20Sopenharmony_ci		simple-periph@2,0 {
388c2ecf20Sopenharmony_ci			compatible = "fsl,elbc-gpcm-uio";
398c2ecf20Sopenharmony_ci			reg = <0x2 0x0 0x10000>;
408c2ecf20Sopenharmony_ci			elbc-gpcm-br = <0xfd810800>;
418c2ecf20Sopenharmony_ci			elbc-gpcm-or = <0xffff09f7>;
428c2ecf20Sopenharmony_ci		};
438c2ecf20Sopenharmony_ci	};
44