nsimosci.dts 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. /*
  2. * Copyright (C) 2013 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.dtsi"
  10. / {
  11. compatible = "snps,nsimosci";
  12. clock-frequency = <20000000>; /* 20 MHZ */
  13. #address-cells = <1>;
  14. #size-cells = <1>;
  15. interrupt-parent = <&intc>;
  16. chosen {
  17. /* this is for console on PGU */
  18. /* bootargs = "console=tty0 consoleblank=0"; */
  19. /* this is for console on serial */
  20. bootargs = "earlycon=uart8250,mmio32,0xc0000000,115200n8 console=ttyS0,115200n8 consoleblank=0 debug";
  21. };
  22. aliases {
  23. serial0 = &uart0;
  24. };
  25. memory {
  26. device_type = "memory";
  27. reg = <0x80000000 0x10000000>; /* 256M */
  28. };
  29. fpga {
  30. compatible = "simple-bus";
  31. #address-cells = <1>;
  32. #size-cells = <1>;
  33. /* child and parent address space 1:1 mapped */
  34. ranges;
  35. intc: interrupt-controller {
  36. compatible = "snps,arc700-intc";
  37. interrupt-controller;
  38. #interrupt-cells = <1>;
  39. };
  40. uart0: serial@c0000000 {
  41. compatible = "ns8250";
  42. reg = <0xc0000000 0x2000>;
  43. interrupts = <11>;
  44. clock-frequency = <3686400>;
  45. baud = <115200>;
  46. reg-shift = <2>;
  47. reg-io-width = <4>;
  48. no-loopback-test = <1>;
  49. };
  50. pgu0: pgu@c9000000 {
  51. compatible = "snps,arcpgufb";
  52. reg = <0xc9000000 0x400>;
  53. };
  54. ps2: ps2@c9001000 {
  55. compatible = "snps,arc_ps2";
  56. reg = <0xc9000400 0x14>;
  57. interrupts = <13>;
  58. interrupt-names = "arc_ps2_irq";
  59. };
  60. eth0: ethernet@c0003000 {
  61. compatible = "snps,oscilan";
  62. reg = <0xc0003000 0x44>;
  63. interrupts = <7>, <8>;
  64. interrupt-names = "rx", "tx";
  65. };
  66. };
  67. };