ci20.dts 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. /dts-v1/;
  2. #include "jz4780.dtsi"
  3. / {
  4. compatible = "img,ci20", "ingenic,jz4780";
  5. aliases {
  6. serial0 = &uart0;
  7. serial1 = &uart1;
  8. serial3 = &uart3;
  9. serial4 = &uart4;
  10. };
  11. chosen {
  12. stdout-path = &uart4;
  13. };
  14. memory {
  15. device_type = "memory";
  16. reg = <0x0 0x10000000
  17. 0x30000000 0x30000000>;
  18. };
  19. };
  20. &ext {
  21. clock-frequency = <48000000>;
  22. };
  23. &uart0 {
  24. status = "okay";
  25. };
  26. &uart1 {
  27. status = "okay";
  28. };
  29. &uart3 {
  30. status = "okay";
  31. };
  32. &uart4 {
  33. status = "okay";
  34. };
  35. &nemc {
  36. status = "okay";
  37. nandc: nand-controller@1 {
  38. compatible = "ingenic,jz4780-nand";
  39. reg = <1 0 0x1000000>;
  40. #address-cells = <1>;
  41. #size-cells = <0>;
  42. ingenic,bch-controller = <&bch>;
  43. ingenic,nemc-tAS = <10>;
  44. ingenic,nemc-tAH = <5>;
  45. ingenic,nemc-tBP = <10>;
  46. ingenic,nemc-tAW = <15>;
  47. ingenic,nemc-tSTRV = <100>;
  48. nand@1 {
  49. reg = <1>;
  50. nand-ecc-step-size = <1024>;
  51. nand-ecc-strength = <24>;
  52. nand-ecc-mode = "hw";
  53. nand-on-flash-bbt;
  54. partitions {
  55. compatible = "fixed-partitions";
  56. #address-cells = <2>;
  57. #size-cells = <2>;
  58. partition@0 {
  59. label = "u-boot-spl";
  60. reg = <0x0 0x0 0x0 0x800000>;
  61. };
  62. partition@0x800000 {
  63. label = "u-boot";
  64. reg = <0x0 0x800000 0x0 0x200000>;
  65. };
  66. partition@0xa00000 {
  67. label = "u-boot-env";
  68. reg = <0x0 0xa00000 0x0 0x200000>;
  69. };
  70. partition@0xc00000 {
  71. label = "boot";
  72. reg = <0x0 0xc00000 0x0 0x4000000>;
  73. };
  74. partition@0x8c00000 {
  75. label = "system";
  76. reg = <0x0 0x4c00000 0x1 0xfb400000>;
  77. };
  78. };
  79. };
  80. };
  81. };
  82. &bch {
  83. status = "okay";
  84. };