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 - reg : physical base address and size of the C_CAN/D_CAN
9 - interrupts : property with a value describing the interrupt
13 - ti,hwmods : Must be "d_can<n>" or "c_can<n>", n being the
15 - syscon-raminit : Handle to system control region that contains the
16 RAMINIT register, register offset to the RAMINIT
17 register and the CAN instance number (0 offset).
19 Note: "ti,hwmods" field is used to fetch the base address and irq
20 resources from TI, omap hwmod data base during device registration.
21 Future plan is to migrate hwmod data base contents into device tree
22 blob so that, all the required data will be used from device tree dts
27 Step1: SoC common .dtsi file
29 dcan1: d_can@481d0000 {
30 compatible = "bosch,d_can";
31 reg = <0x481d0000 0x2000>;
33 interrupt-parent = <&intc>;
39 dcan1: d_can@481d0000 {
40 compatible = "bosch,d_can";
42 reg = <0x481d0000 0x2000>;
44 interrupt-parent = <&intc>;
48 Step 2: board specific .dts file