]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: mvebu: dts: m801: correct CP1 pinctrl
authorRobert Marko <robert.marko@sartura.hr>
Mon, 4 Oct 2021 13:12:53 +0000 (15:12 +0200)
committerStefan Roese <sr@denx.de>
Fri, 8 Oct 2021 06:37:55 +0000 (08:37 +0200)
commitcfb7102d8d901e9bdc7a6c109b341de7ae84256d
treed11a383a303dfbb161dd180341ac8a1e18e630c3
parentcf47a8cf8f7e53018bff9952183b7cbf45b07c30
arm: mvebu: dts: m801: correct CP1 pinctrl

Current CP1 pinctrl that is set on the Puzzle M801 is incorrect.
CP1 pins are only used for the SMI bus and the MSS I2C, all other
pins are just GPIO-s.

Due to this being set completely wrong, the pinctrl was actually
ended up being hardcoded in the board_early_init_f() step so that
SMI would work.

That is obviously not the right thing to do, so convert the register
hex values that were being written to individual pin modes and set it
in the DTS.
Add the SMI pins to the CP1 MDIO node as otherwise CP1 pinctrl does
not get probed without an consumer.

Fixes: 2ae2b8a2 ("arm: mvebu: Initial iEi Puzzle-M801 support")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-8040-puzzle-m801.dts