Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp49237rwe; Wed, 24 Aug 2022 16:42:44 -0700 (PDT) X-Google-Smtp-Source: AA6agR7yBIt86enhxyju6zkJOv3FdgYyZqoM2BpkZUMdKeYPfAy2LB6BMkH/SbDietAJo1suhb/a X-Received: by 2002:a63:8a44:0:b0:42b:351d:e309 with SMTP id y65-20020a638a44000000b0042b351de309mr993914pgd.426.1661384563907; Wed, 24 Aug 2022 16:42:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661384563; cv=none; d=google.com; s=arc-20160816; b=hAQo1UbjeQ4EyGOO9gYllHNSKo/ROim7ONnftS7g1Aq5sGPrFk0ovuMg5MP6LjEHV8 DkiMSGeXhdJ8ZZW1mOwgVasRYKON+b4q/2EQWZgvn67Weor/I7chmMu+zBCbq4O8qK9P Mw790+ytem0mi3qNF6TlpwGky4sKn5NbjoSkYCOaf4M9Bcl0FCMsnsl7WNGBj+1VzBrl xEORtfN+tUz6r/DQphAkhgtdERXGDPLuLTLbDU4pJY7Hm9P16KUZeBZO2b8H2Qn6c0zY FU0TSDKKnHBzYa24qtCReW0e8+sO7Za+EZRl6XU4dTIVMYeGIM4onQrdcvhSJu81AtZS VY7g== 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; bh=m40tjDiXeL35lsLwC54DlJCux+vE+fxXmy4wS+HMavo=; b=rPvhBS0wYQ52qj5OZB5gpT92HHxrJiKZwxtf8dgov6ElH8zA7hqen8fi64KKZ+4YuT kPFsGHAHITgZaP7bijEgJ49pJ9Hw+Yuud33kQXTQpSNsZVxEvRQIT3ua5F4O4NI4cr37 EOwjp2+ahMn3GvdxP6My5ZdQwJfAH5qZJjNQz0gzZrEsfLE6uUtjrJ/wfB7RXHFvnKLX 5MgvlKEGEIgiBwAejwO5YypgRzhci+sLPwEk2YY9EO0z0dDtV4x7w4jYWLMcGlQ8XwsP eJB4Kw8IFwu0sRwN3imSooqWd3bKBa46ZmozzukL7NzF8d9w2vYeLcms8hhz6vnddGuA le1A== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e128-20020a636986000000b00429e7ce9d04si10840059pgc.764.2022.08.24.16.42.29; Wed, 24 Aug 2022 16:42:43 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231300AbiHXXM2 (ORCPT + 99 others); Wed, 24 Aug 2022 19:12:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56234 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbiHXXMZ (ORCPT ); Wed, 24 Aug 2022 19:12:25 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 198CC7FFB1; Wed, 24 Aug 2022 16:12:17 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 6D8DD1A1401; Thu, 25 Aug 2022 01:12:15 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id CAF931A066B; Thu, 25 Aug 2022 01:12:14 +0200 (CEST) Received: from right.am.freescale.net (right.am.freescale.net [10.81.116.134]) by usphx01srsp001v.us-phx01.nxp.com (Postfix) with ESMTP id C0D7440AA2; Wed, 24 Aug 2022 16:12:11 -0700 (MST) From: Li Yang To: shawnguo@kernel.org, devicetree@vger.kernel.org Cc: robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Laurentiu Tudor , Li Yang Subject: [PATCH 4/9] arm64: dts: ls1046a: add missing dma ranges property Date: Wed, 24 Aug 2022 18:11:55 -0500 Message-Id: <20220824231200.494-5-leoyang.li@nxp.com> X-Mailer: git-send-email 2.25.1.377.g2d2118b In-Reply-To: <20220824231200.494-1-leoyang.li@nxp.com> References: <20220824231200.494-1-leoyang.li@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,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 From: Laurentiu Tudor ls1046a has a 48-bit address size so make sure that the dma-ranges reflects this. Otherwise the linux kernel's dma sub-system will set the default dma masks to full 64-bit, badly breaking dmas. Signed-off-by: Laurentiu Tudor Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi index f8e8c1415c02..552b4455aa82 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -272,6 +272,7 @@ soc: soc { #address-cells = <2>; #size-cells = <2>; ranges; + dma-ranges = <0x0 0x0 0x0 0x0 0x10000 0x00000000>; ddr: memory-controller@1080000 { compatible = "fsl,qoriq-memory-controller"; -- 2.37.1