nsim_hs_idu.dts 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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";
  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. /*
  41. * <hwirq distribution>
  42. * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
  43. */
  44. #interrupt-cells = <2>;
  45. /*
  46. * upstream irqs to core intc - downstream these are
  47. * "COMMON" irq 0,1..
  48. */
  49. interrupts = <24 25 26 27 28 29 30 31>;
  50. };
  51. arcuart0: serial@c0fc1000 {
  52. compatible = "snps,arc-uart";
  53. reg = <0xc0fc1000 0x100>;
  54. interrupt-parent = <&idu_intc>;
  55. interrupts = <0 0>;
  56. clock-frequency = <80000000>;
  57. current-speed = <115200>;
  58. status = "okay";
  59. };
  60. arcpct0: pct {
  61. compatible = "snps,archs-pct";
  62. #interrupt-cells = <1>;
  63. interrupts = <20>;
  64. };
  65. };
  66. };