o2d300.dts 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. /*
  2. * O2D300 Device Tree Source
  3. *
  4. * Copyright (C) 2012 DENX Software Engineering
  5. * Anatolij Gustschin <agust@denx.de>
  6. *
  7. * This program is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU General Public License as published by the
  9. * Free Software Foundation; either version 2 of the License, or (at your
  10. * option) any later version.
  11. */
  12. /include/ "o2d.dtsi"
  13. / {
  14. model = "ifm,o2d300";
  15. compatible = "ifm,o2d";
  16. localbus {
  17. ranges = <0 0 0xfc000000 0x02000000
  18. 3 0 0xe3000000 0x00100000>;
  19. flash@0,0 {
  20. compatible = "cfi-flash";
  21. reg = <0 0 0x02000000>;
  22. bank-width = <2>;
  23. device-width = <2>;
  24. #size-cells = <1>;
  25. #address-cells = <1>;
  26. partition@40000 {
  27. label = "env_1";
  28. reg = <0x00040000 0x00020000>;
  29. read-only;
  30. };
  31. partition@60000 {
  32. label = "env_2";
  33. reg = <0x00060000 0x00020000>;
  34. read-only;
  35. };
  36. partition@80000 {
  37. label = "kernel";
  38. reg = <0x00080000 0x00260000>;
  39. read-only;
  40. };
  41. /* o2d300 specific partitions */
  42. partition@2e0000 {
  43. label = "o2d300 user defined";
  44. reg = <0x002e0000 0x01d20000>;
  45. };
  46. };
  47. };
  48. };