ARM: dts: imx6: Fix PCIe reset GPIO polarity on Toradex Apalis Ixora

Adding reset-gpio-active-high boolean DT binding property, which we need to
make PCIe working on Apalis SoMs and not break old DTBs. While at it, I've
fixed comment and GPIO polarity.

On Apalis SoMs the GPIO1_IO28 used to PCIe reset is not connected directly
to PERST# PCIe signal, but it's ORed with RESETBMCU coming off the PMIC,
and thus is inverted, active-high.

Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
Petr Štetiar 2016-04-01 14:41:47 +02:00 коммит произвёл Bjorn Helgaas
Родитель e3c06cd063
Коммит 4f6926e9fd
1 изменённых файлов: 3 добавлений и 2 удалений

Просмотреть файл

@ -174,8 +174,9 @@
};
&pcie {
/* active-low meaning opposite of regular PERST# active-low polarity */
reset-gpio = <&gpio1 28 GPIO_ACTIVE_LOW>;
/* active-high meaning opposite of regular PERST# active-low polarity */
reset-gpio = <&gpio1 28 GPIO_ACTIVE_HIGH>;
reset-gpio-active-high;
status = "okay";
};