uart1 and uart5 are not used as pinctrl, so the property "pinctrl-names"
can be deleted. In fact, the property "pinctrl-names" depends on the
property "pinctrl-0". So the errors similar to the following will be
reported by pinctrl-consumer.yaml.

serial@fdf00000: 'pinctrl-0' is a dependency of 'pinctrl-names'

Signed-off-by: Zhen Lei <[email protected]>
---
 arch/arm64/boot/dts/hisilicon/hi3670.dtsi | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi 
b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
index 668977d1acba94c..85b0dfb35d6d396 100644
--- a/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
+++ b/arch/arm64/boot/dts/hisilicon/hi3670.dtsi
@@ -213,7 +213,6 @@
                        clocks = <&crg_ctrl HI3670_CLK_GATE_UART1>,
                                 <&crg_ctrl HI3670_PCLK>;
                        clock-names = "uartclk", "apb_pclk";
-                       pinctrl-names = "default";
                        status = "disabled";
                };
 
@@ -260,7 +259,6 @@
                        clocks = <&crg_ctrl HI3670_CLK_GATE_UART5>,
                                 <&crg_ctrl HI3670_PCLK>;
                        clock-names = "uartclk", "apb_pclk";
-                       pinctrl-names = "default";
                        status = "disabled";
                };
 
-- 
1.8.3


Reply via email to