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