Skip to contentSkip to conversation

arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO pin labeling for CON1

PATCH Applied Guillaume Giraudon 2 participants 3 messages Apr 11, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO pin labeling for CON1

The labels for lines 61 through 84 on the periphs-banks were offset by 2. 2 lines are missing in the BOOT GPIO lines (contains 14, should be 16) Added 2 empty entries in BOOT to realigned the rest of GPIO labels to match the Banana Pi M5 schematics.

(Thanks to Neil Armstrong for the heads up on the position of the missing pins)

Fixes 976e920183e4 ("arm64: dts: meson-sm1: add Banana PI BPI-M5 board dts")
---
 arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 1 +
 1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +1 -0
index 5751c48620ed..84489525c75f 100644
@@ -437,6 +437,7 @@
 		"",
 		"eMMC_RST#", /* BOOT_12 */
 		"eMMC_DS", /* BOOT_13 */
+		"","",
 		/* GPIOC */
 		"SD_D0_B", /* GPIOC_0 */
 		"SD_D1_B", /* GPIOC_1 */
Signature · 1 line
2.20.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 19 lines · Guillaume Giraudon

The labels for lines 61 through 84 on the periphs-banks were offset by 2. 2 lines are missing in the BOOT GPIO lines (contains 14, should be 16) Added 2 empty entries in BOOT to realigned the rest of GPIO labels to match the Banana Pi M5 schematics.

(Thanks to Neil Armstrong for the heads up on the position of the missing pins)

Fixes 976e920183e4 ("arm64: dts: meson-sm1: add Banana PI BPI-M5 board dts")
---
  arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts | 1 +
  1 file changed, 1 insertion(+)
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +0 -0
index 5751c48620ed..84489525c75f 100644

arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts line 440

Quoted 4 lines
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +1 -0
@@ -437,6 +437,7 @@
  		"",
  		"eMMC_RST#", /* BOOT_12 */
  		"eMMC_DS", /* BOOT_13 */
+		"","",

Missing space after first comma, will add while applying.

arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts line 443

Quoted 3 lines
arch/arm64/boot/dts/amlogic/meson-sm1-bananapi-m5.dts +0 -0
  		/* GPIOC */
  		"SD_D0_B", /* GPIOC_0 */
  		"SD_D1_B", /* GPIOC_1 */
#2 lore raw
In reply to Guillaume Giraudon

Hi,

Quoted 8 lines · Guillaume Giraudon

The labels for lines 61 through 84 on the periphs-banks were offset by 2. 2 lines are missing in the BOOT GPIO lines (contains 14, should be 16) Added 2 empty entries in BOOT to realigned the rest of GPIO labels to match the Banana Pi M5 schematics.

(Thanks to Neil Armstrong for the heads up on the position of the missing pins)

[...]

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.18/fixes)

[1/1] arm64: dts: meson-sm1-bananapi-m5: fix wrong GPIO pin labeling for CON1

      https://git.kernel.org/amlogic/c/962dd65e575dde950ef0844568edc37cfb39f302
Signature · 6 lines
Neil

_______________________________________________
linux-amlogic mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-amlogic