-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
linux: stable: add radxa s0 gpiod label
Signed-off-by: Nascs <[email protected]>
- Loading branch information
Showing
1 changed file
with
136 additions
and
0 deletions.
There are no files selected for viewing
136 changes: 136 additions & 0 deletions
136
linux/stable/0025-radxa-s0/0001-linux-dts-add-radxa-s0-gpiod-label.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
From ac42fc06cd450e5c928c1532ed58a084f6c5f105 Mon Sep 17 00:00:00 2001 | ||
From: bsp <[email protected]> | ||
Date: Fri, 24 Nov 2023 16:50:13 +0800 | ||
Subject: [PATCH] linux: dts: add radxa s0 gpiod label | ||
|
||
Signed-off-by: Nascs <[email protected]> | ||
--- | ||
.../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 { | ||
+ 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_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 */ | ||
+ "PIN_28", "", "", "", | ||
+ /* 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_20", | ||
+ /* 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 */ | ||
+ "", "", "", ""; | ||
+}; | ||
-- | ||
2.25.1 | ||
|