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