Skip to content

Commit 6f5ab8f

Browse files
inindevmmind
authored andcommitted
arm64: dts: rockchip: Add pinctrl gpio-ranges for rk356x
Add gpio-range properties to the pinctrl gpio nodes in rk356x.dtsi Signed-off-by: John Clark <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Heiko Stuebner <[email protected]>
1 parent 5e60ec0 commit 6f5ab8f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

arch/arm64/boot/dts/rockchip/rk356x.dtsi

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1808,6 +1808,7 @@
18081808
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
18091809
clocks = <&pmucru PCLK_GPIO0>, <&pmucru DBCLK_GPIO0>;
18101810
gpio-controller;
1811+
gpio-ranges = <&pinctrl 0 0 32>;
18111812
#gpio-cells = <2>;
18121813
interrupt-controller;
18131814
#interrupt-cells = <2>;
@@ -1819,6 +1820,7 @@
18191820
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
18201821
clocks = <&cru PCLK_GPIO1>, <&cru DBCLK_GPIO1>;
18211822
gpio-controller;
1823+
gpio-ranges = <&pinctrl 0 32 32>;
18221824
#gpio-cells = <2>;
18231825
interrupt-controller;
18241826
#interrupt-cells = <2>;
@@ -1830,6 +1832,7 @@
18301832
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
18311833
clocks = <&cru PCLK_GPIO2>, <&cru DBCLK_GPIO2>;
18321834
gpio-controller;
1835+
gpio-ranges = <&pinctrl 0 64 32>;
18331836
#gpio-cells = <2>;
18341837
interrupt-controller;
18351838
#interrupt-cells = <2>;
@@ -1841,6 +1844,7 @@
18411844
interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>;
18421845
clocks = <&cru PCLK_GPIO3>, <&cru DBCLK_GPIO3>;
18431846
gpio-controller;
1847+
gpio-ranges = <&pinctrl 0 96 32>;
18441848
#gpio-cells = <2>;
18451849
interrupt-controller;
18461850
#interrupt-cells = <2>;
@@ -1852,6 +1856,7 @@
18521856
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
18531857
clocks = <&cru PCLK_GPIO4>, <&cru DBCLK_GPIO4>;
18541858
gpio-controller;
1859+
gpio-ranges = <&pinctrl 0 128 32>;
18551860
#gpio-cells = <2>;
18561861
interrupt-controller;
18571862
#interrupt-cells = <2>;

0 commit comments

Comments
 (0)