blob: af0da8457167e70f0e7e8ce7226d51ee3139230c [file] [log] [blame]
Jonas Karlman315477f2025-03-30 17:20:34 +00001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Minimal generic DT for RK3328 with eMMC, SD-card, SPI flash and USB OTG enabled
4 */
5
6/dts-v1/;
7#include "rk3328.dtsi"
8
9/ {
10 model = "Generic RK3328";
11 compatible = "rockchip,rk3328";
12
13 aliases {
14 mmc0 = &emmc;
15 mmc1 = &sdmmc;
16 };
17
18 chosen {
19 stdout-path = "serial2:1500000n8";
20 };
21};
22
23&emmc {
24 bus-width = <8>;
25 cap-mmc-highspeed;
26 mmc-ddr-1_8v;
27 mmc-hs200-1_8v;
28 no-sd;
29 no-sdio;
30 non-removable;
31 pinctrl-names = "default";
32 pinctrl-0 = <&emmc_clk &emmc_cmd &emmc_bus8>;
33 status = "okay";
34};
35
36&sdmmc0m1_pin {
37 rockchip,pins = <0 RK_PD6 RK_FUNC_GPIO &pcfg_pull_down_4ma>;
38};
39
40&sdmmc {
41 bus-width = <4>;
42 cap-sd-highspeed;
43 disable-wp;
44 no-mmc;
45 no-sdio;
46 pinctrl-names = "default";
47 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_dectn &sdmmc0_bus4 &sdmmc0m1_pin>;
48 status = "okay";
49};
50
51&spi0 {
52 status = "okay";
53
54 flash@0 {
55 compatible = "jedec,spi-nor";
56 reg = <0>;
57 spi-max-frequency = <25000000>;
58 };
59};
60
61&u2phy {
62 status = "okay";
63};
64
65&u2phy_otg {
66 status = "okay";
67};
68
69&uart2 {
70 status = "okay";
71};
72
73&usb20_otg {
74 dr_mode = "peripheral";
75 status = "okay";
76};