Skip to content

Commit bbaad14

Browse files
sugayataichi-sniarndb
authored andcommitted
ARM: dts: milbeaut: Add device tree set for the Milbeaut M10V board
Add devicetree for Milbeaut M10V SoC and M10V Evaluation board. Signed-off-by: Sugaya Taichi <sugaya.taichi@socionext.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent b58f28f commit bbaad14

File tree

3 files changed

+128
-0
lines changed

3 files changed

+128
-0
lines changed

arch/arm/boot/dts/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,6 +1233,7 @@ dtb-$(CONFIG_ARCH_MEDIATEK) += \
12331233
mt7623n-bananapi-bpi-r2.dtb \
12341234
mt8127-moose.dtb \
12351235
mt8135-evbp1.dtb
1236+
dtb-$(CONFIG_ARCH_MILBEAUT) += milbeaut-m10v-evb.dtb
12361237
dtb-$(CONFIG_ARCH_ZX) += zx296702-ad1.dtb
12371238
dtb-$(CONFIG_ARCH_ASPEED) += \
12381239
aspeed-ast2500-evb.dtb \
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// SPDX-License-Identifier: GPL-2.0
2+
/* Socionext Milbeaut M10V Evaluation Board */
3+
/dts-v1/;
4+
#include "milbeaut-m10v.dtsi"
5+
6+
/ {
7+
model = "Socionext M10V EVB";
8+
compatible = "socionext,milbeaut-m10v-evb", "socionext,sc2000a";
9+
10+
aliases {
11+
serial0 = &uart1;
12+
};
13+
14+
chosen {
15+
bootargs = "rootwait earlycon";
16+
stdout-path = "serial0:115200n8";
17+
};
18+
19+
clocks {
20+
uclk40xi: uclk40xi {
21+
compatible = "fixed-clock";
22+
#clock-cells = <0>;
23+
clock-frequency = <40000000>;
24+
};
25+
};
26+
27+
memory@40000000 {
28+
device_type = "memory";
29+
reg = <0x40000000 0x80000000>;
30+
};
31+
32+
};

arch/arm/boot/dts/milbeaut-m10v.dtsi

Lines changed: 95 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
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+
/ {
8+
compatible = "socionext,sc2000a";
9+
interrupt-parent = <&gic>;
10+
#address-cells = <1>;
11+
#size-cells = <1>;
12+
13+
cpus {
14+
#address-cells = <1>;
15+
#size-cells = <0>;
16+
enable-method = "socionext,milbeaut-m10v-smp";
17+
cpu@f00 {
18+
device_type = "cpu";
19+
compatible = "arm,cortex-a7";
20+
reg = <0xf00>;
21+
};
22+
cpu@f01 {
23+
device_type = "cpu";
24+
compatible = "arm,cortex-a7";
25+
reg = <0xf01>;
26+
};
27+
cpu@f02 {
28+
device_type = "cpu";
29+
compatible = "arm,cortex-a7";
30+
reg = <0xf02>;
31+
};
32+
cpu@f03 {
33+
device_type = "cpu";
34+
compatible = "arm,cortex-a7";
35+
reg = <0xf03>;
36+
};
37+
};
38+
39+
timer { /* The Generic Timer */
40+
compatible = "arm,armv7-timer";
41+
interrupts = <GIC_PPI 13
42+
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
43+
<GIC_PPI 14
44+
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
45+
<GIC_PPI 11
46+
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>,
47+
<GIC_PPI 10
48+
(GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
49+
clock-frequency = <40000000>;
50+
always-on;
51+
};
52+
53+
soc {
54+
compatible = "simple-bus";
55+
#address-cells = <1>;
56+
#size-cells = <1>;
57+
ranges;
58+
interrupt-parent = <&gic>;
59+
60+
gic: interrupt-controller@1d000000 {
61+
compatible = "arm,cortex-a7-gic";
62+
interrupt-controller;
63+
#interrupt-cells = <3>;
64+
reg = <0x1d001000 0x1000>,
65+
<0x1d002000 0x1000>; /* CPU I/f base and size */
66+
};
67+
68+
timer@1e000050 { /* 32-bit Reload Timers */
69+
compatible = "socionext,milbeaut-timer";
70+
reg = <0x1e000050 0x20>;
71+
interrupts = <0 91 4>;
72+
};
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+
};
81+
82+
};
83+
84+
sram@0 {
85+
compatible = "mmio-sram";
86+
reg = <0x0 0x10000>;
87+
#address-cells = <1>;
88+
#size-cells = <1>;
89+
ranges = <0 0x0 0x10000>;
90+
smp-sram@f100 {
91+
compatible = "socionext,milbeaut-smp-sram";
92+
reg = <0xf100 0x20>;
93+
};
94+
};
95+
};

0 commit comments

Comments
 (0)