1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 3 --- 4 $id: http://devicetree.org/schemas/net/can/rockchip,rk3568v2-canfd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 7 title: 8 Rockchip CAN-FD controller 9 10 maintainers: 11 - Marc Kleine-Budde <mkl@pengutronix.de> 12 13 allOf: 14 - $ref: can-controller.yaml# 15 16 properties: 17 compatible: 18 oneOf: 19 - const: rockchip,rk3568v2-canfd 20 - items: 21 - const: rockchip,rk3568v3-canfd 22 - const: rockchip,rk3568v2-canfd 23 24 reg: 25 maxItems: 1 26 27 interrupts: 28 maxItems: 1 29 30 clocks: 31 maxItems: 2 32 33 clock-names: 34 items: 35 - const: baud 36 - const: pclk 37 38 resets: 39 maxItems: 2 40 41 reset-names: 42 items: 43 - const: core 44 - const: apb 45 46 required: 47 - compatible 48 - reg 49 - interrupts 50 - clocks 51 - resets 52 53 additionalProperties: false 54 55 examples: 56 - | 57 #include <dt-bindings/clock/rk3568-cru.h> 58 #include <dt-bindings/interrupt-controller/arm-gic.h> 59 #include <dt-bindings/interrupt-controller/irq.h> 60 61 soc { 62 #address-cells = <2>; 63 #size-cells = <2>; 64 65 can@fe570000 { 66 compatible = "rockchip,rk3568v2-canfd"; 67 reg = <0x0 0xfe570000 0x0 0x1000>; 68 interrupts = <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>; 69 clocks = <&cru CLK_CAN0>, <&cru PCLK_CAN0>; 70 clock-names = "baud", "pclk"; 71 resets = <&cru SRST_CAN0>, <&cru SRST_P_CAN0>; 72 reset-names = "core", "apb"; 73 }; 74 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.