1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/can/nxp,sja1000.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Memory mapped SJA1000 CAN controller from NXP (formerly Philips)
10 - Wolfgang Grandegger <wg@grandegger.com>
20 - renesas,r9a06g032-sja1000 # RZ/N1D
21 - renesas,r9a06g033-sja1000 # RZ/N1S
22 - const: renesas,rzn1-sja1000 # RZ/N1
37 description: I/O register width (in bytes) implemented by this device
41 nxp,external-clock-frequency:
42 $ref: /schemas/types.yaml#/definitions/uint32
45 Frequency of the external oscillator clock in Hz.
46 The internal clock frequency used by the SJA1000 is half of that value.
49 $ref: /schemas/types.yaml#/definitions/uint32
53 operation mode of the TX output control logic. Valid values are:
54 <0> : bi-phase output mode
55 <1> : normal output mode (default)
56 <2> : test output mode
57 <3> : clock output mode
60 $ref: /schemas/types.yaml#/definitions/uint32
63 TX output pin configuration. Valid values are any one of the below
64 or combination of TX0 and TX1:
66 <0x02> : TX0 pull-down (default)
68 <0x06> : TX0 push-pull
70 <0x10> : TX1 pull-down
72 <0x30> : TX1 push-pull
74 nxp,clock-out-frequency:
75 $ref: /schemas/types.yaml#/definitions/uint32
77 clock frequency in Hz on the CLKOUT pin.
78 If not specified or if the specified value is 0, the CLKOUT pin
81 nxp,no-comparator-bypass:
83 description: Allows to disable the CAN input comparator.
91 - $ref: can-controller.yaml#
98 - renesas,rzn1-sja1000
106 const: renesas,rzn1-sja1000
112 unevaluatedProperties: false
117 compatible = "technologic,sja1000";
118 reg = <0x1a000 0x100>;
121 nxp,tx-output-config = <0x06>;
122 nxp,external-clock-frequency = <24000000>;
126 #include <dt-bindings/interrupt-controller/arm-gic.h>
127 #include <dt-bindings/clock/r9a06g032-sysctrl.h>
130 compatible = "renesas,r9a06g032-sja1000", "renesas,rzn1-sja1000";
131 reg = <0x52104000 0x800>;
133 interrupts = <GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>;
134 clocks = <&sysctrl R9A06G032_HCLK_CAN0>;
135 power-domains = <&sysctrl>;