nsim_700.dts 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /*
  2. * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com)
  3. *
  4. * This program is free software; you can redistribute it and/or modify
  5. * it under the terms of the GNU General Public License version 2 as
  6. * published by the Free Software Foundation.
  7. */
  8. /dts-v1/;
  9. /include/ "skeleton.dtsi"
  10. / {
  11. compatible = "snps,nsim";
  12. clock-frequency = <80000000>; /* 80 MHZ */
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. interrupt-parent = <&intc>;
  16. chosen {
  17. bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8";
  18. };
  19. aliases {
  20. serial0 = &arcuart0;
  21. };
  22. fpga {
  23. compatible = "simple-bus";
  24. #address-cells = <1>;
  25. #size-cells = <1>;
  26. /* child and parent address space 1:1 mapped */
  27. ranges;
  28. intc: interrupt-controller {
  29. compatible = "snps,arc700-intc";
  30. interrupt-controller;
  31. #interrupt-cells = <1>;
  32. };
  33. arcuart0: serial@c0fc1000 {
  34. compatible = "snps,arc-uart";
  35. reg = <0xc0fc1000 0x100>;
  36. interrupts = <5>;
  37. clock-frequency = <80000000>;
  38. current-speed = <115200>;
  39. status = "okay";
  40. };
  41. ethernet@c0fc2000 {
  42. compatible = "snps,arc-emac";
  43. reg = <0xc0fc2000 0x3c>;
  44. interrupts = <6>;
  45. mac-address = [ 00 11 22 33 44 55 ];
  46. clock-frequency = <80000000>;
  47. max-speed = <100>;
  48. phy = <&phy0>;
  49. #address-cells = <1>;
  50. #size-cells = <0>;
  51. phy0: ethernet-phy@0 {
  52. reg = <1>;
  53. };
  54. };
  55. arcpmu0: pmu {
  56. compatible = "snps,arc700-pct";
  57. };
  58. };
  59. };