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