From patchwork Mon Mar 6 19:42:21 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 659464 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56242C61DA4 for ; Mon, 6 Mar 2023 19:42:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229929AbjCFTmq (ORCPT ); Mon, 6 Mar 2023 14:42:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229565AbjCFTmp (ORCPT ); Mon, 6 Mar 2023 14:42:45 -0500 Received: from mail-ed1-x529.google.com (mail-ed1-x529.google.com [IPv6:2a00:1450:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CF1742BC5; Mon, 6 Mar 2023 11:42:44 -0800 (PST) Received: by mail-ed1-x529.google.com with SMTP id k10so19468121edk.13; Mon, 06 Mar 2023 11:42:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; t=1678131762; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=FAuGjsD3YjXPSmXRNqq5neuVV5rzxkAVxoe9/cuaDU8=; b=gMg8Ztq7gcsPGSligxplddglJIR4jRc3VmdV6qWwyR7aJXUnu+KbOFa0tyhC9VmLCN /PBoOGB345nuH6q/57SPzmAf25HZ+4lNncybUkDBZcV0rWQpctVOLDp4wPJsDDnFd3ni h+wu9yNwqjKtIewqXoKqRGJ1D+R1JpYXXOYnpS2QOPUzT8AyIN+ZSO0j+3yapFa23frB dLKAokjsldKcjmJR3zl13eMZKD21u6iMA6ELfUx3kpv4BrJRlCwuJjLqEsJ340GvqGBi 6id1CfRUttoVmY4G4Stbe/++WLf0Uo03S/9TSkMEcAfuU4gm4yq3kXTO7y7uKYjxWcWG 8XnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678131762; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=FAuGjsD3YjXPSmXRNqq5neuVV5rzxkAVxoe9/cuaDU8=; b=MTI9UNtVvlPiyPr8+qIGJvp/xgRuUqy4RwHLxZE9F+bZ1/I+OHVU8DBRDoGMyu675a 4GqgHKGtpp7/sSXHIUbSeDi+n/NQm7vsyIL5iOsZyasQa1j5euPG5gwW9WVNPq7tNp/K czavkp3/6GeLr/2AgzdCJmMCWjWlyEguXZCRm4ujceQ9t15uLLBv33/io4CQ+UHMGNjG jDTnfObYMTQPotQYVMxHu/XN759QJIrP+jNH6l6KOgfFifYEOAVgIWxPPmDiUJHp3rtv oIoF46T8QJsSMsWEgPdTYPsg7sb9s0wGzlz+bByBftFN6dWsLAJGc0mnG1WFDX5r5kuJ F2NQ== X-Gm-Message-State: AO0yUKVP6IJ05Nd5cEqdw74o/+vHYYPx/+w2goOqmiGosvdxixBkWpCV jAIxw0DX65q8Ce1vaylKVbU= X-Google-Smtp-Source: AK7set/vI81sU/bEE2xdggFmsoR+9XzbWFDXJj4M4FS2nSfJbOPBifs6jt9xxUd+fzvvBM5h4FCrRw== X-Received: by 2002:aa7:d296:0:b0:4bd:6b93:1286 with SMTP id w22-20020aa7d296000000b004bd6b931286mr12532264edq.25.1678131762493; Mon, 06 Mar 2023 11:42:42 -0800 (PST) Received: from localhost.localdomain (dynamic-2a01-0c23-c405-5c00-0000-0000-0000-0e63.c23.pool.telefonica.de. [2a01:c23:c405:5c00::e63]) by smtp.googlemail.com with ESMTPSA id e19-20020a170906315300b008f2b0c6052csm4951868eje.89.2023.03.06.11.42.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 11:42:42 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jirislaby@kernel.org, neil.armstrong@linaro.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, Christian Hewitt , Martin Blumenstingl Subject: [PATCH v2 1/3] dt-bindings: serial: amlogic,meson-uart: Add compatible string for G12A Date: Mon, 6 Mar 2023 20:42:21 +0100 Message-Id: <20230306194223.1869814-2-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230306194223.1869814-1-martin.blumenstingl@googlemail.com> References: <20230306194223.1869814-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Amlogic G12A SoCs gained a new "divide XTAL by 2" bit. Everything else (we know about) is identical to the UART IP on GX (GXBB/GXL/GXM) SoCs. Add a new compatible string for this SoC so this new bit can be managed accordingly while keeping "amlogic,meson-gx-uart" as fallback compatible string. Signed-off-by: Martin Blumenstingl --- Changes from v1 -> v2: - make meson-gx-uart a valid compatible string for meson-g12a-uart .../bindings/serial/amlogic,meson-uart.yaml | 28 +++++++++++++------ 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml index 3cbdde85ed71..f3af0da8edaf 100644 --- a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml +++ b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml @@ -26,21 +26,31 @@ properties: compatible: oneOf: - description: Always-on power domain UART controller - items: + oneOf: + - items: + - enum: + - amlogic,meson6-uart + - amlogic,meson8-uart + - amlogic,meson8b-uart + - amlogic,meson-gx-uart + - amlogic,meson-s4-uart + - const: amlogic,meson-ao-uart + - items: + - const: amlogic,meson-g12a-uart + - const: amlogic,meson-gx-uart + - const: amlogic,meson-ao-uart + - description: Everything-Else power domain UART controller + oneOf: - enum: - amlogic,meson6-uart - amlogic,meson8-uart - amlogic,meson8b-uart - amlogic,meson-gx-uart + - amlogic,meson-g12a-uart - amlogic,meson-s4-uart - - const: amlogic,meson-ao-uart - - description: Everything-Else power domain UART controller - enum: - - amlogic,meson6-uart - - amlogic,meson8-uart - - amlogic,meson8b-uart - - amlogic,meson-gx-uart - - amlogic,meson-s4-uart + - items: + - const: amlogic,meson-g12a-uart + - const: amlogic,meson-gx-uart reg: maxItems: 1 From patchwork Mon Mar 6 19:42:22 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 660130 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BDE0C6FD1B for ; Mon, 6 Mar 2023 19:42:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229981AbjCFTmr (ORCPT ); Mon, 6 Mar 2023 14:42:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42578 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229834AbjCFTmq (ORCPT ); Mon, 6 Mar 2023 14:42:46 -0500 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C39DB39B8B; Mon, 6 Mar 2023 11:42:44 -0800 (PST) Received: by mail-ed1-x52e.google.com with SMTP id o12so43292468edb.9; Mon, 06 Mar 2023 11:42:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; t=1678131763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Q41eI3CW9uAy7k5oi4qNmPdGdSMRz93rZBadRTLziRk=; b=qVMrDRmQn/iaiP9Wa2lsVvY0Irv1NqrUfRTXCepPG5gW4vXNaGEtS1CxDqleR6VYrx soQwe1Bola+ES46V3O2Ha/+bItqmj23kDdUN/5YfYEywdpla3BYqwnitqWDttTYPn6RR 10VhYy2tVr7o0yWAsH1ouzn2but4BRxcoVp6MC9GExtFdr7epyhBqRgO6xAR/V6/K7Ht oW0CYLnJrkB97sERv7jp18DzTIBQmnBNf16zsCbxL1UWSD3maO/f7e8MIBMekdTayNs/ Kabpc360zAECQGiJXsl66tEqpls+ECpFruy0gmgRGYoyWAwVsMTlimaMfWs8UkzSsdoj rKbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678131763; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q41eI3CW9uAy7k5oi4qNmPdGdSMRz93rZBadRTLziRk=; b=eQYpk69xTxM3JVx54dTTCZ21IFMQBjVxAezDZ5aQ8e7jLJs0pljpgOditLcdEY9eoN uYr/z4yejkSwXTvXw0NIDAzVfX6u5L2a1mzkYTs/gXDyPEAf6v8e82bu6fVKn7xTHLK9 6Y3lJsNcOWIe3VvRoyF72pzx8tVfQrRuuTi58x3YyCOQ110cgDrwW03NqnKbm1CIapOf E0qH1p6be2UDdy765lWvF44HzoSMcBtcoqjgjEQ655zGKaChNwVvKNyhf/ftCtjcBqTb QycpdYuaAwikFxLgC6g65KBZDl+j1eR31kvMuUAfsMGh3g6Q1oj4rC1OY1il5O23+lbY RCvA== X-Gm-Message-State: AO0yUKV71Me4GjFRXcP2LJfjQ/aJoFV1fZVFh7QxUIaBeO69alKhy4j7 DHzluPGyqbYgpZqe6Wk9U7M= X-Google-Smtp-Source: AK7set9HvmALN/zwsmRbaBhWZ8lXmYT6BfuINzZbe8SDfa45rG8WuMTks/HGygS9zDUm/OQ3bSgQ/A== X-Received: by 2002:a17:907:7fa7:b0:8d7:6699:3bae with SMTP id qk39-20020a1709077fa700b008d766993baemr14147626ejc.57.1678131763279; Mon, 06 Mar 2023 11:42:43 -0800 (PST) Received: from localhost.localdomain (dynamic-2a01-0c23-c405-5c00-0000-0000-0000-0e63.c23.pool.telefonica.de. [2a01:c23:c405:5c00::e63]) by smtp.googlemail.com with ESMTPSA id e19-20020a170906315300b008f2b0c6052csm4951868eje.89.2023.03.06.11.42.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 11:42:42 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jirislaby@kernel.org, neil.armstrong@linaro.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, Christian Hewitt , Martin Blumenstingl Subject: [PATCH v2 2/3] tty: serial: meson: Add a new compatible string for the G12A SoC Date: Mon, 6 Mar 2023 20:42:22 +0100 Message-Id: <20230306194223.1869814-3-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230306194223.1869814-1-martin.blumenstingl@googlemail.com> References: <20230306194223.1869814-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Amlogic Meson G12A (and later) SoCs also have the "divide XTAL by 2" bit as the S4 UART controllers. Add a new compatible string for these SoCs and enable the has_xtal_div2 flag for them. Tested-by: Christian Hewitt Signed-off-by: Martin Blumenstingl --- Changes from v1 -> v2: - none drivers/tty/serial/meson_uart.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/tty/serial/meson_uart.c b/drivers/tty/serial/meson_uart.c index 74110017988a..2501db5a7aaf 100644 --- a/drivers/tty/serial/meson_uart.c +++ b/drivers/tty/serial/meson_uart.c @@ -779,7 +779,7 @@ static int meson_uart_remove(struct platform_device *pdev) return 0; } -static struct meson_uart_data s4_uart_data = { +static struct meson_uart_data meson_g12a_uart_data = { .has_xtal_div2 = true, }; @@ -788,9 +788,13 @@ static const struct of_device_id meson_uart_dt_match[] = { { .compatible = "amlogic,meson8-uart" }, { .compatible = "amlogic,meson8b-uart" }, { .compatible = "amlogic,meson-gx-uart" }, + { + .compatible = "amlogic,meson-g12a-uart", + .data = (void *)&meson_g12a_uart_data, + }, { .compatible = "amlogic,meson-s4-uart", - .data = (void *)&s4_uart_data, + .data = (void *)&meson_g12a_uart_data, }, { /* sentinel */ }, }; From patchwork Mon Mar 6 19:42:23 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Blumenstingl X-Patchwork-Id: 659463 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 70653C6FD1C for ; Mon, 6 Mar 2023 19:42:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229990AbjCFTmr (ORCPT ); Mon, 6 Mar 2023 14:42:47 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229958AbjCFTmq (ORCPT ); Mon, 6 Mar 2023 14:42:46 -0500 Received: from mail-ed1-x535.google.com (mail-ed1-x535.google.com [IPv6:2a00:1450:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 804E9410AB; Mon, 6 Mar 2023 11:42:45 -0800 (PST) Received: by mail-ed1-x535.google.com with SMTP id s11so43336237edy.8; Mon, 06 Mar 2023 11:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20210112; t=1678131764; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=9VMz7FwRCPzl0u0g9FryvFIO2eSi8c5ik8HpdOZSYw4=; b=VUW2S/qEm2qEaDo2jeLcOTzcZgk8r82W2NCK67wkcLUUGmJQ5PgcieZ/L9CPCX8oT0 hYu85ZRSxqEX/iL/zqW3LLlqlQOb9FNfUqOEF83qSeGsRKPdYxINQRY3OagViEJdSASS y7U7vCSZauPO+yTH9qvQDgn7vO4zPDZ2pvxXCJXobR04ZLlKhGlU3ilqBOEEHbR2AQKS Jl0HjTxvTY4TzOIsuln5Lyk/nZFWuYct+Z3eklJS3kNT7s/37dmPfpecc+AOY0hfTx+q fPxWnp3nwfcApw8joRla3lW+xQpD5OEwHJN2K5NffDrtNoCdb7x40+my/gViEef/DlU2 FWMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678131764; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9VMz7FwRCPzl0u0g9FryvFIO2eSi8c5ik8HpdOZSYw4=; b=cwmjaMW3D9y+tYd81Um702ytU+IhxPLb6CYI5lBSd0PrhQnFGWQMAUFusX81KCJcAL Zug7dsJNzAR0nPuiiO2nPInBaQBNncy1u48DRIQSPApplnHaMd4YUqxDZaE3oH0jCDoA 3E6DSMsLVjlZ6RGnCuPmCsvgBGm+rMHK3uZ9UBhwcVwhfnXBcTDzdRejd4iYnboct8Bz xk+ddUE9p6B29RP0OCqCbWTaeQ7gEBdM6Fn1PjlAcnn1XKEremNZBJbMCJCuee2vZRoB chi4syTxLtcMPDLcC/SMpo6vi3ZEgQblJJwHsjMgVpfARAfTCsz2V6//f5MDN58EnMIf vJuw== X-Gm-Message-State: AO0yUKWDSWTpYYsqbdmG6LFyc/NKdQO4ZlUHUkVe8q7794hZ4V/YWZ4B 121515dQP0hMRhrEQYbfnrk= X-Google-Smtp-Source: AK7set9y6Oy8/mPj3AB2/VR4I/2YrjSZlx9rcTbnl7yOfgnNZbZXeS60WL5YLUgYGyYN79oO69pukQ== X-Received: by 2002:a17:907:9721:b0:8b1:9e47:9101 with SMTP id jg33-20020a170907972100b008b19e479101mr13076253ejc.12.1678131763930; Mon, 06 Mar 2023 11:42:43 -0800 (PST) Received: from localhost.localdomain (dynamic-2a01-0c23-c405-5c00-0000-0000-0000-0e63.c23.pool.telefonica.de. [2a01:c23:c405:5c00::e63]) by smtp.googlemail.com with ESMTPSA id e19-20020a170906315300b008f2b0c6052csm4951868eje.89.2023.03.06.11.42.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Mar 2023 11:42:43 -0800 (PST) From: Martin Blumenstingl To: linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, jirislaby@kernel.org, neil.armstrong@linaro.org, krzysztof.kozlowski+dt@linaro.org, robh+dt@kernel.org, gregkh@linuxfoundation.org, Christian Hewitt , Martin Blumenstingl Subject: [PATCH v2 3/3] arm64: dts: meson-g12-common: Use the G12A UART compatible string Date: Mon, 6 Mar 2023 20:42:23 +0100 Message-Id: <20230306194223.1869814-4-martin.blumenstingl@googlemail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230306194223.1869814-1-martin.blumenstingl@googlemail.com> References: <20230306194223.1869814-1-martin.blumenstingl@googlemail.com> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Switch meson-12-common.dtsi to use the Meson G12A specific UART compatible string. This enables the "divide XTAL by 2" divider which improves support for UART attached Bluetooth modules (for example RTL8822CS) running at a baud rate of 1500000. Without dividing XTAL (24MHz) by 2 a baud rate of 1500000 cannot be generated cleanly and the resulting jitter breaks communication with the module. Tested-by: Christian Hewitt Signed-off-by: Martin Blumenstingl --- Greg, please don't take this through your tree. I included this patch to show the overall goal of this series. If Neil won't take this as part of another series then I'll send it separately. Changes from v1 -> v2: - keep meson-gx-uart as fallback compatible string arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi index 123a56f7f818..904bcd4d2acf 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi @@ -2046,7 +2046,8 @@ pwm_AO_cd: pwm@2000 { }; uart_AO: serial@3000 { - compatible = "amlogic,meson-gx-uart", + compatible = "amlogic,meson-g12a-uart", + "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; reg = <0x0 0x3000 0x0 0x18>; interrupts = ; @@ -2056,7 +2057,8 @@ uart_AO: serial@3000 { }; uart_AO_B: serial@4000 { - compatible = "amlogic,meson-gx-uart", + compatible = "amlogic,meson-g12a-uart", + "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; reg = <0x0 0x4000 0x0 0x18>; interrupts = ; @@ -2293,7 +2295,8 @@ clk_msr: clock-measure@18000 { }; uart_C: serial@22000 { - compatible = "amlogic,meson-gx-uart"; + compatible = "amlogic,meson-g12a-uart", + "amlogic,meson-gx-uart"; reg = <0x0 0x22000 0x0 0x18>; interrupts = ; clocks = <&xtal>, <&clkc CLKID_UART2>, <&xtal>; @@ -2302,7 +2305,8 @@ uart_C: serial@22000 { }; uart_B: serial@23000 { - compatible = "amlogic,meson-gx-uart"; + compatible = "amlogic,meson-g12a-uart", + "amlogic,meson-gx-uart"; reg = <0x0 0x23000 0x0 0x18>; interrupts = ; clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>; @@ -2311,7 +2315,8 @@ uart_B: serial@23000 { }; uart_A: serial@24000 { - compatible = "amlogic,meson-gx-uart"; + compatible = "amlogic,meson-g12a-uart", + "amlogic,meson-gx-uart"; reg = <0x0 0x24000 0x0 0x18>; interrupts = ; clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;