de0-nano.dts 931 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. // SPDX-License-Identifier: GPL-2.0
  2. /dts-v1/;
  3. #include "de0-nano-common.dtsi"
  4. / {
  5. model = "Terasic DE0 Nano";
  6. compatible = "opencores,or1ksim";
  7. #address-cells = <1>;
  8. #size-cells = <1>;
  9. interrupt-parent = <&pic>;
  10. aliases {
  11. uart0 = &serial0;
  12. };
  13. chosen {
  14. stdout-path = "uart0:115200";
  15. };
  16. cpus {
  17. #address-cells = <1>;
  18. #size-cells = <0>;
  19. cpu@0 {
  20. compatible = "opencores,or1200-rtlsvn481";
  21. reg = <0>;
  22. clock-frequency = <50000000>;
  23. };
  24. };
  25. /*
  26. * OR1K PIC is built into CPU and accessed via special purpose
  27. * registers. It is not addressable and, hence, has no 'reg'
  28. * property.
  29. */
  30. pic: pic {
  31. compatible = "opencores,or1k-pic";
  32. #interrupt-cells = <1>;
  33. interrupt-controller;
  34. };
  35. serial0: serial@90000000 {
  36. compatible = "opencores,uart16550-rtlsvn105", "ns16550a";
  37. reg = <0x90000000 0x100>;
  38. interrupts = <2>;
  39. clock-frequency = <50000000>;
  40. };
  41. };
  42. &gpio1 {
  43. status = "okay";
  44. };