Skip to content

Commit

Permalink
arm64: dts: rockchip: Enable sdio0 and uart0 on rk3399-roc-pc-mezzanine
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Reichl authored and mmind committed Jan 13, 2020
1 parent 96ff264 commit cf3c539
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions arch/arm64/boot/dts/rockchip/rk3399-roc-pc-mezzanine.dts
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,24 @@
};
};
};

&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";
};

0 comments on commit cf3c539

Please sign in to comment.