1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/net/can/allwinner,sun4i-a10-can.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A10 CAN Controller
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
14 - $ref: can-controller.yaml#
20 - const: allwinner,sun7i-a20-can
21 - const: allwinner,sun4i-a10-can
22 - const: allwinner,sun4i-a10-can
23 - const: allwinner,sun8i-r40-can
24 - const: allwinner,sun20i-d1-can
42 - allwinner,sun8i-r40-can
43 - allwinner,sun20i-d1-can
55 additionalProperties: false
59 #include <dt-bindings/interrupt-controller/arm-gic.h>
60 #include <dt-bindings/clock/sun7i-a20-ccu.h>
63 compatible = "allwinner,sun7i-a20-can",
64 "allwinner,sun4i-a10-can";
65 reg = <0x01c2bc00 0x400>;
66 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
67 clocks = <&ccu CLK_APB1_CAN>;
70 #define RST_BUS_CAN 68
71 #define CLK_BUS_CAN 91
73 compatible = "allwinner,sun8i-r40-can";
74 reg = <0x01c2bc00 0x400>;
75 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
76 clocks = <&ccu CLK_BUS_CAN>;
77 resets = <&ccu RST_BUS_CAN>;