Debian Codegraph @

arch/arm64/boot/dts/sophgo/sg2000-milkv-duo-module-01-evb.dts

raw
1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
2
3 /dts-v1/;
4
5 #include "sg2000-milkv-duo-module-01.dtsi"
6
7 / {
8 model = "Milk-V Duo Module 01 Evaluation Board";
9 compatible = "milkv,duo-module-01-evb", "milkv,duo-module-01", "sophgo,sg2000";
10
11 chosen {
12 stdout-path = "serial0:115200n8";
13 };
14 };
15
16 &pinctrl {
17 sdhci0_cfg: sdhci0-cfg {
18 sdhci0-cd-pins {
19 pinmux = <PINMUX(PIN_SD0_CD, 0)>;
20 bias-pull-up;
21 drive-strength-microamp = <10800>;
22 power-source = <3300>;
23 };
24
25 sdhci0-clk-pins {
26 pinmux = <PINMUX(PIN_SD0_CLK, 0)>;
27 bias-pull-up;
28 drive-strength-microamp = <16100>;
29 power-source = <3300>;
30 };
31
32 sdhci0-cmd-pins {
33 pinmux = <PINMUX(PIN_SD0_CMD, 0)>;
34 bias-pull-up;
35 drive-strength-microamp = <10800>;
36 power-source = <3300>;
37 };
38
39 sdhci0-data-pins {
40 pinmux = <PINMUX(PIN_SD0_D0, 0)>,
41 <PINMUX(PIN_SD0_D1, 0)>,
42 <PINMUX(PIN_SD0_D2, 0)>,
43 <PINMUX(PIN_SD0_D3, 0)>;
44 bias-pull-up;
45 drive-strength-microamp = <10800>;
46 power-source = <3300>;
47 };
48 };
49
50 uart0_cfg: uart0-cfg {
51 uart0-pins {
52 pinmux = <PINMUX(PIN_UART0_TX, 0)>,
53 <PINMUX(PIN_UART0_RX, 0)>;
54 bias-pull-up;
55 drive-strength-microamp = <10800>;
56 power-source = <3300>;
57 };
58 };
59 };
60
61 &uart0 {
62 pinctrl-0 = <&uart0_cfg>;
63 pinctrl-names = "default";
64 status = "okay";
65 };
66
67 &sdhci0 {
68 bus-width = <4>;
69 no-1-8-v;
70 no-mmc;
71 no-sdio;
72 disable-wp;
73 pinctrl-0 = <&sdhci0_cfg>;
74 pinctrl-names = "default";
75 status = "okay";
76 };