haps_hs_idu.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * Copyright (C) 2016-2014 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,zebu_hs-smp";
  12. compatible = "snps,zebu_hs";
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. interrupt-parent = <&core_intc>;
  16. memory {
  17. device_type = "memory";
  18. reg = <0x80000000 0x20000000>; /* 512 */
  19. };
  20. chosen {
  21. bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
  22. };
  23. aliases {
  24. serial0 = &uart0;
  25. };
  26. fpga {
  27. compatible = "simple-bus";
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. /* child and parent address space 1:1 mapped */
  31. ranges;
  32. core_clk: core_clk {
  33. #clock-cells = <0>;
  34. compatible = "fixed-clock";
  35. clock-frequency = <50000000>; /* 50 MHZ */
  36. };
  37. core_intc: interrupt-controller {
  38. compatible = "snps,archs-intc";
  39. interrupt-controller;
  40. #interrupt-cells = <1>;
  41. };
  42. idu_intc: idu-interrupt-controller {
  43. compatible = "snps,archs-idu-intc";
  44. interrupt-controller;
  45. interrupt-parent = <&core_intc>;
  46. #interrupt-cells = <1>;
  47. };
  48. uart0: serial@f0000000 {
  49. /* compatible = "ns8250"; Doesn't use FIFOs */
  50. compatible = "ns16550a";
  51. reg = <0xf0000000 0x2000>;
  52. interrupt-parent = <&idu_intc>;
  53. interrupts = <0>;
  54. clock-frequency = <50000000>;
  55. baud = <115200>;
  56. reg-shift = <2>;
  57. reg-io-width = <4>;
  58. no-loopback-test = <1>;
  59. };
  60. arcpct0: pct {
  61. compatible = "snps,archs-pct";
  62. #interrupt-cells = <1>;
  63. interrupts = <20>;
  64. };
  65. };
  66. };