Skip to content

Commit 54fd331

Browse files
Andy3Kuoasus-leslieyu
authored andcommitted
dts: Add gpio4_d3 into sdio host power on sequence
For miniarm control run, RF will attach this pin to BT/Wi-Fi module for correcting the power sequence of BT/Wi-Fi module. pick from 3308568 Change-Id: I6cd2c4eb01ccb35219dadaa822b911eece3ec424
1 parent f28906b commit 54fd331

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

arch/arm/boot/dts/rk3288-tinker-board.dts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,15 +160,15 @@
160160
clocks = <&rk808 1>;
161161
clock-names = "ext_clock";
162162
pinctrl-names = "default";
163-
pinctrl-0 = <&wifi_enable_h>;
163+
pinctrl-0 = <&chip_enable_h>, <&wifi_enable_h>;
164164

165165
/*
166166
* On the module itself this is one of these (depending
167167
* on the actual card populated):
168168
* - SDIO_RESET_L_WL_REG_ON
169169
* - PDN (power down when low)
170170
*/
171-
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
171+
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>, <&gpio4 27 GPIO_ACTIVE_LOW>;
172172
};
173173

174174
wireless-bluetooth {

arch/arm/boot/dts/rk3288-tinker-board.dtsi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -450,6 +450,9 @@
450450
wifi_enable_h: wifi-enable-h {
451451
rockchip,pins = <4 28 RK_FUNC_GPIO &pcfg_pull_none>;
452452
};
453+
chip_enable_h: chip-enable-h {
454+
rockchip,pins = <4 27 RK_FUNC_GPIO &pcfg_pull_none>;
455+
};
453456
};
454457

455458
sdmmc {

0 commit comments

Comments
 (0)