1692a0dc7SMaxime Ripard# SPDX-License-Identifier: GPL-2.0 2692a0dc7SMaxime Ripard%YAML 1.2 3692a0dc7SMaxime Ripard--- 4692a0dc7SMaxime Ripard$id: http://devicetree.org/schemas/net/can/allwinner,sun4i-a10-can.yaml# 5692a0dc7SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 6692a0dc7SMaxime Ripard 7692a0dc7SMaxime Ripardtitle: Allwinner A10 CAN Controller Device Tree Bindings 8692a0dc7SMaxime Ripard 9692a0dc7SMaxime Ripardmaintainers: 10692a0dc7SMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 115c7404bbSMaxime Ripard - Maxime Ripard <mripard@kernel.org> 12692a0dc7SMaxime Ripard 13692a0dc7SMaxime Ripardproperties: 14692a0dc7SMaxime Ripard compatible: 15692a0dc7SMaxime Ripard oneOf: 16692a0dc7SMaxime Ripard - items: 17692a0dc7SMaxime Ripard - const: allwinner,sun7i-a20-can 18692a0dc7SMaxime Ripard - const: allwinner,sun4i-a10-can 19692a0dc7SMaxime Ripard - const: allwinner,sun4i-a10-can 20692a0dc7SMaxime Ripard 21692a0dc7SMaxime Ripard reg: 22692a0dc7SMaxime Ripard maxItems: 1 23692a0dc7SMaxime Ripard 24692a0dc7SMaxime Ripard interrupts: 25692a0dc7SMaxime Ripard maxItems: 1 26692a0dc7SMaxime Ripard 27692a0dc7SMaxime Ripard clocks: 28692a0dc7SMaxime Ripard maxItems: 1 29692a0dc7SMaxime Ripard 30692a0dc7SMaxime Ripardrequired: 31692a0dc7SMaxime Ripard - compatible 32692a0dc7SMaxime Ripard - reg 33692a0dc7SMaxime Ripard - interrupts 34692a0dc7SMaxime Ripard - clocks 35692a0dc7SMaxime Ripard 36692a0dc7SMaxime RipardadditionalProperties: false 37692a0dc7SMaxime Ripard 38692a0dc7SMaxime Ripardexamples: 39692a0dc7SMaxime Ripard - | 40692a0dc7SMaxime Ripard #include <dt-bindings/interrupt-controller/arm-gic.h> 41692a0dc7SMaxime Ripard #include <dt-bindings/clock/sun7i-a20-ccu.h> 42692a0dc7SMaxime Ripard 43692a0dc7SMaxime Ripard can0: can@1c2bc00 { 44692a0dc7SMaxime Ripard compatible = "allwinner,sun7i-a20-can", 45692a0dc7SMaxime Ripard "allwinner,sun4i-a10-can"; 46692a0dc7SMaxime Ripard reg = <0x01c2bc00 0x400>; 47692a0dc7SMaxime Ripard interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>; 48692a0dc7SMaxime Ripard clocks = <&ccu CLK_APB1_CAN>; 49692a0dc7SMaxime Ripard }; 50692a0dc7SMaxime Ripard 51692a0dc7SMaxime Ripard... 52