nsimosci_hs_idu.dts 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  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,nsimosci_hs-smp";
  12. compatible = "snps,nsimosci_hs";
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. interrupt-parent = <&core_intc>;
  16. chosen {
  17. /* this is for console on serial */
  18. bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblan=0 debug video=640x480-24 print-fatal-signals=1";
  19. };
  20. aliases {
  21. serial0 = &uart0;
  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. core_clk: core_clk {
  30. #clock-cells = <0>;
  31. compatible = "fixed-clock";
  32. clock-frequency = <5000000>;
  33. };
  34. core_intc: core-interrupt-controller {
  35. compatible = "snps,archs-intc";
  36. interrupt-controller;
  37. #interrupt-cells = <1>;
  38. };
  39. idu_intc: idu-interrupt-controller {
  40. compatible = "snps,archs-idu-intc";
  41. interrupt-controller;
  42. interrupt-parent = <&core_intc>;
  43. #interrupt-cells = <1>;
  44. };
  45. uart0: serial@f0000000 {
  46. compatible = "ns8250";
  47. reg = <0xf0000000 0x2000>;
  48. interrupt-parent = <&idu_intc>;
  49. interrupts = <0>;
  50. clock-frequency = <3686400>;
  51. baud = <115200>;
  52. reg-shift = <2>;
  53. reg-io-width = <4>;
  54. no-loopback-test = <1>;
  55. };
  56. pguclk: pguclk {
  57. #clock-cells = <0>;
  58. compatible = "fixed-clock";
  59. clock-frequency = <25175000>;
  60. };
  61. pgu@f9000000 {
  62. compatible = "snps,arcpgu";
  63. reg = <0xf9000000 0x400>;
  64. clocks = <&pguclk>;
  65. clock-names = "pxlclk";
  66. };
  67. ps2: ps2@f9001000 {
  68. compatible = "snps,arc_ps2";
  69. reg = <0xf9000400 0x14>;
  70. interrupts = <3>;
  71. interrupt-parent = <&idu_intc>;
  72. interrupt-names = "arc_ps2_irq";
  73. };
  74. eth0: ethernet@f0003000 {
  75. compatible = "ezchip,nps-mgt-enet";
  76. reg = <0xf0003000 0x44>;
  77. interrupt-parent = <&idu_intc>;
  78. interrupts = <1>;
  79. };
  80. arcpct0: pct {
  81. compatible = "snps,archs-pct";
  82. #interrupt-cells = <1>;
  83. interrupts = <20>;
  84. };
  85. };
  86. };