1/*
2 * Copyright (c) 2024 Nuvoton Technology Corporation.
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7/* Device tree declarations of npcm soc family */
8#include "npcm.dtsi"
9#include <freq.h>
10
11/ {
12	soc {
13
14		mdc: mdc@4000c000 {
15			compatible = "syscon";
16			reg = <0x4000c000 0xa>;
17			reg-io-width = <1>;
18		};
19
20		mdc_header: mdc@4000c00a {
21			compatible = "syscon";
22			reg = <0x4000c00a 0x4>;
23			reg-io-width = <2>;
24		};
25
26		pcc: clock-controller@4000d000 {
27			clock-frequency = <DT_FREQ_M(96)>; /* OFMCLK runs at 96MHz */
28			core-prescaler = <1>; /* CORE_CLK runs at 96MHz */
29			apb1-prescaler = <8>; /* APB1_CLK runs at 12MHz */
30			apb2-prescaler = <1>; /* APB2_CLK runs at 96MHz */
31			apb3-prescaler = <1>; /* APB3_CLK runs at 96MHz */
32			ahb6-prescaler = <1>; /* APB6_CLK runs at 96MHz */
33			fiu-prescaler = <1>; /* FIU_CLK runs at 96MHz */
34			i3c-prescaler = <1>; /* I3C_CLK runs at 96MHz */
35		};
36	};
37
38	soc-if {
39	};
40};
41