milbeaut-m10v.dtsi 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. // SPDX-License-Identifier: GPL-2.0
  2. #include <dt-bindings/interrupt-controller/irq.h>
  3. #include <dt-bindings/input/input.h>
  4. #include <dt-bindings/gpio/gpio.h>
  5. #include <dt-bindings/interrupt-controller/arm-gic.h>
  6. / {
  7. compatible = "socionext,sc2000a";
  8. interrupt-parent = <&gic>;
  9. #address-cells = <1>;
  10. #size-cells = <1>;
  11. cpus {
  12. #address-cells = <1>;
  13. #size-cells = <0>;
  14. enable-method = "socionext,milbeaut-m10v-smp";
  15. cpu@f00 {
  16. device_type = "cpu";
  17. compatible = "arm,cortex-a7";
  18. reg = <0xf00>;
  19. };
  20. cpu@f01 {
  21. device_type = "cpu";
  22. compatible = "arm,cortex-a7";
  23. reg = <0xf01>;
  24. };
  25. cpu@f02 {
  26. device_type = "cpu";
  27. compatible = "arm,cortex-a7";
  28. reg = <0xf02>;
  29. };
  30. cpu@f03 {
  31. device_type = "cpu";
  32. compatible = "arm,cortex-a7";
  33. reg = <0xf03>;
  34. };
  35. };
  36. timer { /* The Generic Timer */
  37. compatible = "arm,armv7-timer";
  38. interrupts = <GIC_PPI 13
  39. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  40. <GIC_PPI 14
  41. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  42. <GIC_PPI 11
  43. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
  44. <GIC_PPI 10
  45. (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
  46. clock-frequency = <40000000>;
  47. always-on;
  48. };
  49. soc {
  50. compatible = "simple-bus";
  51. #address-cells = <1>;
  52. #size-cells = <1>;
  53. ranges;
  54. interrupt-parent = <&gic>;
  55. gic: interrupt-controller@1d000000 {
  56. compatible = "arm,cortex-a7-gic";
  57. interrupt-controller;
  58. #interrupt-cells = <3>;
  59. reg = <0x1d001000 0x1000>,
  60. <0x1d002000 0x1000>; /* CPU I/f base and size */
  61. };
  62. clk: clock-ctrl@1d021000 {
  63. compatible = "socionext,milbeaut-m10v-ccu";
  64. #clock-cells = <1>;
  65. reg = <0x1d021000 0x1000>;
  66. clocks = <&uclk40xi>;
  67. };
  68. timer@1e000050 { /* 32-bit Reload Timers */
  69. compatible = "socionext,milbeaut-timer";
  70. reg = <0x1e000050 0x20>;
  71. interrupts = <0 91 4>;
  72. clocks = <&clk 4>;
  73. };
  74. uart1: serial@1e700010 { /* PE4, PE5 */
  75. /* Enable this as ttyUSI0 */
  76. compatible = "socionext,milbeaut-usio-uart";
  77. reg = <0x1e700010 0x10>;
  78. interrupts = <0 141 0x4>, <0 149 0x4>;
  79. interrupt-names = "rx", "tx";
  80. clocks = <&clk 2>;
  81. };
  82. };
  83. sram@0 {
  84. compatible = "mmio-sram";
  85. reg = <0x0 0x10000>;
  86. #address-cells = <1>;
  87. #size-cells = <1>;
  88. ranges = <0 0x0 0x10000>;
  89. smp-sram@f100 {
  90. compatible = "socionext,milbeaut-smp-sram";
  91. reg = <0xf100 0x20>;
  92. };
  93. };
  94. };