[PATCH 3/4] ARM: dts: uniphier: rename support card serial node to fix schema warning

Masahiro Yamada yamada.masahiro at socionext.com
Tue Jun 23 07:46:13 EDT 2020


Since commit e69f5dc623f9 ("dt-bindings: serial: Convert 8250 to
json-schema"), the schema for "ns16550a" is checked.

'make ARCH=arm dtbs_check' emits the following warning:

  uart at b0000: $nodename:0: 'uart at b0000' does not match '^serial(@[0-9a-f,]+)*$'

Rename the node to follow the pattern defined in
Documentation/devicetree/bindings/serial/serial.yaml

Signed-off-by: Masahiro Yamada <yamada.masahiro at socionext.com>
---

 arch/arm/boot/dts/uniphier-support-card.dtsi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/uniphier-support-card.dtsi b/arch/arm/boot/dts/uniphier-support-card.dtsi
index bf441c2eff79..11e46e7de7c5 100644
--- a/arch/arm/boot/dts/uniphier-support-card.dtsi
+++ b/arch/arm/boot/dts/uniphier-support-card.dtsi
@@ -23,7 +23,7 @@ ethsc: ethernet at 0 {
 			reg-io-width = <4>;
 		};
 
-		serialsc: uart at b0000 {
+		serialsc: serial at b0000 {
 			compatible = "ns16550a";
 			reg = <0x000b0000 0x20>;
 			clock-frequency = <12288000>;
-- 
2.25.1




More information about the linux-arm-kernel mailing list