blob: f92475c59deb45b9ad8fc8bb842244d86bd2653c [file] [log] [blame]
Jonas Karlman01032122024-08-02 22:12:19 +00001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2
3/dts-v1/;
4
5#include "rk3566-radxa-zero-3.dtsi"
6
7/ {
8 model = "Radxa ZERO 3W";
9 compatible = "radxa,zero-3w", "rockchip,rk3566";
10
11 aliases {
FUKAUMI Naokice73d432024-08-02 22:12:20 +000012 mmc0 = &sdhci;
13 mmc1 = &sdmmc0;
Jonas Karlman01032122024-08-02 22:12:19 +000014 mmc2 = &sdmmc1;
15 };
16
17 sdio_pwrseq: sdio-pwrseq {
18 compatible = "mmc-pwrseq-simple";
19 clocks = <&rk817 1>;
20 clock-names = "ext_clock";
21 pinctrl-names = "default";
22 pinctrl-0 = <&wifi_reg_on_h>;
23 post-power-on-delay-ms = <100>;
24 power-off-delay-us = <5000000>;
25 reset-gpios = <&gpio0 RK_PC0 GPIO_ACTIVE_LOW>;
26 };
27};
28
29&pinctrl {
30 bluetooth {
31 bt_reg_on_h: bt-reg-on-h {
32 rockchip,pins = <0 RK_PC1 RK_FUNC_GPIO &pcfg_pull_none>;
33 };
34
35 bt_wake_host_h: bt-wake-host-h {
36 rockchip,pins = <0 RK_PB3 RK_FUNC_GPIO &pcfg_pull_none>;
37 };
38
39 host_wake_bt_h: host-wake-bt-h {
40 rockchip,pins = <0 RK_PB4 RK_FUNC_GPIO &pcfg_pull_none>;
41 };
42 };
43
44 wifi {
45 wifi_reg_on_h: wifi-reg-on-h {
46 rockchip,pins = <0 RK_PC0 RK_FUNC_GPIO &pcfg_pull_none>;
47 };
48
49 wifi_wake_host_h: wifi-wake-host-h {
50 rockchip,pins = <0 RK_PB7 RK_FUNC_GPIO &pcfg_pull_none>;
51 };
52 };
53};
54
55&sdhci {
56 bus-width = <8>;
57 cap-mmc-highspeed;
58 max-frequency = <200000000>;
59 mmc-hs200-1_8v;
60 no-sd;
61 no-sdio;
62 non-removable;
63 pinctrl-names = "default";
64 pinctrl-0 = <&emmc_bus8 &emmc_clk &emmc_cmd &emmc_datastrobe>;
65 vmmc-supply = <&vcc_3v3>;
66 vqmmc-supply = <&vcc_1v8>;
67 status = "okay";
68};
69
70&sdmmc1 {
71 bus-width = <4>;
72 cap-sd-highspeed;
73 cap-sdio-irq;
74 keep-power-in-suspend;
75 mmc-pwrseq = <&sdio_pwrseq>;
76 no-mmc;
77 no-sd;
78 non-removable;
79 pinctrl-names = "default";
80 pinctrl-0 = <&sdmmc1_bus4 &sdmmc1_clk &sdmmc1_cmd>;
81 sd-uhs-sdr104;
82 vmmc-supply = <&vcc_3v3>;
83 vqmmc-supply = <&vcc_1v8>;
84 status = "okay";
85};
86
87&uart1 {
88 pinctrl-names = "default";
89 pinctrl-0 = <&uart1m0_xfer &uart1m0_ctsn &uart1m0_rtsn>;
90 uart-has-rtscts;
91 status = "okay";
92};