arm64: dts: clearfog-gt-8k: add wlan_disable signal hog

There is currently no DT binding for GPIO rfkill signals. To make
mini-PCIe attached WiFi devices work, use gpio-hog to hold the
wlan_disable signal de-asserted.

Signed-off-by: Thomas Schreiber <tschreibe@gmail.com>
[baruch: add pinctrl node; rename tag]
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
This commit is contained in:
Thomas Schreiber 2019-02-26 08:46:11 +02:00 коммит произвёл Gregory CLEMENT
Родитель 9e98c678c2
Коммит e97bb6d478
1 изменённых файлов: 12 добавлений и 1 удалений

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

@ -226,6 +226,11 @@
marvell,function = "gpio"; marvell,function = "gpio";
}; };
cp0_wlan_disable_pins: wlan-disable-pins {
marvell,pins = "mpp51";
marvell,function = "gpio";
};
cp0_sdhci_pins: sdhci-pins { cp0_sdhci_pins: sdhci-pins {
marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59", marvell,pins = "mpp55", "mpp56", "mpp57", "mpp58", "mpp59",
"mpp60", "mpp61"; "mpp60", "mpp61";
@ -235,7 +240,7 @@
&cp0_pcie0 { &cp0_pcie0 {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&cp0_pci0_reset_pins>; pinctrl-0 = <&cp0_pci0_reset_pins &cp0_wlan_disable_pins>;
reset-gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>; reset-gpios = <&cp0_gpio2 0 GPIO_ACTIVE_LOW>;
status = "okay"; status = "okay";
}; };
@ -253,6 +258,12 @@
output-low; output-low;
}; };
wlan_disable {
gpio-hog;
gpios = <19 GPIO_ACTIVE_LOW>;
output-low;
};
lte_disable { lte_disable {
gpio-hog; gpio-hog;
gpios = <21 GPIO_ACTIVE_LOW>; gpios = <21 GPIO_ACTIVE_LOW>;