diff mbox series

[RESEND] arm64: dts: clearfog-gt-8k: enable mini-PCIe CON2 USB

Message ID 0336903e29be69d70a4dfc3b243d7134fba67ade.1539925074.git.baruch@tkos.co.il (mailing list archive)
State New, archived
Headers show
Series [RESEND] arm64: dts: clearfog-gt-8k: enable mini-PCIe CON2 USB | expand

Commit Message

Baruch Siach Oct. 19, 2018, 4:57 a.m. UTC
Deassert the reset and wireless disable signals on the CON2 mini-PCIe
socket. That allows the host to detect USB devices on the mini-PCIe
socket.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---

Resend: forgot to Cc the ARM kernel list on previous submission. Sorry
for the duplicate.
---
 .../boot/dts/marvell/armada-8040-clearfog-gt-8k.dts  | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Gregory CLEMENT Nov. 30, 2018, 5:46 p.m. UTC | #1
Hi Baruch,
 
 On ven., oct. 19 2018, Baruch Siach <baruch@tkos.co.il> wrote:

> Deassert the reset and wireless disable signals on the CON2 mini-PCIe
> socket. That allows the host to detect USB devices on the mini-PCIe
> socket.
>

Applied on mvebu/dt64

Thanks,

Gregory

> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
>
> Resend: forgot to Cc the ARM kernel list on previous submission. Sorry
> for the duplicate.
> ---
>  .../boot/dts/marvell/armada-8040-clearfog-gt-8k.dts  | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
> index 73df0ef5e0c4..c2e53b4edb0c 100644
> --- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
> +++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
> @@ -246,6 +246,18 @@
>  		gpios = <1 GPIO_ACTIVE_HIGH>;
>  		output-high;
>  	};
> +
> +	lte_reset {
> +		gpio-hog;
> +		gpios = <2 GPIO_ACTIVE_LOW>;
> +		output-low;
> +	};
> +
> +	lte_disable {
> +		gpio-hog;
> +		gpios = <21 GPIO_ACTIVE_LOW>;
> +		output-low;
> +	};
>  };
>  
>  &cp0_ethernet {
> -- 
> 2.19.1
>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
index 73df0ef5e0c4..c2e53b4edb0c 100644
--- a/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
+++ b/arch/arm64/boot/dts/marvell/armada-8040-clearfog-gt-8k.dts
@@ -246,6 +246,18 @@ 
 		gpios = <1 GPIO_ACTIVE_HIGH>;
 		output-high;
 	};
+
+	lte_reset {
+		gpio-hog;
+		gpios = <2 GPIO_ACTIVE_LOW>;
+		output-low;
+	};
+
+	lte_disable {
+		gpio-hog;
+		gpios = <21 GPIO_ACTIVE_LOW>;
+		output-low;
+	};
 };
 
 &cp0_ethernet {