xref: /openbmc/linux/arch/arm64/boot/dts/nuvoton/ma35d1-som-256m.dts (revision 2612e3bbc0386368a850140a6c9b990cd496a5ec)
1*b69af098SJacky Huang// SPDX-License-Identifier: GPL-2.0
2*b69af098SJacky Huang/*
3*b69af098SJacky Huang * Copyright (C) 2023 Nuvoton Technology Corp.
4*b69af098SJacky Huang * Author: Shan-Chun Hung <schung@nuvoton.com>
5*b69af098SJacky Huang *         Jacky huang <ychuang3@nuvoton.com>
6*b69af098SJacky Huang */
7*b69af098SJacky Huang
8*b69af098SJacky Huang/dts-v1/;
9*b69af098SJacky Huang#include "ma35d1.dtsi"
10*b69af098SJacky Huang
11*b69af098SJacky Huang/ {
12*b69af098SJacky Huang	model = "Nuvoton MA35D1-SOM";
13*b69af098SJacky Huang	compatible = "nuvoton,ma35d1-som", "nuvoton,ma35d1";
14*b69af098SJacky Huang
15*b69af098SJacky Huang	aliases {
16*b69af098SJacky Huang		serial0 = &uart0;
17*b69af098SJacky Huang	};
18*b69af098SJacky Huang
19*b69af098SJacky Huang	chosen {
20*b69af098SJacky Huang		stdout-path = "serial0:115200n8";
21*b69af098SJacky Huang	};
22*b69af098SJacky Huang
23*b69af098SJacky Huang	mem: memory@80000000 {
24*b69af098SJacky Huang		device_type = "memory";
25*b69af098SJacky Huang		reg = <0x00000000 0x80000000 0 0x10000000>; /* 256M DRAM */
26*b69af098SJacky Huang	};
27*b69af098SJacky Huang
28*b69af098SJacky Huang	clk_hxt: clock-hxt {
29*b69af098SJacky Huang		compatible = "fixed-clock";
30*b69af098SJacky Huang		#clock-cells = <0>;
31*b69af098SJacky Huang		clock-frequency = <24000000>;
32*b69af098SJacky Huang		clock-output-names = "clk_hxt";
33*b69af098SJacky Huang	};
34*b69af098SJacky Huang};
35*b69af098SJacky Huang
36*b69af098SJacky Huang&uart0 {
37*b69af098SJacky Huang	status = "okay";
38*b69af098SJacky Huang};
39*b69af098SJacky Huang
40*b69af098SJacky Huang&clk {
41*b69af098SJacky Huang	assigned-clocks = <&clk CAPLL>,
42*b69af098SJacky Huang			  <&clk DDRPLL>,
43*b69af098SJacky Huang			  <&clk APLL>,
44*b69af098SJacky Huang			  <&clk EPLL>,
45*b69af098SJacky Huang			  <&clk VPLL>;
46*b69af098SJacky Huang	assigned-clock-rates = <800000000>,
47*b69af098SJacky Huang			       <266000000>,
48*b69af098SJacky Huang			       <180000000>,
49*b69af098SJacky Huang			       <500000000>,
50*b69af098SJacky Huang			       <102000000>;
51*b69af098SJacky Huang	nuvoton,pll-mode = "integer",
52*b69af098SJacky Huang			   "fractional",
53*b69af098SJacky Huang			   "integer",
54*b69af098SJacky Huang			   "integer",
55*b69af098SJacky Huang			   "integer";
56*b69af098SJacky Huang};
57