nsim_700.dts 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. model = "Synopsys ARC770 nSIM simulator";
  12. compatible = "snps,nsim";
  13. clock-frequency = <80000000>; /* 80 MHZ */
  14. #address-cells = <1>;
  15. #size-cells = <1>;
  16. interrupt-parent = <&intc>;
  17. chosen {
  18. bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8";
  19. };
  20. aliases {
  21. serial0 = &arcuart0;
  22. };
  23. fpga {
  24. compatible = "simple-bus";
  25. #address-cells = <1>;
  26. #size-cells = <1>;
  27. /* child and parent address space 1:1 mapped */
  28. ranges;
  29. intc: interrupt-controller {
  30. compatible = "snps,arc700-intc";
  31. interrupt-controller;
  32. #interrupt-cells = <1>;
  33. };
  34. arcuart0: serial@c0fc1000 {
  35. compatible = "snps,arc-uart";
  36. reg = <0xc0fc1000 0x100>;
  37. interrupts = <5>;
  38. clock-frequency = <80000000>;
  39. current-speed = <115200>;
  40. status = "okay";
  41. };
  42. ethernet@c0fc2000 {
  43. compatible = "snps,arc-emac";
  44. reg = <0xc0fc2000 0x3c>;
  45. interrupts = <6>;
  46. mac-address = [ 00 11 22 33 44 55 ];
  47. clock-frequency = <80000000>;
  48. max-speed = <100>;
  49. phy = <&phy0>;
  50. #address-cells = <1>;
  51. #size-cells = <0>;
  52. phy0: ethernet-phy@0 {
  53. reg = <1>;
  54. };
  55. };
  56. arcpmu0: pmu {
  57. compatible = "snps,arc700-pct";
  58. };
  59. };
  60. };