]> git.dujemihanovic.xyz Git - u-boot.git/commit
board: atmel: sama5d2_icp: standby disable on CAN transceivers in SPL
authorEugen Hristev <eugen.hristev@microchip.com>
Fri, 3 May 2019 13:24:21 +0000 (16:24 +0300)
committerEugen Hristev <eugen.hristev@microchip.com>
Wed, 15 May 2019 06:34:22 +0000 (09:34 +0300)
commit2950c514e8fc2c9d6a48cd7187521bc648dc679e
treecc707dd99982e542f2ea64afb89a71f1c0ffffcf
parent57fbd36c668dfe0bff7eb2bca9c0d3d625f84185
board: atmel: sama5d2_icp: standby disable on CAN transceivers in SPL

The 2 CAN transceivers have a STBDY pin which must be low in order to
operate.
This pin is tied to PB25.
Set it to 0 in bootstrap.
At a later time, this needs to be controlled by Linux power management
system, or requested by some driver as a gpio and tied to 0 during
CAN link up.

Signed-off-by: Eugen Hristev <eugen.hristev@microchip.com>
board/atmel/sama5d2_icp/sama5d2_icp.c