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