Skip to content

Commit 0fb24d1

Browse files
masahir0yrobherring
authored andcommitted
dt-bindings: bus: uniphier-system-bus: fix warning in example
Since commit e69f5dc ("dt-bindings: serial: Convert 8250 to json-schema"), the schema for "ns16550a" is checked. 'make dt_binding_check' emits the following warning: uart@5,00200000: $nodename:0: 'uart@5,00200000' does not match '^serial(@[0-9a-f,]+)*$' Rename the node to follow the pattern defined in Documentation/devicetree/bindings/serial/serial.yaml While I was here, I removed leading zeros from unit names. Signed-off-by: Masahiro Yamada <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Rob Herring <[email protected]>
1 parent 3eb619b commit 0fb24d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Documentation/devicetree/bindings/bus/socionext,uniphier-system-bus.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,14 @@ examples:
8080
ranges = <1 0x00000000 0x42000000 0x02000000>,
8181
<5 0x00000000 0x46000000 0x01000000>;
8282
83-
ethernet@1,01f00000 {
83+
ethernet@1,1f00000 {
8484
compatible = "smsc,lan9115";
8585
reg = <1 0x01f00000 0x1000>;
8686
interrupts = <0 48 4>;
8787
phy-mode = "mii";
8888
};
8989
90-
uart@5,00200000 {
90+
serial@5,200000 {
9191
compatible = "ns16550a";
9292
reg = <5 0x00200000 0x20>;
9393
interrupts = <0 49 4>;

0 commit comments

Comments
 (0)