-
Notifications
You must be signed in to change notification settings - Fork 0
/
pine64-rtl8723bs.dts
48 lines (42 loc) · 1.04 KB
/
pine64-rtl8723bs.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
//
// Copyright (C) 2018 Chen-Yu Tsai <[email protected]>
//
// RTL8723BS module attached on WiFi connector
#ifdef __DTO_TEST__
#include <arm64/allwinner/sun50i-a64-pine64.dts>
#else
/dts-v1/;
/plugin/;
#endif
#include <dt-bindings/gpio/gpio.h>
&{/} {
wifi_pwrseq: wifi-pwrseq {
compatible = "mmc-pwrseq-simple";
reset-gpios = <&r_pio 0 2 GPIO_ACTIVE_LOW>; /* PL2 WIFI_EN */
};
};
&mmc1 {
pinctrl-names = "default";
pinctrl-0 = <&mmc1_pins>;
vmmc-supply = <®_dldo4>;
vqmmc-supply = <®_eldo1>;
mmc-pwrseq = <&wifi_pwrseq>;
bus-width = <4>;
non-removable;
status = "okay";
};
&uart1 {
pinctrl-names = "default";
pinctrl-0 = <&uart1_pins>;
status = "okay";
bluetooth {
compatible = "realtek,rtl8723bs-bt";
vbat-supply = <®_dldo4>;
vd33-supply = <®_dldo4>;
vddio-supply = <®_eldo1>;
device-wakeup-gpios = <&r_pio 0 6 GPIO_ACTIVE_HIGH>; /* PL6 */
host-wakeup-gpios = <&r_pio 0 5 GPIO_ACTIVE_HIGH>; /* PL5 */
enable-gpios = <&r_pio 0 4 GPIO_ACTIVE_HIGH>; /* PL4 */
};
};