openwrt/target/linux/bcm27xx/patches-6.6/950-1041-ARM-dts-rp1-Add-a-gpio-ranges-property.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

24 lines
741 B
Diff

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 {