Microchip AT91 CAN Controller

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

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

Maintainers (maintainers): "Nicolas Ferre <nicolas.ferre@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

Allowed values (enum): "atmel,at91sam9263-can", "atmel,at91sam9x5-can"

Rule 2

Array item rules (items)

Item 1

Allowed values (enum): "microchip,sam9x60-can"

Item 2

Exact value (const): "atmel,at91sam9x5-can"

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): 1

clock-names — required here #

Array item rules (items) #

Item 1

Exact value (const): "can_clk"

Required in this object (required): "compatible", "reg", "interrupts", "clocks", "clock-names"

Properties not evaluated by applicable rules (unevaluatedProperties) #

false

Not allowed by this rule.

Examples (examples) #

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/clock/at91.h>
can@f000c000 {
      compatible = "atmel,at91sam9263-can";
      reg = <0xf000c000 0x300>;
      interrupts = <30 IRQ_TYPE_LEVEL_HIGH 3>;
      clocks = <&pmc PMC_TYPE_PERIPHERAL 12>;
      clock-names = "can_clk";
};

Source notes #

Annotations retained from the schema source

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

Edit this page