nsimosci.dts 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug";
  21. };
  22. aliases {
  23. serial0 = &uart0;
  24. };
  25. fpga {
  26. compatible = "simple-bus";
  27. #address-cells = <1>;
  28. #size-cells = <1>;
  29. /* child and parent address space 1:1 mapped */
  30. ranges;
  31. intc: interrupt-controller {
  32. compatible = "snps,arc700-intc";
  33. interrupt-controller;
  34. #interrupt-cells = <1>;
  35. };
  36. uart0: serial@f0000000 {
  37. compatible = "ns8250";
  38. reg = <0xf0000000 0x2000>;
  39. interrupts = <11>;
  40. clock-frequency = <3686400>;
  41. baud = <115200>;
  42. reg-shift = <2>;
  43. reg-io-width = <4>;
  44. no-loopback-test = <1>;
  45. };
  46. pgu0: pgu@f9000000 {
  47. compatible = "snps,arcpgufb";
  48. reg = <0xf9000000 0x400>;
  49. };
  50. ps2: ps2@f9001000 {
  51. compatible = "snps,arc_ps2";
  52. reg = <0xf9000400 0x14>;
  53. interrupts = <13>;
  54. interrupt-names = "arc_ps2_irq";
  55. };
  56. eth0: ethernet@f0003000 {
  57. compatible = "snps,oscilan";
  58. reg = <0xf0003000 0x44>;
  59. interrupts = <7>, <8>;
  60. interrupt-names = "rx", "tx";
  61. };
  62. };
  63. };