summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi
diff options
context:
space:
mode:
authorSuniel Mahesh <sunil@amarulasolutions.com>2020-11-09 21:10:13 +0300
committerHeiko Stuebner <heiko@sntech.de>2020-11-30 04:37:13 +0300
commit93a4e7d12468b0ab46796f3ed8dc5838dc7f63bc (patch)
treee729d3d79e6fd98415df2ecedef8cd119d32dad7 /arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi
parent0e418423be1c824b2cda37fd00528f62231cd219 (diff)
downloadlinux-93a4e7d12468b0ab46796f3ed8dc5838dc7f63bc.tar.xz
arm64: dts: rockchip: Add WiFi support on px30-engicam
Engicam PX30 carrier boards like EDIMM2.2 and C.TOUCH2.0 have an onboard Sterling-LWD Wifi/BT chip based on BCM43430 connected on the SDIO bus. The SDIO power sequnce is connacted with exteernal 32KHz oscillator and it require 3V3 regulator input. This patch adds WiFi enablement nodes for these respective boards. Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com> Signed-off-by: Suniel Mahesh <sunil@amarulasolutions.com> Signed-off-by: Jagan Teki <jagan@amarulasolutions.com> Link: https://lore.kernel.org/r/20201109181017.206834-6-jagan@amarulasolutions.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi')
-rw-r--r--arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi12
1 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi b/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi
index 58425b1e559f..d5708779c285 100644
--- a/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi
+++ b/arch/arm64/boot/dts/rockchip/px30-engicam-ctouch2.dtsi
@@ -6,3 +6,15 @@
*/
#include "px30-engicam-common.dtsi"
+
+&pinctrl {
+ sdio-pwrseq {
+ wifi_enable_h: wifi-enable-h {
+ rockchip,pins = <1 RK_PC2 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+};
+
+&sdio_pwrseq {
+ reset-gpios = <&gpio1 RK_PC2 GPIO_ACTIVE_LOW>;
+};