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