Hi,
yes even first 24 pins only.
Black are GND.
I tried last night to guess some of the other pins based on color header and reference to other SBC from Radxa. Blue pins are I2C on other boards.
There are some GPIO pins defined in device tree, but unfortunately it is impossible to map them to real Header Pins.
Referring:
From ac42fc06cd450e5c928c1532ed58a084f6c5f105 Mon Sep 17 00:00:00 2001
From: bsp <bsp@radxa.com>
Date: Fri, 24 Nov 2023 16:50:13 +0800
Subject: [PATCH] linux: dts: add radxa s0 gpiod label
Signed-off-by: Nascs <nascs@radxa.com>
---
.../boot/dts/rockchip/rk3308-radxa-s0.dts | 115 ++++++++++++++++++
1 file changed, 115 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts b/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts
index f07543e072..9faa43d5a1 100644
--- a/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3308-radxa-s0.dts
@@ -403,3 +403,118 @@ &usb_host_ehci {
&usb_host_ohci{
status = "okay";
};
+
+&gpio0 {
This file has been truncated. show original
&gpio0 {
gpio-line-names =
/* GPIO0_A0-A3 /
ββ, βPIN_16β, ββ, ββ,
/ GPIO0_A4-A7 */
ββ, ββ, ββ, ββ,
/* GPIO0_B0-B3 */
"", "", "", "PIN_3",
/* GPIO0_B4-B7 */
"PIN_5", "", "", "PIN_27",
/* GPIO0_C0-C3 */
"PIN_28", "PIN_15", "PIN_33", "",
/* GPIO0_C4-C7 */
"", "", "", "",
/* GPIO0_D0-D3 */
"", "", "", "",
/* GPIO0_D4-D7 */
"", "", "", "";
};
&gpio1 {
gpio-line-names =
/* GPIO1_A0-A3 /
ββ, ββ, ββ, ββ,
/ GPIO1_A4-A7 */
ββ, ββ, ββ, ββ,
/* GPIO1_B0-B3 */
"", "", "", "",
/* GPIO1_B4-B7 */
"", "", "", "",
/* GPIO1_C0-C3 */
"", "", "", "",
/* GPIO1_C4-C7 */
"", "", "PIN_21", "PIN_19",
/* GPIO1_D0-D3 */
"PIN_23", "PIN_24", "", "",
/* GPIO1_D4-D7 */
"", "", "", "";
};
&gpio2 {
gpio-line-names =
/* GPIO2_A0-A3 /
βPIN_10β, βPIN_8β, βPIN_37β, βPIN_13β,
/ GPIO2_A4-A7 */
βPIN_35β, βPIN_38β, βPIN_36β, βPIN_40β,
/* GPIO2_B0-B3 */
"PIN_26", "PIN_12", "PIN_31", "PIN_22",
/* GPIO2_B4-B7 */
"PIN_32", "PIN_7", "PIN_11", "PIN_18",
/* GPIO2_C0-C3 */
"PIN_29", "", "", "",
/* GPIO2_C4-C7 */
"", "", "", "",
/* GPIO2_D0-D3 */
"", "", "", "",
/* GPIO2_D4-D7 */
"", "", "", "";
};
&gpio3 {
gpio-line-names =
/* GPIO3_A0-A3 /
ββ, ββ, ββ, ββ,
/ GPIO3_A4-A7 */
ββ, ββ, ββ, ββ,
/* GPIO3_B0-B3 */
"", "", "", "",
/* GPIO3_B4-B7 */
"", "", "", "",
/* GPIO3_C0-C3 */
"", "", "", "",
/* GPIO3_C4-C7 */
"", "", "", "",
/* GPIO3_D0-D3 */
"", "", "", "",
/* GPIO3_D4-D7 */
"", "", "", "";
};
&gpio4 {
gpio-line-names =
/* GPIO4_A0-A3 /
ββ, ββ, ββ, ββ,
/ GPIO4_A4-A7 */
ββ, ββ, ββ, ββ,
/* GPIO4_B0-B3 */
"", "", "", "",
/* GPIO4_B4-B7 */
"", "", "", "",
/* GPIO4_C0-C3 */
"", "", "", "",
/* GPIO4_C4-C7 */
"", "", "", "",
/* GPIO4_D0-D3 */
"", "", "", "",
/* GPIO4_D4-D7 */
"", "", "", "";
};