1 Bosch C_CAN/D_CAN controller Device Tree Bindings
2 -------------------------------------------------
5 - compatible : Should be "bosch,c_can" for C_CAN controllers and
6 "bosch,d_can" for D_CAN controllers.
7 Can be "ti,dra7-d_can".
8 - reg : physical base address and size of the C_CAN/D_CAN
10 - interrupts : property with a value describing the interrupt
14 - ti,hwmods : Must be "d_can<n>" or "c_can<n>", n being the
16 - syscon-raminit : Handle to system control region that contains the
17 RAMINIT register, register offset to the RAMINIT
18 register and the CAN instance number (0 offset).
20 Note: "ti,hwmods" field is used to fetch the base address and irq
21 resources from TI, omap hwmod data base during device registration.
22 Future plan is to migrate hwmod data base contents into device tree
23 blob so that, all the required data will be used from device tree dts
28 Step1: SoC common .dtsi file
30 dcan1: d_can@481d0000 {
31 compatible = "bosch,d_can";
32 reg = <0x481d0000 0x2000>;
34 interrupt-parent = <&intc>;
40 dcan1: d_can@481d0000 {
41 compatible = "bosch,d_can";
43 reg = <0x481d0000 0x2000>;
45 interrupt-parent = <&intc>;
49 Step 2: board specific .dts file