Commit 40cff492 authored by Angelo Dureghello's avatar Angelo Dureghello Committed by Greg Ungerer

m68k: stmark2: update board setup

Add configuration for flexcan pads.
Signed-off-by: default avatarAngelo Dureghello <angelo@kernel-space.org>
Signed-off-by: default avatarGreg Ungerer <gerg@linux-m68k.org>
parent cd3bf8cf
...@@ -111,7 +111,9 @@ static int __init init_stmark2(void) ...@@ -111,7 +111,9 @@ static int __init init_stmark2(void)
__raw_writeb(0x00, MCFGPIO_PAR_BE); __raw_writeb(0x00, MCFGPIO_PAR_BE);
__raw_writeb(0x00, MCFGPIO_PAR_FBCTL); __raw_writeb(0x00, MCFGPIO_PAR_FBCTL);
__raw_writeb(0x00, MCFGPIO_PAR_CS); __raw_writeb(0x00, MCFGPIO_PAR_CS);
__raw_writeb(0x00, MCFGPIO_PAR_CANI2C);
/* CAN pads */
__raw_writeb(0x50, MCFGPIO_PAR_CANI2C);
platform_add_devices(stmark2_devices, ARRAY_SIZE(stmark2_devices)); platform_add_devices(stmark2_devices, ARRAY_SIZE(stmark2_devices));
...@@ -121,4 +123,4 @@ static int __init init_stmark2(void) ...@@ -121,4 +123,4 @@ static int __init init_stmark2(void)
return 0; return 0;
} }
late_initcall(init_stmark2); device_initcall(init_stmark2);
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment