Skip to content

Commit 40cff49

Browse files
spectrum70Greg Ungerer
authored andcommitted
m68k: stmark2: update board setup
Add configuration for flexcan pads. Signed-off-by: Angelo Dureghello <[email protected]> Signed-off-by: Greg Ungerer <[email protected]>
1 parent cd3bf8c commit 40cff49

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

arch/m68k/coldfire/stmark2.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ static int __init init_stmark2(void)
111111
__raw_writeb(0x00, MCFGPIO_PAR_BE);
112112
__raw_writeb(0x00, MCFGPIO_PAR_FBCTL);
113113
__raw_writeb(0x00, MCFGPIO_PAR_CS);
114-
__raw_writeb(0x00, MCFGPIO_PAR_CANI2C);
114+
115+
/* CAN pads */
116+
__raw_writeb(0x50, MCFGPIO_PAR_CANI2C);
115117

116118
platform_add_devices(stmark2_devices, ARRAY_SIZE(stmark2_devices));
117119

@@ -121,4 +123,4 @@ static int __init init_stmark2(void)
121123
return 0;
122124
}
123125

124-
late_initcall(init_stmark2);
126+
device_initcall(init_stmark2);

0 commit comments

Comments
 (0)