Compare commits
No commits in common. "09003224fd7d6de4068541f9364df2693ae22084" and "420dd4d414b6f31eab5496e01176eb8e0b25fa42" have entirely different histories.
09003224fd
...
420dd4d414
14
README.md
14
README.md
@ -7,17 +7,11 @@ Files
|
||||
* Kconfig : Config file for menuconfig etc.
|
||||
* Makefile : Makefile for Kernel Build
|
||||
|
||||
Patch Kernel
|
||||
------------
|
||||
* Apply the specific commits on your kernel source tree
|
||||
* Or copy the newest m_can.c to your kernel source tree.
|
||||
|
||||
Compile
|
||||
-------
|
||||
compile as normal Kernel Driver.
|
||||
* Driver can be compiled as an externel module.
|
||||
* Driver can be compiled statically into the kernel.
|
||||
* selectable with menuconfig
|
||||
|
||||
|
||||
Device Tree
|
||||
@ -26,7 +20,6 @@ The following code shows a basic device tree for an M_CAN node:
|
||||
|
||||
```
|
||||
/* M_CAN Device Tree Nodes */
|
||||
/* Example clocks */
|
||||
hclk: hclk {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = < 0 >;
|
||||
@ -36,14 +29,13 @@ cclk: cclk {
|
||||
compatible = "fixed-clock";
|
||||
#clock-cells = < 0 >;
|
||||
clock-frequency = <40000000>;
|
||||
};
|
||||
|
||||
/* M_CAN device */
|
||||
};
|
||||
mcan0: can@0xff240000 {
|
||||
compatible = "bosch,m_can";
|
||||
compatible = "bosch,m_can-3.2.1";
|
||||
reg = <0xff240000 0x200>,<0xff260000 0x4000>;
|
||||
reg-names = "m_can", "message_ram";
|
||||
interrupt-parent = <&intc>;
|
||||
/* Shared Interrupt for every M_CAN */
|
||||
interrupts = <0x0 40 0x4>;
|
||||
interrupt-names = "int0";
|
||||
clocks = <&hclk>, <&cclk>;
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user