[PATCH 1/3] dt-bindings: net: can: add Amlogic A9 CAN controller
From: zelong dong
Date: Fri Nov 20 2026 - 03:08:50 EST
From: Zelong Dong <zelong.dong@xxxxxxxxxxx>
Add device tree bindings for the CAN-FD controller found on the
Amlogic A9 SoC family.
Signed-off-by: Zelong Dong <zelong.dong@xxxxxxxxxxx>
---
.../bindings/net/can/amlogic,a9-can.yaml | 65 +++++++++++++++++++
1 file changed, 65 insertions(+)
create mode 100644 Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
diff --git a/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml b/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
new file mode 100644
index 000000000000..dd4ad6147f2e
--- /dev/null
+++ b/Documentation/devicetree/bindings/net/can/amlogic,a9-can.yaml
@@ -0,0 +1,65 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+# # Copyright (C) 2026 Amlogic, Inc. All rights reserved
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/net/can/amlogic,a9-can.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Amlogic A9 SoC CANBus Controller
+
+maintainers:
+ - Zelong Dong <zelong.dong@xxxxxxxxxxx>
+
+properties:
+ compatible:
+ const: amlogic,a9-can
+
+ reg:
+ maxItems: 1
+
+ interrupts:
+ maxItems: 1
+
+ clocks:
+ items:
+ - description: CAN protocol engine clock
+ - description: CAN filter clock
+
+ clock-names:
+ items:
+ - const: can_pe
+ - const: can_filter
+
+ power-domains:
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - interrupts
+ - clocks
+ - clock-names
+
+allOf:
+ - $ref: can-controller.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
+ bus {
+ #address-cells = <2>;
+ #size-cells = <2>;
+
+ can@3a8000 {
+ compatible = "amlogic,a9-can";
+ reg = <0x0 0x3a8000 0x0 0x383c>;
+ interrupts = <GIC_SPI 82 IRQ_TYPE_EDGE_RISING>;
+ clocks = <&clkc_periphs 0>,
+ <&clkc_periphs 1>;
+ clock-names = "can_pe", "can_filter";
+ power-domains = <&pwrc 2>;
+ };
+ };
--
2.47.1