nsim_hs.dts 1.5 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.dtsi"
  10. / {
  11. compatible = "snps,nsim_hs";
  12. #address-cells = <2>;
  13. #size-cells = <2>;
  14. interrupt-parent = <&core_intc>;
  15. memory {
  16. device_type = "memory";
  17. /* CONFIG_LINUX_LINK_BASE needs to match low mem start */
  18. reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MB low mem */
  19. 0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */
  20. };
  21. chosen {
  22. bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8";
  23. };
  24. aliases {
  25. serial0 = &arcuart0;
  26. };
  27. fpga {
  28. compatible = "simple-bus";
  29. #address-cells = <1>;
  30. #size-cells = <1>;
  31. /* only perip space at end of low mem accessible
  32. bus addr, parent bus addr, size */
  33. ranges = <0x80000000 0x0 0x80000000 0x80000000>;
  34. core_clk: core_clk {
  35. #clock-cells = <0>;
  36. compatible = "fixed-clock";
  37. clock-frequency = <80000000>;
  38. };
  39. core_intc: core-interrupt-controller {
  40. compatible = "snps,archs-intc";
  41. interrupt-controller;
  42. #interrupt-cells = <1>;
  43. };
  44. arcuart0: serial@c0fc1000 {
  45. compatible = "snps,arc-uart";
  46. reg = <0xc0fc1000 0x100>;
  47. interrupts = <24>;
  48. clock-frequency = <80000000>;
  49. current-speed = <115200>;
  50. status = "okay";
  51. };
  52. arcpct0: pct {
  53. compatible = "snps,archs-pct";
  54. #interrupt-cells = <1>;
  55. interrupts = <20>;
  56. };
  57. };
  58. };