Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83c26850 authored by Damien Riegel's avatar Damien Riegel Committed by Marc Kleine-Budde
Browse files

can: sja1000: add documentation for Technologic Systems version



This commit adds documentation for the Technologic Systems version of
SJA1000. The difference with the NXP version is in the way the registers
are accessed.

Signed-off-by: default avatarDamien Riegel <damien.riegel@savoirfairelinux.com>
Signed-off-by: default avatarMarc Kleine-Budde <mkl@pengutronix.de>
parent f49cbe6b
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -2,7 +2,7 @@ Memory mapped SJA1000 CAN controller from NXP (formerly Philips)


Required properties:
Required properties:


- compatible : should be "nxp,sja1000".
- compatible : should be one of "nxp,sja1000", "technologic,sja1000".


- reg : should specify the chip select, address offset and size required
- reg : should specify the chip select, address offset and size required
	to map the registers of the SJA1000. The size is usually 0x80.
	to map the registers of the SJA1000. The size is usually 0x80.
@@ -14,6 +14,7 @@ Optional properties:


- reg-io-width : Specify the size (in bytes) of the IO accesses that
- reg-io-width : Specify the size (in bytes) of the IO accesses that
	should be performed on the device.  Valid value is 1, 2 or 4.
	should be performed on the device.  Valid value is 1, 2 or 4.
	This property is ignored for technologic version.
	Default to 1 (8 bits).
	Default to 1 (8 bits).


- nxp,external-clock-frequency : Frequency of the external oscillator
- nxp,external-clock-frequency : Frequency of the external oscillator