Microchip PolarFire SoC (MPFS) can controller

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

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

Maintainers (maintainers): "Conor Dooley <conor.dooley@microchip.com>"

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

Array item rules (items)

Item 1

Exact value (const): "microchip,pic64gx-can"

Item 2

Exact value (const): "microchip,mpfs-can"

Rule 2

Exact value (const): "microchip,mpfs-can"

reg — required here #

Maximum number of items (maxItems): 1

interrupts — required here #

Maximum number of items (maxItems): 1

clocks — required here #

Array item rules (items) #

Item 1

AHB peripheral clock

Item 2

CAN bus clock

resets — required here #

Maximum number of items (maxItems): 1

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) #

can@2010c000 {
    compatible = "microchip,mpfs-can";
    reg = <0x2010c000 0x1000>;
    clocks = <&clkcfg 17>, <&clkcfg 37>;
    resets = <&clkcfg 17>;
    interrupt-parent = <&plic>;
    interrupts = <56>;
};

Source notes #

Annotations retained from the schema source

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

Edit this page