zebu_hs_idu.dts 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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";
  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. /* interrupts = <16 17 18 19 20 21 22 23 24 25>; */
  42. };
  43. idu_intc: idu-interrupt-controller {
  44. compatible = "snps,archs-idu-intc";
  45. interrupt-controller;
  46. interrupt-parent = <&core_intc>;
  47. /* <hwirq distribution>
  48. distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3 */
  49. #interrupt-cells = <2>;
  50. interrupts = <24 25 26 27 28 29 30 31>;
  51. };
  52. uart0: serial@f0000000 {
  53. /* compatible = "ns8250"; Doesn't use FIFOs */
  54. compatible = "ns16550a";
  55. reg = <0xf0000000 0x2000>;
  56. interrupt-parent = <&idu_intc>;
  57. /* interrupts = <0 1>; DEST=1*/
  58. /* interrupts = <0 2>; DEST=2*/
  59. interrupts = <0 0>; /* RR*/
  60. clock-frequency = <50000000>;
  61. baud = <115200>;
  62. reg-shift = <2>;
  63. reg-io-width = <4>;
  64. no-loopback-test = <1>;
  65. };
  66. arcpct0: pct {
  67. compatible = "snps,archs-pct";
  68. #interrupt-cells = <1>;
  69. interrupts = <20>;
  70. };
  71. };
  72. };