From 54d2578f04dcf1b6fe5c004f37ad6307c3e10ce8 Mon Sep 17 00:00:00 2001 From: Geert Uytterhoeven Date: Fri, 26 Mar 2021 15:21:54 +0100 Subject: [PATCH] tools/litex_json2dts: Fix liteuart node serial@f0001000: 'device_type' does not match any of the regexes: 'pinctrl-[0-9]+' From schema: Documentation/devicetree/bindings/serial/litex,liteuart.yaml Fix this by dropping the offending property. Signed-off-by: Geert Uytterhoeven --- litex/tools/litex_json2dts.py | 1 - 1 file changed, 1 deletion(-) diff --git a/litex/tools/litex_json2dts.py b/litex/tools/litex_json2dts.py index 2e0769296..79e51a6f3 100755 --- a/litex/tools/litex_json2dts.py +++ b/litex/tools/litex_json2dts.py @@ -183,7 +183,6 @@ def generate_dts(d, initrd_start=None, initrd_size=None, polling=False): aliases["serial0"] = "liteuart0" dts += """ liteuart0: serial@{uart_csr_base:x} {{ - device_type = "serial"; compatible = "litex,liteuart"; reg = <0x{uart_csr_base:x} 0x100>; {uart_interrupt}