xtfpga.dtsi 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. / {
  2. compatible = "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 = "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 = "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. serial0: serial@fd050020 {
  34. device_type = "serial";
  35. compatible = "ns16550a";
  36. no-loopback-test;
  37. reg = <0xfd050020 0x20>;
  38. reg-shift = <2>;
  39. interrupts = <0 1>; /* external irq 0 */
  40. /* Filled in by platform_setup from FPGA register
  41. * clock-frequency = <100000000>;
  42. */
  43. };
  44. enet0: ethoc@fd030000 {
  45. compatible = "opencores,ethoc";
  46. reg = <0xfd030000 0x4000 0xfd800000 0x4000>;
  47. interrupts = <1 1>; /* external irq 1 */
  48. local-mac-address = [00 50 c2 13 6f 00];
  49. };
  50. };