or1ksim.dts 982 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /dts-v1/;
  2. / {
  3. compatible = "opencores,or1ksim";
  4. #address-cells = <1>;
  5. #size-cells = <1>;
  6. interrupt-parent = <&pic>;
  7. chosen {
  8. bootargs = "console=uart,mmio,0x90000000,115200";
  9. };
  10. memory@0 {
  11. device_type = "memory";
  12. reg = <0x00000000 0x02000000>;
  13. };
  14. cpus {
  15. #address-cells = <1>;
  16. #size-cells = <0>;
  17. cpu@0 {
  18. compatible = "opencores,or1200-rtlsvn481";
  19. reg = <0>;
  20. clock-frequency = <20000000>;
  21. };
  22. };
  23. /*
  24. * OR1K PIC is built into CPU and accessed via special purpose
  25. * registers. It is not addressable and, hence, has no 'reg'
  26. * property.
  27. */
  28. pic: pic {
  29. compatible = "opencores,or1k-pic";
  30. #interrupt-cells = <1>;
  31. interrupt-controller;
  32. };
  33. serial0: serial@90000000 {
  34. compatible = "opencores,uart16550-rtlsvn105", "ns16550a";
  35. reg = <0x90000000 0x100>;
  36. interrupts = <2>;
  37. clock-frequency = <20000000>;
  38. };
  39. enet0: ethoc@92000000 {
  40. compatible = "opencores,ethmac-rtlsvn338";
  41. reg = <0x92000000 0x100>;
  42. interrupts = <4>;
  43. };
  44. };