Skip to content

Commit 04a4bec

Browse files
RjgawuieRadxaYuntian
authored andcommitted
add uart6/12 dts for qcs6490.
add uart6/12 dts for qcs6490. format metadata&& add 2pin uart add uart dtso 2 makefile. format q6a overlay descriptions.
1 parent a95f231 commit 04a4bec

File tree

5 files changed

+130
-0
lines changed

5 files changed

+130
-0
lines changed

arch/arm64/boot/dts/qcom/overlays/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ dtb-$(CONFIG_ARCH_QCOM) += qcs6490-radxa-dragon-q6a-cam1-imx577.dtbo \
77
qcs6490-radxa-dragon-q6a-cam3-radxa-camera-8m-219.dtbo \
88
qcs6490-radxa-dragon-q6a-kvm.dtbo \
99
qcs6490-radxa-dragon-q6a-radxa-display-10fhd.dtbo \
10+
qcs6490-radxa-dragon-q6a-uart6-flowctl.dtbo \
11+
qcs6490-radxa-dragon-q6a-uart6.dtbo \
12+
qcs6490-radxa-dragon-q6a-uart12-flowctl.dtbo \
13+
qcs6490-radxa-dragon-q6a-uart12.dtbo \
1014
qcs6490-radxa-dragon-q6a-usb-peripheral.dtbo
1115

1216
targets += $(dtb-y)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) 2025 Radxa Computer (Shenzhen) Co., Ltd.
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
/ {
10+
metadata {
11+
title = "Enable UART12 with Flow Control";
12+
compatible = "radxa,dragon-q6a";
13+
category = "misc";
14+
exclusive = "spi12", "uart12", "i2c12";
15+
description = "Enable UART12 with Flow Control.
16+
On Radxa Dragon Q6A, this is pin 19(rts), 21(cts), 23(tx), 24(rx).";
17+
};
18+
};
19+
20+
&spi12 {
21+
status = "disabled";
22+
};
23+
24+
&i2c12 {
25+
status = "disabled";
26+
};
27+
28+
&uart12 {
29+
qcom,enable-gsi-dma;
30+
status = "okay";
31+
};
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) 2025 Radxa Computer (Shenzhen) Co., Ltd.
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
/ {
10+
metadata {
11+
title = "Enable UART12";
12+
compatible = "radxa,dragon-q6a";
13+
category = "misc";
14+
exclusive = "spi12", "uart12", "i2c12";
15+
description = "Enable UART12.
16+
On Radxa Dragon Q6A, this is pin 23(tx), 24(rx).";
17+
};
18+
};
19+
20+
&spi12 {
21+
status = "disabled";
22+
};
23+
24+
&i2c12 {
25+
status = "disabled";
26+
};
27+
28+
&uart12 {
29+
qcom,enable-gsi-dma;
30+
status = "okay";
31+
pinctrl-0 = <&qup_uart12_tx>, <&qup_uart12_rx>;
32+
};
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) 2025 Radxa Computer (Shenzhen) Co., Ltd.
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
/ {
10+
metadata {
11+
title = "Enable UART6 with Flow Control";
12+
compatible = "radxa,dragon-q6a";
13+
category = "misc";
14+
exclusive = "uart6","i2c6","spi6";
15+
description = "Enable UART6 with Flow Control.
16+
On Radxa Dragon Q6A, this is pin 3(cts), 5(rts),16(tx), 18(rx).";
17+
};
18+
};
19+
20+
&spi6 {
21+
status = "disabled";
22+
};
23+
24+
&i2c6 {
25+
status = "disabled";
26+
};
27+
28+
&uart6 {
29+
qcom,enable-gsi-dma;
30+
status = "okay";
31+
};
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// SPDX-License-Identifier: BSD-3-Clause
2+
/*
3+
* Copyright (c) 2025 Radxa Computer (Shenzhen) Co., Ltd.
4+
*/
5+
6+
/dts-v1/;
7+
/plugin/;
8+
9+
/ {
10+
metadata {
11+
title = "Enable UART6";
12+
compatible = "radxa,dragon-q6a";
13+
category = "misc";
14+
exclusive = "uart6","i2c6","spi6";
15+
description = "Enable UART6.
16+
On Radxa Dragon Q6A, this is pin 16(tx), 18(rx).";
17+
};
18+
};
19+
20+
&spi6 {
21+
status = "disabled";
22+
};
23+
24+
&i2c6 {
25+
status = "disabled";
26+
};
27+
28+
&uart6 {
29+
qcom,enable-gsi-dma;
30+
status = "okay";
31+
pinctrl-0 = <&qup_uart6_tx>, <&qup_uart6_rx>;
32+
};

0 commit comments

Comments
 (0)