blob: e7cc0e8bd147383b20b030612bb0f6252183ba55 [file] [log] [blame]
Kongyang Liu8b2b5fd2024-01-28 15:05:24 +08001// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
4 */
5
6/dts-v1/;
7
8#include "cv1800b.dtsi"
9
10/ {
11 model = "Milk-V Duo";
12 compatible = "milkv,duo", "sophgo,cv1800b";
13
14 aliases {
15 serial0 = &uart0;
16 serial1 = &uart1;
17 serial2 = &uart2;
18 serial3 = &uart3;
19 serial4 = &uart4;
20 };
21
22 chosen {
23 stdout-path = "serial0:115200n8";
24 };
25
26 memory@80000000 {
27 device_type = "memory";
28 reg = <0x80000000 0x3f40000>;
29 };
30};
31
Kongyang Liuaf32b892024-04-20 15:00:28 +080032&ethernet0 {
33 status = "okay";
34 phy-mode = "rmii";
35};
36
Kongyang Liu8b2b5fd2024-01-28 15:05:24 +080037&osc {
38 clock-frequency = <25000000>;
39};
40
Kongyang Liu86814422024-03-10 01:51:56 +080041&sdhci0 {
42 status = "okay";
43 bus-width = <4>;
44 no-1-8-v;
45 no-mmc;
46 no-sdio;
47};
48
Kongyang Liu60455d6f2024-04-20 15:08:24 +080049&spif {
50 status = "okay";
51
52 spiflash@0 {
53 compatible = "jedec,spi-nor";
54 reg = <0>;
55 spi-max-frequency = <75000000>;
56 spi-tx-bus-width = <4>;
57 spi-rx-bus-width = <4>;
58 m25p,fast-read;
59 };
60};
61
Kongyang Liu8b2b5fd2024-01-28 15:05:24 +080062&uart0 {
63 status = "okay";
64};