arm64: dts: rockchip: Enable sdio0 and uart0 on rk3399-roc-pc-mezzanine
authorMarkus Reichl <m.reichl@fivetechno.de>
Thu, 9 Jan 2020 15:42:10 +0000 (16:42 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 13 Jan 2020 09:22:22 +0000 (10:22 +0100)
The mezzanine board carries an E key type M.2 slot. This is
connected to USB, SDIO and UART0. Enable sdio and uart0 for use
with wlan and/or bt M.2 cards.

Signed-off-by: Markus Reichl <m.reichl@fivetechno.de>
Link: https://lore.kernel.org/r/20200109154211.1530-1-m.reichl@fivetechno.de
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts

index 2db9d32ad54abff8af5eb39e1821f687aff38543..2acb3d500fb9e3bc3771adcceac833dba46de97e 100644 (file)
                };
        };
 };
+
+&sdio0 {
+       bus-width = <4>;
+       cap-sd-highspeed;
+       cap-sdio-irq;
+       keep-power-in-suspend;
+       mmc-pwrseq = <&sdio_pwrseq>;
+       non-removable;
+       pinctrl-names = "default";
+       pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
+       sd-uhs-sdr104;
+       vmmc-supply = <&vcc3v3_ngff>;
+       vqmmc-supply = <&vcc_1v8>;
+       status = "okay";
+};
+
+&uart0 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&uart0_xfer &uart0_cts &uart0_rts>;
+       status = "okay";
+};