]> git.baikalelectronics.ru Git - uboot.git/commit
arm: dts: armada8040: Fix CP0 eMMC/SDIO support
authorRobert Marko <robert.marko@sartura.hr>
Mon, 27 Sep 2021 21:03:26 +0000 (23:03 +0200)
committerStefan Roese <sr@denx.de>
Wed, 29 Sep 2021 05:13:27 +0000 (07:13 +0200)
commit15090e9e563efafa4d010982a5720b5aa45db498
tree9aa5d87f5658b5bd421d593a46b1bfe9e4c36d56
parentcab7eac78715572d5a6981b3b57bab8c9bceea59
arm: dts: armada8040: Fix CP0 eMMC/SDIO support

During the migration to a single DTSI for the CP110-s specific pinctrl
compatibles were moved to the SoC DTSI as CP0 and CP1 have some specifics.
Namely, CP0 eMMC/SDIO support depends on the mvebu-pinctrl driver setting
the BIT(0) in eMMC PHY IO Control 0 Register to 0 in order for the connect
the eMMC/SDIO PHY to the controller and not use it as a MPP pin multiplexor.

So, the mvebu-pinctrl driver check specifically for the
"marvell,armada-8k-cpm-pinctrl" compatible to clear the that bit.

Issue is that compatibles in the 8040 DTSI were set to "marvell,8k-cpm-pinctrl"
for CP0 and "marvell,8k-cps-pinctrl" for the CP1.
This is obviously incorrect as the pinctrl driver does not know about these.

So fix the regression by applying correct compatibles to the DTSI.
Regression found and tested on the Puzzle M801 board.

Fixes: fe9f65f8 ("arm: armada: dts: Use a single dtsi for cp110 die description")
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/dts/armada-8040.dtsi