ARM: dts: imx: dh-imx6: Fix SPI CS polarity on DHCOM iMX6 PDK2
authorMarek Vasut <marex@denx.de>
Fri, 17 May 2019 14:58:48 +0000 (16:58 +0200)
committerStefano Babic <sbabic@denx.de>
Tue, 11 Jun 2019 08:42:48 +0000 (10:42 +0200)
The SPI nCS signal is active low, make it so.

Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Cc: Ludwig Zenz <lzenz@dh-electronics.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/dts/imx6q-dhcom-som.dtsi

index 387801dde02e22be00890b98bc05f88d07aed0f4..524cd287c65e531599744dfaee9d0d02b3d0f312 100644 (file)
@@ -61,7 +61,7 @@
 };
 
 &ecspi1 {
-       cs-gpios = <&gpio2 30 GPIO_ACTIVE_HIGH>, <&gpio4 11 GPIO_ACTIVE_HIGH>;
+       cs-gpios = <&gpio2 30 GPIO_ACTIVE_LOW>, <&gpio4 11 GPIO_ACTIVE_LOW>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_ecspi1>;
        status = "okay";