nsimosci.dts 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. #address-cells = <1>;
  13. #size-cells = <1>;
  14. interrupt-parent = <&core_intc>;
  15. chosen {
  16. /* this is for console on PGU */
  17. /* bootargs = "console=tty0 consoleblank=0"; */
  18. /* this is for console on serial */
  19. bootargs = "earlycon=uart8250,mmio32,0xf0000000,115200n8 console=tty0 console=ttyS0,115200n8 consoleblank=0 debug video=640x480-24";
  20. };
  21. aliases {
  22. serial0 = &uart0;
  23. };
  24. fpga {
  25. compatible = "simple-bus";
  26. #address-cells = <1>;
  27. #size-cells = <1>;
  28. /* child and parent address space 1:1 mapped */
  29. ranges;
  30. core_clk: core_clk {
  31. #clock-cells = <0>;
  32. compatible = "fixed-clock";
  33. clock-frequency = <20000000>;
  34. };
  35. core_intc: interrupt-controller {
  36. compatible = "snps,arc700-intc";
  37. interrupt-controller;
  38. #interrupt-cells = <1>;
  39. };
  40. uart0: serial@f0000000 {
  41. compatible = "ns8250";
  42. reg = <0xf0000000 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. pguclk: pguclk {
  51. #clock-cells = <0>;
  52. compatible = "fixed-clock";
  53. clock-frequency = <25175000>;
  54. };
  55. pgu@f9000000 {
  56. compatible = "snps,arcpgu";
  57. reg = <0xf9000000 0x400>;
  58. clocks = <&pguclk>;
  59. clock-names = "pxlclk";
  60. };
  61. ps2: ps2@f9001000 {
  62. compatible = "snps,arc_ps2";
  63. reg = <0xf9000400 0x14>;
  64. interrupts = <13>;
  65. interrupt-names = "arc_ps2_irq";
  66. };
  67. eth0: ethernet@f0003000 {
  68. compatible = "ezchip,nps-mgt-enet";
  69. reg = <0xf0003000 0x44>;
  70. interrupts = <7>;
  71. };
  72. };
  73. };