arm64: dts: bitmain: Modify pin controller memory map
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Thu, 16 May 2019 10:42:43 +0000 (16:12 +0530)
committerManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Sat, 3 Aug 2019 12:21:21 +0000 (17:51 +0530)
Earlier, the PWM registers were included as part of the pinctrl memory
map, but this turned to be useless as the muxing is being handled by the
SoC pin controller itself. Hence, this commit removes the pwm register
mapping from the pinctrl node to make it more clean.

Fixes: af2ff87de413 ("arm64: dts: bitmain: Add pinctrl support for BM1880 SoC")
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm64/boot/dts/bitmain/bm1880.dtsi

index cfa59a30bad48bed5c4d0fb201741d5cad3244e3..d65453f99a993a1d4ad7a5132798b1a109663b34 100644 (file)
@@ -89,9 +89,9 @@
                        #size-cells = <1>;
                        ranges = <0x0 0x0 0x50010000 0x1000>;
 
-                       pinctrl: pinctrl@50 {
+                       pinctrl: pinctrl@400 {
                                compatible = "bitmain,bm1880-pinctrl";
-                               reg = <0x50 0x4B0>;
+                               reg = <0x400 0x120>;
                        };
 
                        rst: reset-controller@c00 {