xtfpga.dtsi 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. / {
  2. compatible = "cdns,xtensa-xtfpga";
  3. #address-cells = <1>;
  4. #size-cells = <1>;
  5. interrupt-parent = <&pic>;
  6. chosen {
  7. bootargs = "earlycon=uart8250,mmio32,0xfd050020,115200n8 console=ttyS0,115200n8 ip=dhcp root=/dev/nfs rw debug";
  8. };
  9. memory@0 {
  10. device_type = "memory";
  11. reg = <0x00000000 0x06000000>;
  12. };
  13. cpus {
  14. #address-cells = <1>;
  15. #size-cells = <0>;
  16. cpu@0 {
  17. compatible = "cdns,xtensa-cpu";
  18. reg = <0>;
  19. /* Filled in by platform_setup from FPGA register
  20. * clock-frequency = <100000000>;
  21. */
  22. };
  23. };
  24. pic: pic {
  25. compatible = "cdns,xtensa-pic";
  26. /* one cell: internal irq number,
  27. * two cells: second cell == 0: internal irq number
  28. * second cell == 1: external irq number
  29. */
  30. #interrupt-cells = <2>;
  31. interrupt-controller;
  32. };
  33. clocks {
  34. osc: main-oscillator {
  35. #clock-cells = <0>;
  36. compatible = "fixed-clock";
  37. };
  38. };
  39. soc {
  40. #address-cells = <1>;
  41. #size-cells = <1>;
  42. compatible = "simple-bus";
  43. ranges = <0x00000000 0xf0000000 0x10000000>;
  44. serial0: serial@0d050020 {
  45. device_type = "serial";
  46. compatible = "ns16550a";
  47. no-loopback-test;
  48. reg = <0x0d050020 0x20>;
  49. reg-shift = <2>;
  50. interrupts = <0 1>; /* external irq 0 */
  51. clocks = <&osc>;
  52. };
  53. enet0: ethoc@0d030000 {
  54. compatible = "opencores,ethoc";
  55. reg = <0x0d030000 0x4000 0x0d800000 0x4000>;
  56. interrupts = <1 1>; /* external irq 1 */
  57. local-mac-address = [00 50 c2 13 6f 00];
  58. clocks = <&osc>;
  59. };
  60. };
  61. };