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