提交 f2bf2589 编写于 作者: R Roger Quadros 提交者: Marc Kleine-Budde

net: can: c_can: Add support for TI am4372 DCAN

AM4372 SoC has 2 DCAN modules. Add compatible id and
raminit driver data for it. The driver data is same as AM3352
but this gives us flexibility to add AM4372 specific quirks
if required later.
Signed-off-by: NRoger Quadros <rogerq@ti.com>
Signed-off-by: NMarc Kleine-Budde <mkl@pengutronix.de>
上级 c71d0b31
...@@ -4,7 +4,8 @@ Bosch C_CAN/D_CAN controller Device Tree Bindings ...@@ -4,7 +4,8 @@ Bosch C_CAN/D_CAN controller Device Tree Bindings
Required properties: Required properties:
- compatible : Should be "bosch,c_can" for C_CAN controllers and - compatible : Should be "bosch,c_can" for C_CAN controllers and
"bosch,d_can" for D_CAN controllers. "bosch,d_can" for D_CAN controllers.
Can be "ti,dra7-d_can" or "ti,am3352-d_can". Can be "ti,dra7-d_can", "ti,am3352-d_can" or
"ti,am4372-d_can".
- reg : physical base address and size of the C_CAN/D_CAN - reg : physical base address and size of the C_CAN/D_CAN
registers map registers map
- interrupts : property with a value describing the interrupt - interrupts : property with a value describing the interrupt
......
...@@ -235,6 +235,7 @@ static const struct of_device_id c_can_of_table[] = { ...@@ -235,6 +235,7 @@ static const struct of_device_id c_can_of_table[] = {
{ .compatible = "bosch,d_can", .data = &d_can_drvdata }, { .compatible = "bosch,d_can", .data = &d_can_drvdata },
{ .compatible = "ti,dra7-d_can", .data = &dra7_dcan_drvdata }, { .compatible = "ti,dra7-d_can", .data = &dra7_dcan_drvdata },
{ .compatible = "ti,am3352-d_can", .data = &am3352_dcan_drvdata }, { .compatible = "ti,am3352-d_can", .data = &am3352_dcan_drvdata },
{ .compatible = "ti,am4372-d_can", .data = &am3352_dcan_drvdata },
{ /* sentinel */ }, { /* sentinel */ },
}; };
MODULE_DEVICE_TABLE(of, c_can_of_table); MODULE_DEVICE_TABLE(of, c_can_of_table);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册