net/can: add driver for mscan family & mpc52xx_mscan

Taken from socketcan-svn, fixed remaining todos, cleaned up, tested with a
phyCORE-MPC5200B-IO and a custom board.

Signed-off-by: Wolfram Sang <[email protected]>
Cc: Wolfgang Grandegger <[email protected]>
Cc: Grant Likely <[email protected]>
Cc: David Miller <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
Wolfram Sang 2009-11-13 06:14:52 +00:00 • committed by David S. Miller
commit afa17a500a
7 changed files with 1274 additions and 0 deletions

View file

@ -178,3 +178,12 @@ External interrupts:
external irq3: interrupts = <1 3 n>;
'n' is sense (0: level high, 1: edge rising, 2: edge falling 3: level low)
fsl,mpc5200-mscan nodes
-----------------------
In addition to the required compatible-, reg- and interrupt-properites, you can
also specify which clock shall be used for the bus:
- fsl,mscan-clk-src - a string describing the clock source. Valid values
are "ip" for IP_CLK and "sys" for SYS_XTAL.
"sys" is the default in case the property is not
present.