From patchwork Tue Feb 14 16:12:08 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 653550 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 4AC0EC61DA4 for ; Tue, 14 Feb 2023 16:12:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230414AbjBNQMU (ORCPT ); Tue, 14 Feb 2023 11:12:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53196 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjBNQMS (ORCPT ); Tue, 14 Feb 2023 11:12:18 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 882E01BED for ; Tue, 14 Feb 2023 08:12:17 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id t24so1082012eji.4 for ; Tue, 14 Feb 2023 08:12:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=4rNr92XTYh05KMDRB3D1RMUXt0CcOrUeKlehf1w84Dw=; b=eGS/GKZasLaCyDyDzyFSTvZjaTBHqH2BjuYt3cOgTL3as4epkjhnwyCVQCTGUrBr4t GN5h/WQGVYfhaouR2AiSF1hOcoyHQ1CJqsp8GfD7XLvUDwSdKVtcELnQaOBlTdQ8I3SR bhXLVsSBpIUnoagfCDAOiPs+E2SADfaMC5SyC2fx81FQWFBwZ+0RRym8+TdmRzWFQJJq fD1zcioIY7nP0qdO4aQOnVvBRDMSDsKG6e+sG5OnMsphypPvr0qJhPhS3qI0ALmbiL5w z3g4kiT4K7jBriajHagxng5lsgvVSxly9teRG6vMedZkPwG2d4d20YTpuZg9V4Kl/9PW M8dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4rNr92XTYh05KMDRB3D1RMUXt0CcOrUeKlehf1w84Dw=; b=7wdT/W1eSgvBBAp5puYkw0bVPuFJcvdvy9MbXv2e5M7VTCUVL9bgjg3FFQmGxfm/p4 /Hpz8jw0nxt+ZkFF4C7nSHkej6dgrxzCiuu0rrNzJu6CpVnxAq0+dI5+C9OL8cmAjuVP 8FGD9yoZK32jo8z7F9W4iwCA48h7jrV2le7tN2Dfeu+Bu25uTchuWqkO/9Ae35BeaZL+ Uj5YimIozYBJLa6wSFWabpPUoaytftTDn4Ll3rLa8pEqW8k48k4j2Buepntdf4TsJLTZ /aI5QFno/65CNjZn6qlckENV6Vgy0UoHjOorp5YxIXzEL46uw+w93IrEQY2/p7HAjrQH Mk1g== X-Gm-Message-State: AO0yUKXlDkmBHb4Kem+iy6V4x7u7NmMLrQli2FHHAVG2tM2oR6JTliEb wa4jXZnXNp/1qVvx9kLuS+D+pQ== X-Google-Smtp-Source: AK7set8OekKNKPZrJD6Erszgio47nQfQFRzRUuX0ixitHxZt4KiGpal97BHS1ZphbkRm1eibaOjC0g== X-Received: by 2002:a17:906:e2c8:b0:8af:4327:cf38 with SMTP id gr8-20020a170906e2c800b008af4327cf38mr107709ejb.26.1676391136162; Tue, 14 Feb 2023 08:12:16 -0800 (PST) Received: from fedora.. (cpezg-94-253-130-165-cbl.xnet.hr. [94.253.130.165]) by smtp.googlemail.com with ESMTPSA id de56-20020a1709069bf800b00878530f5324sm8564376ejc.90.2023.02.14.08.12.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 08:12:15 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH 1/4] ARM: dts: qcom: ipq4018-ap120c-ac: setup serial console Date: Tue, 14 Feb 2023 17:12:08 +0100 Message-Id: <20230214161211.306462-1-robert.marko@sartura.hr> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Add the required alias and stdout property so that kernel can setup the console based off DTS and not have to set it in the cmdline. Signed-off-by: Robert Marko Reviewed-by: Konrad Dybcio --- arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi index a5a6f3ebb2749..38efd45433da5 100644 --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi @@ -8,6 +8,14 @@ / { model = "ALFA Network AP120C-AC"; compatible = "alfa-network,ap120c-ac", "qcom,ipq4018"; + aliases { + serial0 = &blsp1_uart1; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; + keys { compatible = "gpio-keys"; From patchwork Tue Feb 14 16:12:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robert Marko X-Patchwork-Id: 653549 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 F0D75C64ED9 for ; Tue, 14 Feb 2023 16:12:23 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231716AbjBNQMW (ORCPT ); Tue, 14 Feb 2023 11:12:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229510AbjBNQMV (ORCPT ); Tue, 14 Feb 2023 11:12:21 -0500 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC0906A74 for ; Tue, 14 Feb 2023 08:12:19 -0800 (PST) Received: by mail-ej1-x634.google.com with SMTP id qw12so41399949ejc.2 for ; Tue, 14 Feb 2023 08:12:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sartura.hr; s=sartura; 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=QSSJt+kS57U0b/aHhy8b1Fqf1a7DeUwwB+89+sI4SVk=; b=QsrTeUZSVGH9EShX9wKA+T7kbQ2HkC8lwKIvipZSOz4e26YMdLsxl4MsiIAxumiPLD CMXc5emgp1c9PzkGQzf7sOE2Rh5HghYo85DWydqaJ2QqyJ61E3o4Q0tGUCp0ZRvWvUpx 7v3WFu3uWWZcQk72Yc0/86/Fto9lEKREjx/Igmz9pGKUU7OBxgohzb9cx2p29LkmPzj7 u0d5Z7JSGRyfoJsrXDvG5H87GQWA4LFimX+Adt91LDU/7h1vhSviS62WapmTDCApWu5+ m4BQdrlsfHEyhvSfKy63Vv8euEdz/16iM2EIEoacMcmJSibGQk+U2ytmP59kw/ix2jzi oCAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=QSSJt+kS57U0b/aHhy8b1Fqf1a7DeUwwB+89+sI4SVk=; b=CJ7lAEDgV3vUKChiuSaFcLsx7oB311Y/u2DNrdALvi5km5YmItm+wctsWAMooae7KU XuDW2W7edPelpCSxV/SXjSdyiNcW6Lkr0PVV1siXQ9nH2+yPMYC19YzO7DGn3k4XIKZk L4ud8OhEbkyC/DKnzDL+hCxySuD7Nlpmp9s0nkJv/fqJuPgEmROJOVc4rrB7g3XtIdHU Ivn5bHtHFXbne5O9oI0mN3LUclxK9utVKLb5uOSp6EFF33iWNlZ4SRihVg7mYwPyfZ3Z PmsnbJlygLQ16Eb/+6ONuZwd4iBf5onRORAVbMgveGdhn94bOSRxnbMxbB1tCM0kmY6j FpwA== X-Gm-Message-State: AO0yUKWyboW0ptpt4HGikE7vIkbIRar2dYAZK7hj4KZFrWeKwcuqJqjt LYqZPUbX9/9bXZyoip1K+c8gJQ== X-Google-Smtp-Source: AK7set8CvtgB6lgS8atTtIoeVZSiaBuTr5BsZWys+evJgwp5Xl7FFGgfJIXV6FssOtro9RbVbZ8duQ== X-Received: by 2002:a17:906:52d5:b0:886:7eae:26c4 with SMTP id w21-20020a17090652d500b008867eae26c4mr2897375ejn.5.1676391138332; Tue, 14 Feb 2023 08:12:18 -0800 (PST) Received: from fedora.. (cpezg-94-253-130-165-cbl.xnet.hr. [94.253.130.165]) by smtp.googlemail.com with ESMTPSA id de56-20020a1709069bf800b00878530f5324sm8564376ejc.90.2023.02.14.08.12.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 08:12:17 -0800 (PST) From: Robert Marko To: agross@kernel.org, andersson@kernel.org, konrad.dybcio@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: luka.perkov@sartura.hr, Robert Marko Subject: [PATCH 3/4] ARM: dts: qcom: ipq4018-ap120c-ac: align SPI-NAND with DT schema Date: Tue, 14 Feb 2023 17:12:10 +0100 Message-Id: <20230214161211.306462-3-robert.marko@sartura.hr> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214161211.306462-1-robert.marko@sartura.hr> References: <20230214161211.306462-1-robert.marko@sartura.hr> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org SPI-NAND node name should be flash@1 and not nand@1 according to schema. Signed-off-by: Robert Marko --- arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi index cd2a32d0d5548..bb0c888b048ec 100644 --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi @@ -186,7 +186,7 @@ partition@190000 { }; }; - nand@1 { + flash@1 { compatible = "spi-nand"; reg = <1>; spi-max-frequency = <40000000>;