-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from RadxaMitchell/main
linux: stable: add rock-pi-e gpiod label
- Loading branch information
Showing
2 changed files
with
226 additions
and
0 deletions.
There are no files selected for viewing
113 changes: 113 additions & 0 deletions
113
linux/.stable-6.1/0034-rock-pi-e/0005-Add-rock-pi-e-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,113 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: RadxaMitchell <[email protected]> | ||
Date: Mon, 4 Dec 2023 18:32:32 +0800 | ||
Subject: [PATCH] Add rock-pi-e gpiod label | ||
|
||
Signed-off-by: RadxaMitchell <[email protected]> | ||
--- | ||
.../boot/dts/rockchip/rk3328-rock-pi-e.dts | 92 +++++++++++++++++++ | ||
1 file changed, 92 insertions(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
index 60a221b4c..eb58edb16 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
@@ -418,3 +418,95 @@ &usbdrd3 { | ||
&usb_host0_ehci { | ||
status = "okay"; | ||
}; | ||
+ | ||
+&gpio0 { | ||
+ gpio-line-names = | ||
+ /* GPIO0_A0-A3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO0_A4-A7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO0_B0-B3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO0_B4-B7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO0_C0-C3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO0_C4-C7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO0_D0-D3 */ | ||
+ "", "", "", "PIN_15", | ||
+ /* GPIO0_D4-D7 */ | ||
+ "", "", "", ""; | ||
+}; | ||
+ | ||
+&gpio1 { | ||
+ gpio-line-names = | ||
+ /* GPIO1_A0-A3 */ | ||
+ "PIN_8", "PIN_10", "", "", | ||
+ /* GPIO1_A4-A7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO1_B0-B3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO1_B4-B7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO1_C0-C3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO1_C4-C7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO1_D0-D3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO1_D4-D7 */ | ||
+ "PIN_7", "", "", ""; | ||
+}; | ||
+ | ||
+&gpio2 { | ||
+ gpio-line-names = | ||
+ /* GPIO2_A0-A3 */ | ||
+ "", "", "PIN_11", "PIN_13", | ||
+ /* GPIO2_A4-A7 */ | ||
+ "PIN_27", "PIN_28", "PIN_33", "", | ||
+ | ||
+ /* GPIO2_B0-B3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO2_B4-B7 */ | ||
+ "PIN_26", "", "", "PIN_36", | ||
+ | ||
+ /* GPIO2_C0-C3 */ | ||
+ "PIN_32", "PIN_35", "PIN_12", "PIN_38", | ||
+ /* GPIO2_C4-C7 */ | ||
+ "PIN_29", "PIN_31", "PIN_37", "PIN_40", | ||
+ | ||
+ /* GPIO2_D0-D3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO2_D4-D7 */ | ||
+ "", "", "", ""; | ||
+}; | ||
+ | ||
+&gpio3 { | ||
+ gpio-line-names = | ||
+ /* GPIO3_A0-A3 */ | ||
+ "PIN_23", "PIN_19", "PIN_21", "", | ||
+ /* GPIO3_A4-A7 */ | ||
+ "PIN_3", "PIN_5", "", "", | ||
+ | ||
+ /* GPIO3_B0-B3 */ | ||
+ "PIN_24", "", "", "", | ||
+ /* GPIO3_B4-B7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO3_C0-C3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO3_C4-C7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO3_D0-D3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO3_D4-D7 */ | ||
+ "", "", "", ""; | ||
+}; | ||
-- | ||
2.25.1 | ||
|
113 changes: 113 additions & 0 deletions
113
linux/.stable-6.6/0034-rock-pi-e/0005-Add-rock-pi-e-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,113 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: RadxaMitchell <[email protected]> | ||
Date: Mon, 4 Dec 2023 18:32:32 +0800 | ||
Subject: [PATCH] Add rock-pi-e gpiod label | ||
|
||
Signed-off-by: RadxaMitchell <[email protected]> | ||
--- | ||
.../boot/dts/rockchip/rk3328-rock-pi-e.dts | 92 +++++++++++++++++++ | ||
1 file changed, 92 insertions(+) | ||
|
||
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
index 60a221b4c..eb58edb16 100644 | ||
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock-pi-e.dts | ||
@@ -418,3 +418,95 @@ &usbdrd3 { | ||
&usb_host0_ehci { | ||
status = "okay"; | ||
}; | ||
+ | ||
+&gpio0 { | ||
+ gpio-line-names = | ||
+ /* GPIO0_A0-A3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO0_A4-A7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO0_B0-B3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO0_B4-B7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO0_C0-C3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO0_C4-C7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO0_D0-D3 */ | ||
+ "", "", "", "PIN_15", | ||
+ /* GPIO0_D4-D7 */ | ||
+ "", "", "", ""; | ||
+}; | ||
+ | ||
+&gpio1 { | ||
+ gpio-line-names = | ||
+ /* GPIO1_A0-A3 */ | ||
+ "PIN_8", "PIN_10", "", "", | ||
+ /* GPIO1_A4-A7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO1_B0-B3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO1_B4-B7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO1_C0-C3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO1_C4-C7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO1_D0-D3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO1_D4-D7 */ | ||
+ "PIN_7", "", "", ""; | ||
+}; | ||
+ | ||
+&gpio2 { | ||
+ gpio-line-names = | ||
+ /* GPIO2_A0-A3 */ | ||
+ "", "", "PIN_11", "PIN_13", | ||
+ /* GPIO2_A4-A7 */ | ||
+ "PIN_27", "PIN_28", "PIN_33", "", | ||
+ | ||
+ /* GPIO2_B0-B3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO2_B4-B7 */ | ||
+ "PIN_26", "", "", "PIN_36", | ||
+ | ||
+ /* GPIO2_C0-C3 */ | ||
+ "PIN_32", "PIN_35", "PIN_12", "PIN_38", | ||
+ /* GPIO2_C4-C7 */ | ||
+ "PIN_29", "PIN_31", "PIN_37", "PIN_40", | ||
+ | ||
+ /* GPIO2_D0-D3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO2_D4-D7 */ | ||
+ "", "", "", ""; | ||
+}; | ||
+ | ||
+&gpio3 { | ||
+ gpio-line-names = | ||
+ /* GPIO3_A0-A3 */ | ||
+ "PIN_23", "PIN_19", "PIN_21", "", | ||
+ /* GPIO3_A4-A7 */ | ||
+ "PIN_3", "PIN_5", "", "", | ||
+ | ||
+ /* GPIO3_B0-B3 */ | ||
+ "PIN_24", "", "", "", | ||
+ /* GPIO3_B4-B7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO3_C0-C3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO3_C4-C7 */ | ||
+ "", "", "", "", | ||
+ | ||
+ /* GPIO3_D0-D3 */ | ||
+ "", "", "", "", | ||
+ /* GPIO3_D4-D7 */ | ||
+ "", "", "", ""; | ||
+}; | ||
-- | ||
2.25.1 | ||
|