FIX: [uboot] uart0 pinctrl for GNSS CAN shield on NB800

BugzId: 54033
This commit is contained in:
Viacheslav Volkov 2019-05-03 21:25:15 +02:00 committed by Moritz Rosenthal
parent b29105b37c
commit 2eaee7bf0c
1 changed files with 7 additions and 1 deletions

View File

@ -606,7 +606,13 @@ static struct shield_command known_shield_commands[] = {
"fdt get value serial0 /aliases serial0;" \
"fdt get value can1 /aliases d_can1;" \
"fdt set $serial0 status okay;" \
"fdt set $can1 status okay;",
"fdt set $can1 status okay;" \
/* fix uart0 pinctrl: */ \
"fdt get value dt_path /aliases uart0_pins_gnss_can;" \
"fdt get value dt_phandle $dt_path phandle;" \
"fdt get value dt_path /aliases serial0;" \
"fdt set $dt_path pinctrl-0 <$dt_phandle>;" \
,
gnsscan_shield_init
},
};