diff options
Diffstat (limited to 'sys/contrib/device-tree/Bindings/net/can/bosch,m_can.yaml')
| -rw-r--r-- | sys/contrib/device-tree/Bindings/net/can/bosch,m_can.yaml | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/sys/contrib/device-tree/Bindings/net/can/bosch,m_can.yaml b/sys/contrib/device-tree/Bindings/net/can/bosch,m_can.yaml index 67879aab623b..c4887522e8fe 100644 --- a/sys/contrib/device-tree/Bindings/net/can/bosch,m_can.yaml +++ b/sys/contrib/device-tree/Bindings/net/can/bosch,m_can.yaml @@ -118,20 +118,23 @@ properties: phys: maxItems: 1 + access-controllers: + minItems: 1 + maxItems: 2 + required: - compatible - reg - reg-names - - interrupts - - interrupt-names - clocks - clock-names - bosch,mram-cfg -additionalProperties: false +unevaluatedProperties: false examples: - | + // Example with interrupts #include <dt-bindings/clock/imx6sx-clock.h> can@20e8000 { compatible = "bosch,m_can"; @@ -149,4 +152,21 @@ examples: }; }; + - | + // Example with timer polling + #include <dt-bindings/clock/imx6sx-clock.h> + can@20e8000 { + compatible = "bosch,m_can"; + reg = <0x020e8000 0x4000>, <0x02298000 0x4000>; + reg-names = "m_can", "message_ram"; + clocks = <&clks IMX6SX_CLK_CANFD>, + <&clks IMX6SX_CLK_CANFD>; + clock-names = "hclk", "cclk"; + bosch,mram-cfg = <0x0 0 0 32 0 0 0 1>; + + can-transceiver { + max-bitrate = <5000000>; + }; + }; + ... |
