3c120_devboard.dts 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. // SPDX-License-Identifier: GPL-2.0-or-later
  2. /*
  3. * Copyright (C) 2013 Altera Corporation
  4. *
  5. * This file is generated by sopc2dts.
  6. */
  7. /dts-v1/;
  8. / {
  9. model = "altr,qsys_ghrd_3c120";
  10. compatible = "altr,qsys_ghrd_3c120";
  11. #address-cells = <1>;
  12. #size-cells = <1>;
  13. cpus {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. cpu: cpu@0 {
  17. device_type = "cpu";
  18. compatible = "altr,nios2-1.0";
  19. reg = <0x00000000>;
  20. interrupt-controller;
  21. #interrupt-cells = <1>;
  22. clock-frequency = <125000000>;
  23. dcache-line-size = <32>;
  24. icache-line-size = <32>;
  25. dcache-size = <32768>;
  26. icache-size = <32768>;
  27. altr,implementation = "fast";
  28. altr,pid-num-bits = <8>;
  29. altr,tlb-num-ways = <16>;
  30. altr,tlb-num-entries = <128>;
  31. altr,tlb-ptr-sz = <7>;
  32. altr,has-div = <1>;
  33. altr,has-mul = <1>;
  34. altr,reset-addr = <0xc2800000>;
  35. altr,fast-tlb-miss-addr = <0xc7fff400>;
  36. altr,exception-addr = <0xd0000020>;
  37. altr,has-initda = <1>;
  38. altr,has-mmu = <1>;
  39. };
  40. };
  41. memory@0 {
  42. device_type = "memory";
  43. reg = <0x10000000 0x08000000>,
  44. <0x07fff400 0x00000400>;
  45. };
  46. sopc@0 {
  47. device_type = "soc";
  48. ranges;
  49. #address-cells = <1>;
  50. #size-cells = <1>;
  51. compatible = "altr,avalon", "simple-bus";
  52. bus-frequency = <125000000>;
  53. pb_cpu_to_io: bridge@8000000 {
  54. compatible = "simple-bus";
  55. reg = <0x08000000 0x00800000>;
  56. #address-cells = <1>;
  57. #size-cells = <1>;
  58. ranges = <0x00002000 0x08002000 0x00002000>,
  59. <0x00004000 0x08004000 0x00000400>,
  60. <0x00004400 0x08004400 0x00000040>,
  61. <0x00004800 0x08004800 0x00000040>,
  62. <0x00004c80 0x08004c80 0x00000020>,
  63. <0x00004d50 0x08004d50 0x00000008>,
  64. <0x00008000 0x08008000 0x00000020>,
  65. <0x00400000 0x08400000 0x00000020>;
  66. timer_1ms: timer@400000 {
  67. compatible = "altr,timer-1.0";
  68. reg = <0x00400000 0x00000020>;
  69. interrupt-parent = <&cpu>;
  70. interrupts = <11>;
  71. clock-frequency = <125000000>;
  72. };
  73. timer_0: timer@8000 {
  74. compatible = "altr,timer-1.0";
  75. reg = < 0x00008000 0x00000020 >;
  76. interrupt-parent = < &cpu >;
  77. interrupts = < 5 >;
  78. clock-frequency = < 125000000 >;
  79. };
  80. jtag_uart: serial@4d50 {
  81. compatible = "altr,juart-1.0";
  82. reg = <0x00004d50 0x00000008>;
  83. interrupt-parent = <&cpu>;
  84. interrupts = <1>;
  85. };
  86. tse_mac: ethernet@4000 {
  87. compatible = "altr,tse-1.0";
  88. reg = <0x00004000 0x00000400>,
  89. <0x00004400 0x00000040>,
  90. <0x00004800 0x00000040>,
  91. <0x00002000 0x00002000>;
  92. reg-names = "control_port", "rx_csr", "tx_csr", "s1";
  93. interrupt-parent = <&cpu>;
  94. interrupts = <2 3>;
  95. interrupt-names = "rx_irq", "tx_irq";
  96. rx-fifo-depth = <8192>;
  97. tx-fifo-depth = <8192>;
  98. max-frame-size = <1500>;
  99. local-mac-address = [ 00 00 00 00 00 00 ];
  100. phy-mode = "rgmii-id";
  101. phy-handle = <&phy0>;
  102. tse_mac_mdio: mdio {
  103. compatible = "altr,tse-mdio";
  104. #address-cells = <1>;
  105. #size-cells = <0>;
  106. phy0: ethernet-phy@18 {
  107. reg = <18>;
  108. device_type = "ethernet-phy";
  109. };
  110. };
  111. };
  112. uart: serial@4c80 {
  113. compatible = "altr,uart-1.0";
  114. reg = <0x00004c80 0x00000020>;
  115. interrupt-parent = <&cpu>;
  116. interrupts = <10>;
  117. current-speed = <115200>;
  118. clock-frequency = <62500000>;
  119. };
  120. };
  121. cfi_flash_64m: flash@0 {
  122. compatible = "cfi-flash";
  123. reg = <0x00000000 0x04000000>;
  124. bank-width = <2>;
  125. device-width = <1>;
  126. #address-cells = <1>;
  127. #size-cells = <1>;
  128. partition@800000 {
  129. reg = <0x00800000 0x01e00000>;
  130. label = "JFFS2 Filesystem";
  131. };
  132. };
  133. };
  134. chosen {
  135. bootargs = "debug earlycon console=ttyJ0,115200";
  136. stdout-path = &jtag_uart;
  137. };
  138. };