Thread (9 messages) 9 messages, 4 authors, 2d ago
WARM2d

[PATCH v2 4/5] riscv: dts: thead: Add IO labels for the IO expansion on I2C1

From: Icenowy Zheng <zhengxingda@iscas.ac.cn>
Date: 2026-07-14 07:45:46
Also in: linux-riscv, lkml
Subsystem: risc-v architecture, risc-v thead soc support, the rest · Maintainers: Paul Walmsley, Palmer Dabbelt, Albert Ou, Drew Fustini, Guo Ren, Fu Wei, Linus Torvalds

From: Emil Renner Berthing <redacted>

Add labels for GPIOs on the IO expansion chip on the I2C1 bus.

Signed-off-by: Emil Renner Berthing <redacted>
[Icenowy: Splitted off the patch adding all 3 IO expansions]
Signed-off-by: Icenowy Zheng <zhengxingda@iscas.ac.cn>
---
 arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts | 8 ++++++++
 1 file changed, 8 insertions(+)
diff --git a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
index 74b120c6b063a..78f5979a56c14 100644
--- a/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
+++ b/arch/riscv/boot/dts/thead/th1520-lichee-pi-4a.dts
@@ -128,6 +128,14 @@ ioexp2: gpio@18 {
 		reg = <0x18>;
 		gpio-controller;
 		#gpio-cells = <2>;
+		gpio-line-names = "",
+				  "cam0_reset",
+				  "cam1_reset",
+				  "cam2_reset",
+				  "wl_host_wake",
+				  "bt_resetn",
+				  "",
+				  "bt_host_wake";
 	};
 };
 
-- 
2.52.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help