mirror of
https://github.com/torvalds/linux.git
synced 2026-09-25 21:21:09 -04:00
dt-bindings: net: can: Add support for Allwinner D1 CAN controller
The Allwinner D1 has two CAN controllers, both a variant of the R40 controller. Unfortunately the registers for the D1 controllers are moved around enough to be incompatible and require a new compatible. Introduce the "allwinner,sun20i-d1-can" compatible to support this. Signed-off-by: John Watts <[email protected]> Acked-by: Krzysztof Kozlowski <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
This commit is contained in:
committed by
Marc Kleine-Budde
parent
74dedbd74d
commit
8c07fb0d64
@@ -21,6 +21,7 @@ properties:
|
||||
- const: allwinner,sun4i-a10-can
|
||||
- const: allwinner,sun4i-a10-can
|
||||
- const: allwinner,sun8i-r40-can
|
||||
- const: allwinner,sun20i-d1-can
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
@@ -37,8 +38,9 @@ properties:
|
||||
if:
|
||||
properties:
|
||||
compatible:
|
||||
contains:
|
||||
const: allwinner,sun8i-r40-can
|
||||
enum:
|
||||
- allwinner,sun8i-r40-can
|
||||
- allwinner,sun20i-d1-can
|
||||
|
||||
then:
|
||||
required:
|
||||
|
||||
Reference in New Issue
Block a user