[U-Boot] [PATCH] pinctrl: bcm283x: Add compatible for RPi4

matthias.bgg at kernel.org matthias.bgg at kernel.org
Wed Nov 6 14:28:25 UTC 2019


From: Matthias Brugger <mbrugger at suse.com>

The Raspberry Pi 4 upstream kernel device tree instroduces
a new compatible for the pinctroller. Add this to the driver
so that we can boot with the upstream kernel DT.

Signed-off-by: Matthias Brugger <mbrugger at suse.com>

---

 drivers/pinctrl/broadcom/pinctrl-bcm283x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pinctrl/broadcom/pinctrl-bcm283x.c b/drivers/pinctrl/broadcom/pinctrl-bcm283x.c
index 3be080d29e..8d9074e0c1 100644
--- a/drivers/pinctrl/broadcom/pinctrl-bcm283x.c
+++ b/drivers/pinctrl/broadcom/pinctrl-bcm283x.c
@@ -99,6 +99,7 @@ static int bcm283x_pinctrl_get_gpio_mux(struct udevice *dev, int banknum,
 
 static const struct udevice_id bcm2835_pinctrl_id[] = {
 	{.compatible = "brcm,bcm2835-gpio"},
+	{.compatible = "brcm,bcm2711-gpio"},
 	{}
 };
 
-- 
2.23.0



More information about the U-Boot mailing list