From 3f27a6e6402ba52032def578f0944287154a490d Mon Sep 17 00:00:00 2001
From: =?utf8?q?Daniel=20Gonz=C3=A1lez=20Cabanelas?= <dgcbueu@gmail.com>
Date: Sat, 20 Jun 2020 17:44:42 +0200
Subject: [PATCH] bcm63xx: AV4202N: add missing PCI pinmux
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

The ADB P.DG AV4202N device has a wifi chipset connected via PCI. But the
PCI pinmux is missing and without it the wifi won't work properly.

Add the pinctrl_pci to enable the missing PCI pins for this device.

Signed-off-by: Daniel González Cabanelas <dgcbueu@gmail.com>
---
 target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts b/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts
index 95f98c187d..8e06985fdd 100644
--- a/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts
+++ b/target/linux/bcm63xx/dts/bcm6368-adb-av4202n.dts
@@ -104,6 +104,11 @@
 	};
 };
 
+&pinctrl {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_pci>;
+};
+
 &uart0 {
 	status = "okay";
 };
-- 
2.30.2