1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (C) 2023 Nuvoton Technology Corp.
* Author: Shan-Chun Hung <schung@nuvoton.com>
* Jacky huang <ychuang3@nuvoton.com>
*/
/dts-v1/;
#include "ma35d1.dtsi"
/ {
model = "Nuvoton MA35D1-IoT";
compatible = "nuvoton,ma35d1-iot", "nuvoton,ma35d1";
aliases {
serial0 = &uart0;
serial10 = &uart10;
serial12 = &uart12;
serial13 = &uart13;
serial14 = &uart14;
};
chosen {
stdout-path = "serial0:115200n8";
};
mem: memory@80000000 {
device_type = "memory";
reg = <0x00000000 0x80000000 0 0x20000000>; /* 512M DRAM */
};
clk_hxt: clock-hxt {
compatible = "fixed-clock";
#clock-cells = <0>;
clock-frequency = <24000000>;
clock-output-names = "clk_hxt";
};
};
&clk {
assigned-clocks = <&clk CAPLL>,
<&clk DDRPLL>,
<&clk APLL>,
<&clk EPLL>,
<&clk VPLL>;
assigned-clock-rates = <800000000>,
<266000000>,
<180000000>,
<500000000>,
<102000000>;
nuvoton,pll-mode = "integer",
"fractional",
"integer",
"integer",
"integer";
};
&pinctrl {
uart-grp {
pinctrl_uart0: uart0-pins {
nuvoton,pins = <4 14 1>,
<4 15 1>;
bias-disable;
power-source = <1>;
};
pinctrl_uart10: uart10-pins {
nuvoton,pins = <7 4 2>,
<7 5 2>,
<7 6 2>,
<7 7 2>;
bias-disable;
power-source = <1>;
};
pinctrl_uart12: uart12-pins {
nuvoton,pins = <2 13 2>,
<2 14 2>,
<2 15 2>;
bias-disable;
power-source = <1>;
};
pinctrl_uart13: uart13-pins {
nuvoton,pins = <7 12 3>,
<7 13 3>;
bias-disable;
power-source = <1>;
};
pinctrl_uart14: uart14-pins {
nuvoton,pins = <7 14 2>,
<7 15 2>;
bias-disable;
power-source = <1>;
};
};
};
&uart0 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart0>;
status = "okay";
};
&uart10 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart10>;
status = "okay";
};
&uart12 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart12>;
status = "okay";
};
&uart13 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart13>;
status = "okay";
};
&uart14 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_uart14>;
status = "okay";
};
|