]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3399-puma: set gpio4cd iodomain to 1.8V
authorJakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Fri, 15 Dec 2017 15:23:14 +0000 (16:23 +0100)
committerPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 17 Dec 2017 15:59:41 +0000 (16:59 +0100)
commitaa41220f6f7c79284ce5880e2533f81c125237a4
treea7466070bbd17000125e5c003be18955fb09a396
parentc5a4141343e601bac2789c137e8be665c074f898
rockchip: rk3399-puma: set gpio4cd iodomain to 1.8V

The PCIe reset signal is connected to GPIO4_C6 on the Puma
module. This pin is supplied by 1.8V, but the default iodomain
setting is 3.0V and in this situation the pin is unable to go
high.

Linux assumes that this signal works in early boot
as PCIe is probed before loading the iodomain driver.

Make PCIe work in Linux by setting the gpio4cd iodomain to 1.8V.

Signed-off-by: Jakob Unterwurzacher <jakob.unterwurzacher@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
board/theobroma-systems/puma_rk3399/puma-rk3399.c