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