lbc.txt 1.1 KB

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