Rockchip CAN-FD controller

Schema identifier ($id): "http://devicetree.org/schemas/net/can/rockchip,rk3568v2-canfd.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Marc Kleine-Budde <mkl@pengutronix.de>"

All of these rules must match (allOf) #

Rule 1 #

Shared schema rule ($ref): can-controller.yaml#

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Exact value (const): "rockchip,rk3568v2-canfd"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "rockchip,rk3568v3-canfd"

Item 2

Exact value (const): "rockchip,rk3568v2-canfd"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Maximum number of items (maxItems): 2

clock-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "baud"

Item 2

Exact value (const): "pclk"

resets — required here #

Maximum number of items (maxItems): 2

reset-names — not listed as required here #

Array item rules (items) #

Item 1

Exact value (const): "core"

Item 2

Exact value (const): "apb"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "resets"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/clock/rk3568-cru.h>
#include <dt-bindings/interrupt-controller/arm-gic.h>
#include <dt-bindings/interrupt-controller/irq.h>

soc {
    #address-cells = <2>;
    #size-cells = <2>;

    can@fe570000 {
        compatible = "rockchip,rk3568v2-canfd";
        reg = <0x0 0xfe570000 0x0 0x1000>;
        interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>;
        clocks = <&cru CLK_CAN0>, <&cru PCLK_CAN0>;
        clock-names = "baud", "pclk";
        resets = <&cru SRST_CAN0>, <&cru SRST_P_CAN0>;
        reset-names = "core", "apb";
    };
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page