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