sbc8548-altflash.dts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. /*
  2. * SBC8548 Device Tree Source
  3. *
  4. * Configured for booting off the alternate (64MB SODIMM) flash.
  5. * Requires switching JP12 jumpers and changing SW2.8 setting.
  6. *
  7. * Copyright 2013 Wind River Systems Inc.
  8. *
  9. * Paul Gortmaker (see MAINTAINERS for contact information)
  10. *
  11. * This program is free software; you can redistribute it and/or modify it
  12. * under the terms of the GNU General Public License as published by the
  13. * Free Software Foundation; either version 2 of the License, or (at your
  14. * option) any later version.
  15. */
  16. /dts-v1/;
  17. /include/ "sbc8548-pre.dtsi"
  18. /{
  19. localbus@e0000000 {
  20. #address-cells = <2>;
  21. #size-cells = <1>;
  22. compatible = "simple-bus";
  23. reg = <0xe0000000 0x5000>;
  24. interrupt-parent = <&mpic>;
  25. ranges = <0x0 0x0 0xfc000000 0x04000000 /*64MB Flash*/
  26. 0x3 0x0 0xf0000000 0x04000000 /*64MB SDRAM*/
  27. 0x4 0x0 0xf4000000 0x04000000 /*64MB SDRAM*/
  28. 0x5 0x0 0xf8000000 0x00b10000 /* EPLD */
  29. 0x6 0x0 0xef800000 0x00800000>; /*8MB Flash*/
  30. flash@0,0 {
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. reg = <0x0 0x0 0x04000000>;
  34. compatible = "intel,JS28F128", "cfi-flash";
  35. bank-width = <4>;
  36. device-width = <1>;
  37. partition@0x0 {
  38. label = "space";
  39. /* FC000000 -> FFEFFFFF */
  40. reg = <0x00000000 0x03f00000>;
  41. };
  42. partition@0x03f00000 {
  43. label = "bootloader";
  44. /* FFF00000 -> FFFFFFFF */
  45. reg = <0x03f00000 0x00100000>;
  46. read-only;
  47. };
  48. };
  49. epld@5,0 {
  50. compatible = "wrs,epld-localbus";
  51. #address-cells = <2>;
  52. #size-cells = <1>;
  53. reg = <0x5 0x0 0x00b10000>;
  54. ranges = <
  55. 0x0 0x0 0x5 0x000000 0x1fff /* LED */
  56. 0x1 0x0 0x5 0x100000 0x1fff /* Switches */
  57. 0x3 0x0 0x5 0x300000 0x1fff /* HW Rev. */
  58. 0xb 0x0 0x5 0xb00000 0x1fff /* EEPROM */
  59. >;
  60. led@0,0 {
  61. compatible = "led";
  62. reg = <0x0 0x0 0x1fff>;
  63. };
  64. switches@1,0 {
  65. compatible = "switches";
  66. reg = <0x1 0x0 0x1fff>;
  67. };
  68. hw-rev@3,0 {
  69. compatible = "hw-rev";
  70. reg = <0x3 0x0 0x1fff>;
  71. };
  72. eeprom@b,0 {
  73. compatible = "eeprom";
  74. reg = <0xb 0 0x1fff>;
  75. };
  76. };
  77. alt-flash@6,0 {
  78. #address-cells = <1>;
  79. #size-cells = <1>;
  80. compatible = "intel,JS28F640", "cfi-flash";
  81. reg = <0x6 0x0 0x800000>;
  82. bank-width = <1>;
  83. device-width = <1>;
  84. partition@0x0 {
  85. label = "space";
  86. /* EF800000 -> EFF9FFFF */
  87. reg = <0x00000000 0x007a0000>;
  88. };
  89. partition@0x7a0000 {
  90. label = "bootloader";
  91. /* EFFA0000 -> EFFFFFFF */
  92. reg = <0x007a0000 0x00060000>;
  93. read-only;
  94. };
  95. };
  96. };
  97. };
  98. /include/ "sbc8548-post.dtsi"