~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/Documentation/devicetree/bindings/net/can/bosch,c_can.yaml

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  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/bosch,c_can.yaml#
  5 $schema: http://devicetree.org/meta-schemas/core.yaml#
  6 
  7 title: Bosch C_CAN/D_CAN controller
  8 
  9 description: Bosch C_CAN/D_CAN controller for CAN bus
 10 
 11 maintainers:
 12   - Dario Binacchi <dariobin@libero.it>
 13 
 14 allOf:
 15   - $ref: can-controller.yaml#
 16 
 17 properties:
 18   compatible:
 19     oneOf:
 20       - enum:
 21           - bosch,c_can
 22           - bosch,d_can
 23           - ti,dra7-d_can
 24           - ti,am3352-d_can
 25       - items:
 26           - enum:
 27               - ti,am4372-d_can
 28           - const: ti,am3352-d_can
 29 
 30   reg:
 31     maxItems: 1
 32 
 33   interrupts:
 34     minItems: 1
 35     maxItems: 4
 36 
 37   power-domains:
 38     description: |
 39       Should contain a phandle to a PM domain provider node and an args
 40       specifier containing the DCAN device id value. It's mandatory for
 41       Keystone 2 66AK2G SoCs only.
 42     maxItems: 1
 43 
 44   clocks:
 45     description: |
 46       CAN functional clock phandle.
 47     maxItems: 1
 48 
 49   clock-names:
 50     maxItems: 1
 51 
 52   syscon-raminit:
 53     description: |
 54       Handle to system control region that contains the RAMINIT register,
 55       register offset to the RAMINIT register and the CAN instance number (0
 56       offset).
 57     $ref: /schemas/types.yaml#/definitions/phandle-array
 58     items:
 59       - items:
 60           - description: The phandle to the system control region.
 61           - description: The register offset.
 62           - description: The CAN instance number.
 63 
 64   resets:
 65     maxItems: 1
 66 
 67 required:
 68   - compatible
 69   - reg
 70   - interrupts
 71   - clocks
 72 
 73 if:
 74   properties:
 75     compatible:
 76       contains:
 77         enum:
 78           - bosch,d_can
 79 
 80 then:
 81   properties:
 82     interrupts:
 83       items:
 84         - description: Error and status IRQ
 85         - description: Message object IRQ
 86         - description: RAM ECC correctable error IRQ
 87         - description: RAM ECC non-correctable error IRQ
 88 
 89 else:
 90   properties:
 91     interrupts:
 92       items:
 93         - description: Error and status IRQ
 94 
 95 additionalProperties: false
 96 
 97 examples:
 98   - |
 99     #include <dt-bindings/reset/altr,rst-mgr.h>
100 
101     can@ffc00000 {
102        compatible = "bosch,d_can";
103        reg = <0xffc00000 0x1000>;
104        interrupts = <0 131 4>, <0 132 4>, <0 133 4>, <0 134 4>;
105        clocks = <&can0_clk>;
106        resets = <&rst CAN0_RESET>;
107     };
108   - |
109     can@0 {
110         compatible = "ti,am3352-d_can";
111         reg = <0x0 0x2000>;
112         clocks = <&dcan1_fck>;
113         clock-names = "fck";
114         syscon-raminit = <&scm_conf 0x644 1>;
115         interrupts = <55>;
116     };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php