Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1061502pxm; Thu, 3 Mar 2022 09:33:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJyFJ/DaA2E4fFHWFjzSEDNHUsXb3CGmWS1TMJg71/dq79acdAULEsuQNDCM5kQBSxOyNDdw X-Received: by 2002:a05:6402:b42:b0:415:e6e7:65aa with SMTP id bx2-20020a0564020b4200b00415e6e765aamr3028084edb.105.1646328781789; Thu, 03 Mar 2022 09:33:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646328781; cv=none; d=google.com; s=arc-20160816; b=v8G+PVz8JF/yAri/uX2BNhUYo8ivgjxjmhAxURw44E6PDardWRr3oXMCi/0V67AUam niO6Zvl/Rx/KpjicVmLnqpltfHuMiCtlWM6ShNoPXMSmAxn48I6gOxDvUgeFCQ7FqNJu BVdi45EoJ2rgmZCr6RiOGVtrtmgGVuwpzwMeBk+F7Ih6zQMASwRxDatcyZa/dEezRBON rrzkY5ZUvGpU2Zbh+QmQswUZFhcZPYoHhmsMpA5LgzhhNeVLvk5HIhxuuUt4LzEgPpSe uBfrdZZnVHex6odrPN/BI0tcZhzTmHqJ9/wiOd2Rg6LMXHg0wtUZqEpFfBHezBJz+Xs3 abLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=+EPUuD0gT2UnTi7nbEdSvISQThsVfNgCE2QHLS2TQEo=; b=ktU1Vbb4RrKp/uuamtRT2xUsYrglaoXucvfyBL8p+00fEF3vHHu1WeMVRDRCEdW5pH rysP9flzRS+RnLyBpksytYwvfQ1oL78nml9cdPgG0065/RrEJjZluIHNM5w9HrmqkYAi APWVfj2bkzjEuGWZiSA86EUNwFuzLYB62Azll72Ec+ZDTBBqD9u/3iV7hPpO8ZeGk4ok VvS9Up/L2RrQJOvIWhtpnqL+63gyux76naCVG6+7bju1qU/rGidgrtQR94Z4M/wgEFWD 8RzBamF/lgrqqqrQKsPXKSzaseby+2oWW8Bgzn4sBlqsfrglCn7HWI58GXuRzWCmU9KZ 4Oew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=LHdq38nK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id lc10-20020a170906dfea00b006d6e545b6d9si1889119ejc.827.2022.03.03.09.32.37; Thu, 03 Mar 2022 09:33:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@walle.cc header.s=mail2016061301 header.b=LHdq38nK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234762AbiCCQEb (ORCPT + 99 others); Thu, 3 Mar 2022 11:04:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234729AbiCCQE0 (ORCPT ); Thu, 3 Mar 2022 11:04:26 -0500 Received: from ssl.serverraum.org (ssl.serverraum.org [IPv6:2a01:4f8:151:8464::1:2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF7EA15DDDB; Thu, 3 Mar 2022 08:03:40 -0800 (PST) Received: from mwalle01.kontron.local. (unknown [213.135.10.150]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ssl.serverraum.org (Postfix) with ESMTPSA id 12757223EF; Thu, 3 Mar 2022 17:03:39 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=walle.cc; s=mail2016061301; t=1646323419; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+EPUuD0gT2UnTi7nbEdSvISQThsVfNgCE2QHLS2TQEo=; b=LHdq38nKonSoGipiSnkOwbOLc81hbbgQBZJGqcimN7Ad/gYSZlmnyCX4uYJQjc3HAhVH22 tgnIttnEWLW4H86Rt6Rr95lU2LTjbcgCg/g2P1gYcEcMUCX3XdLiUB6UDovVCiKT/QHUOT 5P5MBROmIudL03StmmlvzLt4dwJFpp4= From: Michael Walle To: Kavyasree Kotagiri , Nicolas Ferre Cc: Arnd Bergmann , Olof Johansson , soc@kernel.org, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rob Herring , Krzysztof Kozlowski , Alexandre Belloni , Claudiu Beznea , Michael Walle Subject: [PATCH v1 3/6] ARM: dts: lan966x: add all flexcom usart nodes Date: Thu, 3 Mar 2022 17:03:20 +0100 Message-Id: <20220303160323.3316317-4-michael@walle.cc> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220303160323.3316317-1-michael@walle.cc> References: <20220303160323.3316317-1-michael@walle.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add all the usart nodes for the flexcom block. There was already an usart node for the flexcom3 block. But it missed the DMA channels. Although the DMA channels are specified, DMA is not enabled by default because break detection doesn't work with DMA. Keep the nodes disabled by default. Signed-off-by: Michael Walle --- arch/arm/boot/dts/lan966x.dtsi | 55 ++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/arch/arm/boot/dts/lan966x.dtsi b/arch/arm/boot/dts/lan966x.dtsi index a7d46a2ca058..bea69b6d2749 100644 --- a/arch/arm/boot/dts/lan966x.dtsi +++ b/arch/arm/boot/dts/lan966x.dtsi @@ -92,6 +92,19 @@ flx0: flexcom@e0040000 { #size-cells = <1>; ranges = <0x0 0xe0040000 0x800>; status = "disabled"; + + usart0: serial@200 { + compatible = "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = ; + dmas = <&dma0 AT91_XDMAC_DT_PERID(3)>, + <&dma0 AT91_XDMAC_DT_PERID(2)>; + dma-names = "tx", "rx"; + clocks = <&nic_clk>; + clock-names = "usart"; + atmel,fifo-size = <32>; + status = "disabled"; + }; }; flx1: flexcom@e0044000 { @@ -102,6 +115,19 @@ flx1: flexcom@e0044000 { #size-cells = <1>; ranges = <0x0 0xe0044000 0x800>; status = "disabled"; + + usart1: serial@200 { + compatible = "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = ; + dmas = <&dma0 AT91_XDMAC_DT_PERID(5)>, + <&dma0 AT91_XDMAC_DT_PERID(4)>; + dma-names = "tx", "rx"; + clocks = <&nic_clk>; + clock-names = "usart"; + atmel,fifo-size = <32>; + status = "disabled"; + }; }; trng: rng@e0048000 { @@ -129,6 +155,19 @@ flx2: flexcom@e0060000 { #size-cells = <1>; ranges = <0x0 0xe0060000 0x800>; status = "disabled"; + + usart2: serial@200 { + compatible = "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = ; + dmas = <&dma0 AT91_XDMAC_DT_PERID(7)>, + <&dma0 AT91_XDMAC_DT_PERID(6)>; + dma-names = "tx", "rx"; + clocks = <&nic_clk>; + clock-names = "usart"; + atmel,fifo-size = <32>; + status = "disabled"; + }; }; flx3: flexcom@e0064000 { @@ -144,6 +183,9 @@ usart3: serial@200 { compatible = "atmel,at91sam9260-usart"; reg = <0x200 0x200>; interrupts = ; + dmas = <&dma0 AT91_XDMAC_DT_PERID(9)>, + <&dma0 AT91_XDMAC_DT_PERID(8)>; + dma-names = "tx", "rx"; clocks = <&nic_clk>; clock-names = "usart"; atmel,fifo-size = <32>; @@ -178,6 +220,19 @@ flx4: flexcom@e0070000 { #size-cells = <1>; ranges = <0x0 0xe0070000 0x800>; status = "disabled"; + + usart4: serial@200 { + compatible = "atmel,at91sam9260-usart"; + reg = <0x200 0x200>; + interrupts = ; + dmas = <&dma0 AT91_XDMAC_DT_PERID(11)>, + <&dma0 AT91_XDMAC_DT_PERID(10)>; + dma-names = "tx", "rx"; + clocks = <&nic_clk>; + clock-names = "usart"; + atmel,fifo-size = <32>; + status = "disabled"; + }; }; timer0: timer@e008c000 { -- 2.30.2