blob: 9871a75836c04a0b0943dc44c6a1090c90752dbd [file] [log] [blame]
Thomas Bonnefille4f5cb9e2024-11-12 15:57:37 +01001// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2/*
3 * Copyright (C) 2024 Thomas Bonnefille <thomas.bonnefille@bootlin.com>
4 */
5
6/dts-v1/;
7
8#include "sg2002.dtsi"
9
10/ {
11 model = "LicheeRV Nano B";
12 compatible = "sipeed,licheerv-nano-b", "sipeed,licheerv-nano", "sophgo,sg2002";
13
14 aliases {
15 gpio0 = &gpio0;
16 gpio1 = &gpio1;
17 gpio2 = &gpio2;
18 gpio3 = &gpio3;
19 serial0 = &uart0;
20 serial1 = &uart1;
21 serial2 = &uart2;
22 serial3 = &uart3;
23 serial4 = &uart4;
24 };
25
26 chosen {
27 stdout-path = "serial0:115200n8";
28 };
29};
30
31&osc {
32 clock-frequency = <25000000>;
33};
34
35&sdhci0 {
36 status = "okay";
37 bus-width = <4>;
38 no-1-8-v;
39 no-mmc;
40 no-sdio;
41};
42
43&uart0 {
44 status = "okay";
45};