summaryrefslogtreecommitdiffstats
path: root/target/linux/bcm27xx/patches-6.6/950-1041-ARM-dts-rp1-Add-a-gpio-ranges-property.patch
blob: 7ec6377a545031bd990f6ce8d5bacbdda0078cfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 {