]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: rockchip: rk3188-u-boot: add gpio-ranges
authorJohan Jonker <jbx6244@gmail.com>
Sun, 19 Mar 2023 15:05:43 +0000 (16:05 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 21 Apr 2023 07:16:01 +0000 (15:16 +0800)
The gpio node names are made generic, but without
gpio bank ID. Add gpio-ranges to rk3188-u-boot.dtsi
for now till a better method is found.

Signed-off-by: Johan Jonker <jbx6244@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rk3188-u-boot.dtsi

index 735776c16b8bf81caea68c157a1a3f0b559e8081..176f9e65c267aef2672011042e4304fcced0a143 100644 (file)
 
 &gpio0 {
        compatible = "rockchip,gpio-bank";
+       gpio-ranges = <&pinctrl 0 0 32>;
+};
+
+&gpio1 {
+       gpio-ranges = <&pinctrl 0 32 32>;
+};
+
+&gpio2 {
+       gpio-ranges = <&pinctrl 0 64 32>;
+};
+
+&gpio3 {
+       gpio-ranges = <&pinctrl 0 96 32>;
 };
 
 &pmu {