vdk_axc003_idu.dtsi 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. /*
  2. * Copyright (C) 2014, 2015 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. /*
  9. * Device tree for AXC003 CPU card:
  10. * HS38x2 (Dual Core) with IDU intc (VDK version)
  11. */
  12. /include/ "skeleton_hs_idu.dtsi"
  13. / {
  14. compatible = "snps,arc";
  15. #address-cells = <1>;
  16. #size-cells = <1>;
  17. cpu_card {
  18. compatible = "simple-bus";
  19. #address-cells = <1>;
  20. #size-cells = <1>;
  21. ranges = <0x00000000 0xf0000000 0x10000000>;
  22. core_clk: core_clk {
  23. #clock-cells = <0>;
  24. compatible = "fixed-clock";
  25. clock-frequency = <50000000>;
  26. };
  27. core_intc: archs-intc@cpu {
  28. compatible = "snps,archs-intc";
  29. interrupt-controller;
  30. #interrupt-cells = <1>;
  31. };
  32. idu_intc: idu-interrupt-controller {
  33. compatible = "snps,archs-idu-intc";
  34. interrupt-controller;
  35. interrupt-parent = <&core_intc>;
  36. /*
  37. * <hwirq distribution>
  38. * distribution: 0=RR; 1=cpu0, 2=cpu1, 4=cpu2, 8=cpu3
  39. */
  40. #interrupt-cells = <2>;
  41. interrupts = <24 25 26 27>;
  42. };
  43. debug_uart: dw-apb-uart@0x5000 {
  44. compatible = "snps,dw-apb-uart";
  45. reg = <0x5000 0x100>;
  46. clock-frequency = <2403200>;
  47. interrupt-parent = <&idu_intc>;
  48. interrupts = <2 0>;
  49. baud = <115200>;
  50. reg-shift = <2>;
  51. reg-io-width = <4>;
  52. };
  53. };
  54. mb_intc: dw-apb-ictl@0xe0012000 {
  55. #interrupt-cells = <1>;
  56. compatible = "snps,dw-apb-ictl";
  57. reg = < 0xe0012000 0x200 >;
  58. interrupt-controller;
  59. interrupt-parent = <&idu_intc>;
  60. interrupts = < 0 0 >;
  61. };
  62. memory {
  63. #address-cells = <1>;
  64. #size-cells = <1>;
  65. ranges = <0x00000000 0x80000000 0x40000000>;
  66. device_type = "memory";
  67. reg = <0x80000000 0x20000000>; /* 512MiB */
  68. };
  69. };