Skip to content

Commit c19d52e

Browse files
kevin-xu-88rkhuangtao
authored andcommitted
arm64: dts: rockchip: RK3328 EVB board for bluetooth
Change-Id: Id54ef68dc939d3edf54d5cda1ee25e0014de2579 Signed-off-by: Xu Xuehui <xxh@rock-chips.com>
1 parent 2d4d0a7 commit c19d52e

1 file changed

Lines changed: 27 additions & 1 deletion

File tree

arch/arm64/boot/dts/rockchip/rk3328-evb-android.dts

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,19 @@
168168
vin-supply = <&vcc_io>;
169169
};
170170

171+
wireless-bluetooth {
172+
compatible = "bluetooth-platdata";
173+
clocks = <&rk805 1>;
174+
clock-names = "ext_clock";
175+
uart_rts_gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;
176+
pinctrl-names = "default", "rts_gpio";
177+
pinctrl-0 = <&uart0_rts>;
178+
pinctrl-1 = <&uart0_gpios>;
179+
BT,power_gpio = <&gpio1 21 GPIO_ACTIVE_HIGH>;
180+
BT,wake_host_irq = <&gpio1 26 GPIO_ACTIVE_HIGH>;
181+
status = "okay";
182+
};
183+
171184
wireless-wlan {
172185
compatible = "wlan-platdata";
173186
rockchip,grf = <&grf>;
@@ -264,7 +277,7 @@
264277
clock-output-names = "xin32k", "rk805-clkout2";
265278

266279
rtc {
267-
status = "disabled";
280+
status = "okay";
268281
};
269282

270283
pwrkey {
@@ -424,6 +437,13 @@
424437
<1 18 RK_FUNC_GPIO &pcfg_pull_none>;
425438
};
426439
};
440+
441+
wireless-bluetooth {
442+
uart0_gpios: uart0-gpios {
443+
rockchip,pins =
444+
<1 10 RK_FUNC_GPIO &pcfg_pull_none>;
445+
};
446+
};
427447
};
428448

429449
&pwm3 {
@@ -533,6 +553,12 @@
533553
status = "okay";
534554
};
535555

556+
&uart0 {
557+
pinctrl-names = "default";
558+
pinctrl-0 = <&uart0_xfer &uart0_cts>;
559+
status = "okay";
560+
};
561+
536562
&sdio {
537563
bus-width = <4>;
538564
cap-sd-highspeed;

0 commit comments

Comments
 (0)