openwrt/target/linux/bcm27xx/patches-6.6/950-1041-ARM-dts-rp1-Add-a-gpio-ranges-property.patch

24 lines
741 B
Diff
Raw Normal View History

From f07cc57a24f33a669fca9f70c32d4a3ce01352e9 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Fri, 8 Mar 2024 14:50:54 +0000
Subject: [PATCH 1041/1085] ARM: dts: rp1: Add a gpio-ranges property
gpio-ranges declares a relationship between pinctrl and GPIO
controllers. It is required for "strict" mode to work.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/broadcom/rp1.dtsi | 1 +
1 file changed, 1 insertion(+)
--- a/arch/arm/boot/dts/broadcom/rp1.dtsi
+++ b/arch/arm/boot/dts/broadcom/rp1.dtsi
@@ -465,6 +465,7 @@
#gpio-cells = <2>;
interrupt-controller;
#interrupt-cells = <2>;
+ gpio-ranges = <&rp1_gpio 0 0 54>;
rp1_uart0_14_15: rp1_uart0_14_15 {
pin_txd {