nsim_hs_idu.dts 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. /*
  2. * Copyright (C) 2014-15 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_hs_idu.dtsi"
  10. / {
  11. model = "snps,nsim_hs-smp";
  12. compatible = "snps,nsim_hs";
  13. interrupt-parent = <&core_intc>;
  14. chosen {
  15. bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8 print-fatal-signals=1";
  16. };
  17. aliases {
  18. serial0 = &arcuart0;
  19. };
  20. fpga {
  21. compatible = "simple-bus";
  22. #address-cells = <1>;
  23. #size-cells = <1>;
  24. /* child and parent address space 1:1 mapped */
  25. ranges;
  26. core_clk: core_clk {
  27. #clock-cells = <0>;
  28. compatible = "fixed-clock";
  29. clock-frequency = <80000000>;
  30. };
  31. core_intc: core-interrupt-controller {
  32. compatible = "snps,archs-intc";
  33. interrupt-controller;
  34. #interrupt-cells = <1>;
  35. };
  36. idu_intc: idu-interrupt-controller {
  37. compatible = "snps,archs-idu-intc";
  38. interrupt-controller;
  39. interrupt-parent = <&core_intc>;
  40. #interrupt-cells = <1>;
  41. };
  42. arcuart0: serial@c0fc1000 {
  43. compatible = "snps,arc-uart";
  44. reg = <0xc0fc1000 0x100>;
  45. interrupt-parent = <&idu_intc>;
  46. interrupts = <0>;
  47. clock-frequency = <80000000>;
  48. current-speed = <115200>;
  49. status = "okay";
  50. };
  51. arcpct0: pct {
  52. compatible = "snps,archs-pct";
  53. #interrupt-cells = <1>;
  54. interrupts = <20>;
  55. };
  56. };
  57. };