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