nsim_hs.dts 1.5 KB

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