xref: /linux/Documentation/devicetree/bindings/net/can/cc770.txt (revision e285e44d91fe5a89e0d9fe4f5dda4f9e8c8a3c7e)
1*e285e44dSWolfgang GrandeggerMemory mapped Bosch CC770 and Intel AN82527 CAN controller
2*e285e44dSWolfgang Grandegger
3*e285e44dSWolfgang GrandeggerNote: The CC770 is a CAN controller from Bosch, which is 100%
4*e285e44dSWolfgang Grandeggercompatible with the old AN82527 from Intel, but with "bugs" being fixed.
5*e285e44dSWolfgang Grandegger
6*e285e44dSWolfgang GrandeggerRequired properties:
7*e285e44dSWolfgang Grandegger
8*e285e44dSWolfgang Grandegger- compatible : should be "bosch,cc770" for the CC770 and "intc,82527"
9*e285e44dSWolfgang Grandegger	for the AN82527.
10*e285e44dSWolfgang Grandegger
11*e285e44dSWolfgang Grandegger- reg : should specify the chip select, address offset and size required
12*e285e44dSWolfgang Grandegger	to map the registers of the controller. The size is usually 0x80.
13*e285e44dSWolfgang Grandegger
14*e285e44dSWolfgang Grandegger- interrupts : property with a value describing the interrupt source
15*e285e44dSWolfgang Grandegger	(number and sensitivity) required for the controller.
16*e285e44dSWolfgang Grandegger
17*e285e44dSWolfgang GrandeggerOptional properties:
18*e285e44dSWolfgang Grandegger
19*e285e44dSWolfgang Grandegger- bosch,external-clock-frequency : frequency of the external oscillator
20*e285e44dSWolfgang Grandegger	clock in Hz. Note that the internal clock frequency used by the
21*e285e44dSWolfgang Grandegger	controller is half of that value. If not specified, a default
22*e285e44dSWolfgang Grandegger	value of 16000000 (16 MHz) is used.
23*e285e44dSWolfgang Grandegger
24*e285e44dSWolfgang Grandegger- bosch,clock-out-frequency : slock frequency in Hz on the CLKOUT pin.
25*e285e44dSWolfgang Grandegger	If not specified or if the specified value is 0, the CLKOUT pin
26*e285e44dSWolfgang Grandegger	will be disabled.
27*e285e44dSWolfgang Grandegger
28*e285e44dSWolfgang Grandegger- bosch,slew-rate : slew rate of the CLKOUT signal. If not specified,
29*e285e44dSWolfgang Grandegger	a resonable value will be calculated.
30*e285e44dSWolfgang Grandegger
31*e285e44dSWolfgang Grandegger- bosch,disconnect-rx0-input : see data sheet.
32*e285e44dSWolfgang Grandegger
33*e285e44dSWolfgang Grandegger- bosch,disconnect-rx1-input : see data sheet.
34*e285e44dSWolfgang Grandegger
35*e285e44dSWolfgang Grandegger- bosch,disconnect-tx1-output : see data sheet.
36*e285e44dSWolfgang Grandegger
37*e285e44dSWolfgang Grandegger- bosch,polarity-dominant : see data sheet.
38*e285e44dSWolfgang Grandegger
39*e285e44dSWolfgang Grandegger- bosch,divide-memory-clock : see data sheet.
40*e285e44dSWolfgang Grandegger
41*e285e44dSWolfgang Grandegger- bosch,iso-low-speed-mux : see data sheet.
42*e285e44dSWolfgang Grandegger
43*e285e44dSWolfgang GrandeggerFor further information, please have a look to the CC770 or AN82527.
44*e285e44dSWolfgang Grandegger
45*e285e44dSWolfgang GrandeggerExamples:
46*e285e44dSWolfgang Grandegger
47*e285e44dSWolfgang Grandeggercan@3,100 {
48*e285e44dSWolfgang Grandegger	compatible = "bosch,cc770";
49*e285e44dSWolfgang Grandegger	reg = <3 0x100 0x80>;
50*e285e44dSWolfgang Grandegger	interrupts = <2 0>;
51*e285e44dSWolfgang Grandegger	interrupt-parent = <&mpic>;
52*e285e44dSWolfgang Grandegger	bosch,external-clock-frequency = <16000000>;
53*e285e44dSWolfgang Grandegger};
54