* [BUG] wrong pinning definition or uart_c in pinctrl-meson-gxbb.c
@ 2019-09-05 11:22 Otto Meier
0 siblings, 0 replies; only message in thread
From: Otto Meier @ 2019-09-05 11:22 UTC (permalink / raw)
To: linux-amlogic, linux-kernel, linux
[-- Attachment #1: Type: text/plain, Size: 411 bytes --]
Hi i tried to use uart_C of the the odroid-c2.
I enabled it int the dts file. During boot it crashed when the
the sdcard slot is addressd.
After long search in the net i found this:
https://forum.odroid.com/viewtopic.php?f=139&t=25371&p=194370&hilit=uart_C#p177856
After changing the pin definitios accordingly erverything works.
Uart_c is functioning and sdcard ist working.
Patch attached
Bye Otto
[-- Attachment #2: uart_c_pins.diff --]
[-- Type: text/x-patch, Size: 1810 bytes --]
Hi i tried to use uart_C of the the odroid-c2.
I enabled it int the dts file. During boot it crashed when the
the sdcard slot is addressd.
After long search in the net i found this:
https://forum.odroid.com/viewtopic.php?f=139&t=25371&p=194370&hilit=uart_C#p177856
After changing the pin definitios accordingly erverything works.
Uart_c is functioning and sdcard ist working.
--- a/drivers/pinctrl/meson/pinctrl-meson-gxbb.c 2019-08-26 18:24:45.450089334 +0200
+++ b/drivers/pinctrl/meson/pinctrl-meson-gxbb.c 2019-09-05 13:07:38.518637214 +0200
@@ -192,8 +192,8 @@ static const unsigned int uart_rts_b_pin
static const unsigned int uart_tx_c_pins[] = { GPIOY_13 };
static const unsigned int uart_rx_c_pins[] = { GPIOY_14 };
-static const unsigned int uart_cts_c_pins[] = { GPIOX_11 };
-static const unsigned int uart_rts_c_pins[] = { GPIOX_12 };
+static const unsigned int uart_cts_c_pins[] = { GPIOY_11 };
+static const unsigned int uart_rts_c_pins[] = { GPIOY_12 };
static const unsigned int i2c_sck_a_pins[] = { GPIODV_25 };
static const unsigned int i2c_sda_a_pins[] = { GPIODV_24 };
@@ -439,10 +439,10 @@ static struct meson_pmx_group meson_gxbb
GROUP(pwm_f_x, 3, 18),
/* Bank Y */
- GROUP(uart_cts_c, 1, 19),
- GROUP(uart_rts_c, 1, 18),
- GROUP(uart_tx_c, 1, 17),
- GROUP(uart_rx_c, 1, 16),
+ GROUP(uart_cts_c, 1, 17),
+ GROUP(uart_rts_c, 1, 16),
+ GROUP(uart_tx_c, 1, 19),
+ GROUP(uart_rx_c, 1, 18),
GROUP(pwm_a_y, 1, 21),
GROUP(pwm_f_y, 1, 20),
GROUP(i2s_out_ch23_y, 1, 5),
signed off Otto Meier gf435@gmx.net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-09-05 11:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-05 11:22 [BUG] wrong pinning definition or uart_c in pinctrl-meson-gxbb.c Otto Meier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).