From nobody Tue Apr 7 19:43:54 2026 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 8F1D5C48BE4 for ; Wed, 24 Aug 2022 23:12:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231183AbiHXXMQ (ORCPT ); Wed, 24 Aug 2022 19:12:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbiHXXML (ORCPT ); Wed, 24 Aug 2022 19:12:11 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 194838002F; Wed, 24 Aug 2022 16:12:11 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id BCAE51A1442; Thu, 25 Aug 2022 01:12:09 +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 7B7671A143D; Thu, 25 Aug 2022 01:12:09 +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 156644060D; Wed, 24 Aug 2022 16:12:08 -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, Li Yang , Ran Wang Subject: [PATCH 1/9] arm64: dts: ls1046a: Enable usb3-lpm-capable for usb3 node Date: Wed, 24 Aug 2022 18:11:52 -0500 Message-Id: <20220824231200.494-2-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Enable USB3 HW LPM feature for ls1046a. Signed-off-by: Ran Wang Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/bo= ot/dts/freescale/fsl-ls1046a.dtsi index feab604322cf..ddae3cb0a977 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -717,6 +717,7 @@ usb0: usb@2f00000 { snps,quirk-frame-length-adjustment =3D <0x20>; snps,dis_rxdet_inp3_quirk; snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; + usb3-lpm-capable; }; =20 usb1: usb@3000000 { @@ -727,6 +728,7 @@ usb1: usb@3000000 { snps,quirk-frame-length-adjustment =3D <0x20>; snps,dis_rxdet_inp3_quirk; snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; + usb3-lpm-capable; }; =20 usb2: usb@3100000 { @@ -737,6 +739,7 @@ usb2: usb@3100000 { snps,quirk-frame-length-adjustment =3D <0x20>; snps,dis_rxdet_inp3_quirk; snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; + usb3-lpm-capable; }; =20 sata: sata@3200000 { --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 78D49C04AA5 for ; Wed, 24 Aug 2022 23:12:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231168AbiHXXMT (ORCPT ); Wed, 24 Aug 2022 19:12:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230518AbiHXXMM (ORCPT ); Wed, 24 Aug 2022 19:12:12 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9D28C7FFB1; Wed, 24 Aug 2022 16:12:11 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 542FC2014E3; Thu, 25 Aug 2022 01:12:10 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 117A72014DD; Thu, 25 Aug 2022 01:12:10 +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 01B1D40AA2; Wed, 24 Aug 2022 16:12:08 -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, Xiaowei Bao , Li Yang Subject: [PATCH 2/9] arm64: dts: ls1046a: Add the PME interrupt to PCIe EP nodes Date: Wed, 24 Aug 2022 18:11:53 -0500 Message-Id: <20220824231200.494-3-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Xiaowei Bao Add the PME interrupt property to the PCIe EP nodes. Signed-off-by: Xiaowei Bao Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/bo= ot/dts/freescale/fsl-ls1046a.dtsi index ddae3cb0a977..fce3c6401653 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -813,6 +813,8 @@ pcie_ep1: pcie_ep@3400000 { reg =3D <0x00 0x03400000 0x0 0x00100000>, <0x40 0x00000000 0x8 0x00000000>; reg-names =3D "regs", "addr_space"; + interrupts =3D ; /* PME interrupt */ + interrupt-names =3D "pme"; num-ib-windows =3D <6>; num-ob-windows =3D <8>; status =3D "disabled"; @@ -849,6 +851,8 @@ pcie_ep2: pcie_ep@3500000 { reg =3D <0x00 0x03500000 0x0 0x00100000>, <0x48 0x00000000 0x8 0x00000000>; reg-names =3D "regs", "addr_space"; + interrupts =3D ; /* PME interrupt */ + interrupt-names =3D "pme"; num-ib-windows =3D <6>; num-ob-windows =3D <8>; status =3D "disabled"; @@ -885,6 +889,8 @@ pcie_ep3: pcie_ep@3600000 { reg =3D <0x00 0x03600000 0x0 0x00100000>, <0x50 0x00000000 0x8 0x00000000>; reg-names =3D "regs", "addr_space"; + interrupts =3D ; /* PME interrupt */ + interrupt-names =3D "pme"; num-ib-windows =3D <6>; num-ob-windows =3D <8>; status =3D "disabled"; --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 157A1C04AA5 for ; Wed, 24 Aug 2022 23:12:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231226AbiHXXMX (ORCPT ); Wed, 24 Aug 2022 19:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231164AbiHXXMP (ORCPT ); Wed, 24 Aug 2022 19:12:15 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA2A58000B; Wed, 24 Aug 2022 16:12:13 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 7100C2014E8; Thu, 25 Aug 2022 01:12:12 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 0BED42014DD; Thu, 25 Aug 2022 01:12:12 +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 E4AD24060D; Wed, 24 Aug 2022 16:12:09 -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, Hou Zhiqiang , Li Yang Subject: [PATCH 3/9] arm64: dts: ls1046a: Add big-endian property for PCIe nodes Date: Wed, 24 Aug 2022 18:11:54 -0500 Message-Id: <20220824231200.494-4-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Hou Zhiqiang Add the big-endian property for LS1046A PCIe nodes for accessing PEX_LUT and PF register block. Signed-off-by: Hou Zhiqiang Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/bo= ot/dts/freescale/fsl-ls1046a.dtsi index fce3c6401653..f8e8c1415c02 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -805,6 +805,7 @@ pcie1: pcie@3400000 { <0000 0 0 2 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 3 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; + big-endian; status =3D "disabled"; }; =20 @@ -817,6 +818,7 @@ pcie_ep1: pcie_ep@3400000 { interrupt-names =3D "pme"; num-ib-windows =3D <6>; num-ob-windows =3D <8>; + big-endian; status =3D "disabled"; }; =20 @@ -843,6 +845,7 @@ pcie2: pcie@3500000 { <0000 0 0 2 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 3 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>; + big-endian; status =3D "disabled"; }; =20 @@ -855,6 +858,7 @@ pcie_ep2: pcie_ep@3500000 { interrupt-names =3D "pme"; num-ib-windows =3D <6>; num-ob-windows =3D <8>; + big-endian; status =3D "disabled"; }; =20 @@ -881,6 +885,7 @@ pcie3: pcie@3600000 { <0000 0 0 2 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 3 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>, <0000 0 0 4 &gic GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; + big-endian; status =3D "disabled"; }; =20 @@ -893,6 +898,7 @@ pcie_ep3: pcie_ep@3600000 { interrupt-names =3D "pme"; num-ib-windows =3D <6>; num-ob-windows =3D <8>; + big-endian; status =3D "disabled"; }; =20 --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 E7DACC04AA5 for ; Wed, 24 Aug 2022 23:12:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231309AbiHXXM3 (ORCPT ); Wed, 24 Aug 2022 19:12:29 -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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" 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/bo= ot/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 =3D <2>; #size-cells =3D <2>; ranges; + dma-ranges =3D <0x0 0x0 0x0 0x0 0x10000 0x00000000>; =20 ddr: memory-controller@1080000 { compatible =3D "fsl,qoriq-memory-controller"; --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 67971C04AA5 for ; Wed, 24 Aug 2022 23:12:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231428AbiHXXMe (ORCPT ); Wed, 24 Aug 2022 19:12:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231177AbiHXXMZ (ORCPT ); Wed, 24 Aug 2022 19:12:25 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 65D1B8168A; Wed, 24 Aug 2022 16:12:18 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 087D52014E8; Thu, 25 Aug 2022 01:12:17 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id BC4C02014DD; Thu, 25 Aug 2022 01:12:16 +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 148934060D; Wed, 24 Aug 2022 16:12:13 -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, Li Yang , Laurentiu Tudor Subject: [PATCH 5/9] arm64: dts: ls1046a: make dma-coherent global to the SoC Date: Wed, 24 Aug 2022 18:11:56 -0500 Message-Id: <20220824231200.494-6-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" ls1046a is really completely dma coherent in their entirety so add the dma-coherent property at the soc level in the device tree. 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/bo= ot/dts/freescale/fsl-ls1046a.dtsi index 552b4455aa82..10b6c41570cc 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -273,6 +273,7 @@ soc: soc { #size-cells =3D <2>; ranges; dma-ranges =3D <0x0 0x0 0x0 0x0 0x10000 0x00000000>; + dma-coherent; =20 ddr: memory-controller@1080000 { compatible =3D "fsl,qoriq-memory-controller"; --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 CB216C04AA5 for ; Wed, 24 Aug 2022 23:12:48 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231355AbiHXXMo (ORCPT ); Wed, 24 Aug 2022 19:12:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56394 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231343AbiHXXM3 (ORCPT ); Wed, 24 Aug 2022 19:12:29 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E065880E87; Wed, 24 Aug 2022 16:12:20 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 460221A1418; Thu, 25 Aug 2022 01:12:18 +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 D35611A1404; Thu, 25 Aug 2022 01:12:17 +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 6268740AA2; Wed, 24 Aug 2022 16:12:16 -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 , Robin Murphy , Li Yang Subject: [PATCH 6/9] arm64: dts: ls1046a: use a pseudo-bus to constrain usb and sata dma size Date: Wed, 24 Aug 2022 18:11:57 -0500 Message-Id: <20220824231200.494-7-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Laurentiu Tudor Wrap the usb and sata controllers in an intermediate simple-bus and use it to constrain the dma address size of these usb controllers to the 40 bits that they generate toward the interconnect. This is required because the SoC uses 48 bits address sizes and this mismatch would lead to smmu context faults because the usb generates 40-bit addresses while the smmu page tables are populated with 48-bit wide addresses. Suggested-by: Robin Murphy Signed-off-by: Laurentiu Tudor Signed-off-by: Li Yang --- .../arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 90 ++++++++++--------- 1 file changed, 49 insertions(+), 41 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/bo= ot/dts/freescale/fsl-ls1046a.dtsi index 10b6c41570cc..c7c6c82626fd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -711,47 +711,55 @@ QORIQ_CLK_PLL_DIV(2)>, QORIQ_CLK_PLL_DIV(2)>; }; =20 - usb0: usb@2f00000 { - compatible =3D "snps,dwc3"; - reg =3D <0x0 0x2f00000 0x0 0x10000>; - interrupts =3D ; - dr_mode =3D "host"; - snps,quirk-frame-length-adjustment =3D <0x20>; - snps,dis_rxdet_inp3_quirk; - snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; - usb3-lpm-capable; - }; - - usb1: usb@3000000 { - compatible =3D "snps,dwc3"; - reg =3D <0x0 0x3000000 0x0 0x10000>; - interrupts =3D ; - dr_mode =3D "host"; - snps,quirk-frame-length-adjustment =3D <0x20>; - snps,dis_rxdet_inp3_quirk; - snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; - usb3-lpm-capable; - }; - - usb2: usb@3100000 { - compatible =3D "snps,dwc3"; - reg =3D <0x0 0x3100000 0x0 0x10000>; - interrupts =3D ; - dr_mode =3D "host"; - snps,quirk-frame-length-adjustment =3D <0x20>; - snps,dis_rxdet_inp3_quirk; - snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; - usb3-lpm-capable; - }; - - sata: sata@3200000 { - compatible =3D "fsl,ls1046a-ahci"; - reg =3D <0x0 0x3200000 0x0 0x10000>, - <0x0 0x20140520 0x0 0x4>; - reg-names =3D "ahci", "sata-ecc"; - interrupts =3D ; - clocks =3D <&clockgen QORIQ_CLK_PLATFORM_PLL - QORIQ_CLK_PLL_DIV(2)>; + aux_bus: aux_bus { + #address-cells =3D <2>; + #size-cells =3D <2>; + compatible =3D "simple-bus"; + ranges; + dma-ranges =3D <0x0 0x0 0x0 0x0 0x100 0x00000000>; + + usb0: usb@2f00000 { + compatible =3D "snps,dwc3"; + reg =3D <0x0 0x2f00000 0x0 0x10000>; + interrupts =3D ; + dr_mode =3D "host"; + snps,quirk-frame-length-adjustment =3D <0x20>; + snps,dis_rxdet_inp3_quirk; + snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; + usb3-lpm-capable; + }; + + usb1: usb@3000000 { + compatible =3D "snps,dwc3"; + reg =3D <0x0 0x3000000 0x0 0x10000>; + interrupts =3D ; + dr_mode =3D "host"; + snps,quirk-frame-length-adjustment =3D <0x20>; + snps,dis_rxdet_inp3_quirk; + snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; + usb3-lpm-capable; + }; + + usb2: usb@3100000 { + compatible =3D "snps,dwc3"; + reg =3D <0x0 0x3100000 0x0 0x10000>; + interrupts =3D ; + dr_mode =3D "host"; + snps,quirk-frame-length-adjustment =3D <0x20>; + snps,dis_rxdet_inp3_quirk; + snps,incr-burst-type-adjustment =3D <1>, <4>, <8>, <16>; + usb3-lpm-capable; + }; + + sata: sata@3200000 { + compatible =3D "fsl,ls1046a-ahci"; + reg =3D <0x0 0x3200000 0x0 0x10000>, + <0x0 0x20140520 0x0 0x4>; + reg-names =3D "ahci", "sata-ecc"; + interrupts =3D ; + clocks =3D <&clockgen QORIQ_CLK_PLATFORM_PLL + QORIQ_CLK_PLL_DIV(2)>; + }; }; =20 msi1: msi-controller@1580000 { --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 696E1C04AA5 for ; Wed, 24 Aug 2022 23:12:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231563AbiHXXMi (ORCPT ); Wed, 24 Aug 2022 19:12:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56244 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231245AbiHXXM3 (ORCPT ); Wed, 24 Aug 2022 19:12:29 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4CAD48034F; Wed, 24 Aug 2022 16:12:21 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F1CC31A13C6; Thu, 25 Aug 2022 01:12:18 +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 B0C421A1404; Thu, 25 Aug 2022 01:12:18 +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 5F06B4060D; Wed, 24 Aug 2022 16:12:17 -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, Li Yang , Zhang Ying Subject: [PATCH 7/9] arm64: dts: ls1046a: add gpios based i2c recovery information Date: Wed, 24 Aug 2022 18:11:58 -0500 Message-Id: <20220824231200.494-8-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" Add scl-gpios property for i2c recovery and add SoC specific compatible string for SoC specific fixup. Signed-off-by: Zhang Ying Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi b/arch/arm64/bo= ot/dts/freescale/fsl-ls1046a.dtsi index c7c6c82626fd..c95a990e2edd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a.dtsi @@ -502,7 +502,7 @@ dspi: spi@2100000 { }; =20 i2c0: i2c@2180000 { - compatible =3D "fsl,vf610-i2c"; + compatible =3D "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0x0 0x2180000 0x0 0x10000>; @@ -516,35 +516,38 @@ i2c0: i2c@2180000 { }; =20 i2c1: i2c@2190000 { - compatible =3D "fsl,vf610-i2c"; + compatible =3D "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0x0 0x2190000 0x0 0x10000>; interrupts =3D ; clocks =3D <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>; + scl-gpios =3D <&gpio3 2 0>; status =3D "disabled"; }; =20 i2c2: i2c@21a0000 { - compatible =3D "fsl,vf610-i2c"; + compatible =3D "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0x0 0x21a0000 0x0 0x10000>; interrupts =3D ; clocks =3D <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>; + scl-gpios =3D <&gpio3 10 0>; status =3D "disabled"; }; =20 i2c3: i2c@21b0000 { - compatible =3D "fsl,vf610-i2c"; + compatible =3D "fsl,ls1046a-i2c", "fsl,vf610-i2c"; #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0x0 0x21b0000 0x0 0x10000>; interrupts =3D ; clocks =3D <&clockgen QORIQ_CLK_PLATFORM_PLL QORIQ_CLK_PLL_DIV(2)>; + scl-gpios =3D <&gpio3 12 0>; status =3D "disabled"; }; =20 --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 CD310C04AA5 for ; Wed, 24 Aug 2022 23:12:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231660AbiHXXMv (ORCPT ); Wed, 24 Aug 2022 19:12:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56428 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231236AbiHXXM3 (ORCPT ); Wed, 24 Aug 2022 19:12:29 -0400 Received: from inva021.nxp.com (inva021.nxp.com [92.121.34.21]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F06258285C; Wed, 24 Aug 2022 16:12:21 -0700 (PDT) Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 17EB32014EB; Thu, 25 Aug 2022 01:12:20 +0200 (CEST) Received: from smtp.na-rdc02.nxp.com (usphx01srsp001v.us-phx01.nxp.com [134.27.49.11]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id A45222014DD; Thu, 25 Aug 2022 01:12:19 +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 436C940AA3; Wed, 24 Aug 2022 16:12:18 -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, Li Yang , Camelia Groza , Pankaj Bansal Subject: [PATCH 8/9] arm64: dts: ls1046a-qds: add mmio based mdio-mux support Date: Wed, 24 Aug 2022 18:11:59 -0500 Message-Id: <20220824231200.494-9-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" There is mmio based mdio mux function in the FPGA device on ls1046a-qds board. Add the mmio based mdio-mux nodes to ls1046a-qds boards and add simple-mfd as a compatbile for the FPGA node to reflect the multi-function nature of it. Signed-off-by: Camelia Groza Signed-off-by: Pankaj Bansal Signed-off-by: Li Yang --- .../boot/dts/freescale/fsl-ls1046a-qds.dts | 156 +++++++++++++++++- 1 file changed, 154 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64= /boot/dts/freescale/fsl-ls1046a-qds.dts index eec62c63dafe..eb74ed6419b6 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts @@ -3,7 +3,7 @@ * Device Tree Include file for Freescale Layerscape-1046A family SoC. * * Copyright 2016 Freescale Semiconductor, Inc. - * Copyright 2018 NXP + * Copyright 2018-2021 NXP * * Shaohui Xie */ @@ -25,6 +25,20 @@ aliases { serial1 =3D &duart1; serial2 =3D &duart2; serial3 =3D &duart3; + + emi1-slot1 =3D &ls1046mdio_s1; + emi1-slot2 =3D &ls1046mdio_s2; + emi1-slot4 =3D &ls1046mdio_s4; + + sgmii-s1-p1 =3D &sgmii_phy_s1_p1; + sgmii-s1-p2 =3D &sgmii_phy_s1_p2; + sgmii-s1-p3 =3D &sgmii_phy_s1_p3; + sgmii-s1-p4 =3D &sgmii_phy_s1_p4; + sgmii-s4-p1 =3D &sgmii_phy_s4_p1; + qsgmii-s2-p1 =3D &qsgmii_phy_s2_p1; + qsgmii-s2-p2 =3D &qsgmii_phy_s2_p2; + qsgmii-s2-p3 =3D &qsgmii_phy_s2_p3; + qsgmii-s2-p4 =3D &qsgmii_phy_s2_p4; }; =20 chosen { @@ -153,8 +167,9 @@ nand@1,0 { }; =20 fpga: board-control@2,0 { - compatible =3D "fsl,ls1046aqds-fpga", "fsl,fpga-qixis"; + compatible =3D "fsl,ls1046aqds-fpga", "fsl,fpga-qixis", "simple-mfd"; reg =3D <0x2 0x0 0x0000100>; + ranges =3D <0 2 0 0x100>; }; }; =20 @@ -177,3 +192,140 @@ qflash0: flash@0 { }; =20 #include "fsl-ls1046-post.dtsi" + +&fman0 { + ethernet@e0000 { + phy-handle =3D <&qsgmii_phy_s2_p1>; + phy-connection-type =3D "sgmii"; + }; + + ethernet@e2000 { + phy-handle =3D <&sgmii_phy_s4_p1>; + phy-connection-type =3D "sgmii"; + }; + + ethernet@e4000 { + phy-handle =3D <&rgmii_phy1>; + phy-connection-type =3D "rgmii"; + }; + + ethernet@e6000 { + phy-handle =3D <&rgmii_phy2>; + phy-connection-type =3D "rgmii"; + }; + + ethernet@e8000 { + phy-handle =3D <&sgmii_phy_s1_p3>; + phy-connection-type =3D "sgmii"; + }; + + ethernet@ea000 { + phy-handle =3D <&sgmii_phy_s1_p4>; + phy-connection-type =3D "sgmii"; + }; + + ethernet@f0000 { /* DTSEC9/10GEC1 */ + phy-handle =3D <&sgmii_phy_s1_p1>; + phy-connection-type =3D "xgmii"; + }; + + ethernet@f2000 { /* DTSEC10/10GEC2 */ + phy-handle =3D <&sgmii_phy_s1_p2>; + phy-connection-type =3D "xgmii"; + }; +}; + +&fpga { + #address-cells =3D <1>; + #size-cells =3D <1>; + mdio-mux-emi1@54 { + compatible =3D "mdio-mux-mmioreg", "mdio-mux"; + mdio-parent-bus =3D <&mdio0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + reg =3D <0x54 1>; /* BRDCFG4 */ + mux-mask =3D <0xe0>; /* EMI1 */ + + /* On-board RGMII1 PHY */ + ls1046mdio0: mdio@0 { + reg =3D <0>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + rgmii_phy1: ethernet-phy@1 { /* MAC3 */ + reg =3D <0x1>; + }; + }; + + /* On-board RGMII2 PHY */ + ls1046mdio1: mdio@20 { + reg =3D <0x20>; + #address-cells =3D <1>; + #size-cells =3D <0>; + + rgmii_phy2: ethernet-phy@2 { /* MAC4 */ + reg =3D <0x2>; + }; + }; + + /* Slot 1 */ + ls1046mdio_s1: mdio@40 { + reg =3D <0x40>; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "disabled"; + + sgmii_phy_s1_p1: ethernet-phy@1c { + reg =3D <0x1c>; + }; + + sgmii_phy_s1_p2: ethernet-phy@1d { + reg =3D <0x1d>; + }; + + sgmii_phy_s1_p3: ethernet-phy@1e { + reg =3D <0x1e>; + }; + + sgmii_phy_s1_p4: ethernet-phy@1f { + reg =3D <0x1f>; + }; + }; + + /* Slot 2 */ + ls1046mdio_s2: mdio@60 { + reg =3D <0x60>; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "disabled"; + + qsgmii_phy_s2_p1: ethernet-phy@8 { + reg =3D <0x8>; + }; + + qsgmii_phy_s2_p2: ethernet-phy@9 { + reg =3D <0x9>; + }; + + qsgmii_phy_s2_p3: ethernet-phy@a { + reg =3D <0xa>; + }; + + qsgmii_phy_s2_p4: ethernet-phy@b { + reg =3D <0xb>; + }; + }; + + /* Slot 4 */ + ls1046mdio_s4: mdio@80 { + reg =3D <0x80>; + #address-cells =3D <1>; + #size-cells =3D <0>; + status =3D "disabled"; + + sgmii_phy_s4_p1: ethernet-phy@1c { + reg =3D <0x1c>; + }; + }; + }; +}; --=20 2.37.1 From nobody Tue Apr 7 19:43:54 2026 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 CD33CC3F6B0 for ; Wed, 24 Aug 2022 23:12:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231748AbiHXXM4 (ORCPT ); Wed, 24 Aug 2022 19:12:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231374AbiHXXMb (ORCPT ); Wed, 24 Aug 2022 19:12:31 -0400 Received: from inva020.nxp.com (inva020.nxp.com [92.121.34.13]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08F9782D24; Wed, 24 Aug 2022 16:12:22 -0700 (PDT) Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 2C2031A1446; Thu, 25 Aug 2022 01:12:21 +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 DA3B91A1404; Thu, 25 Aug 2022 01:12:20 +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 3539B4060D; Wed, 24 Aug 2022 16:12:19 -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, Pankaj Bansal , Li Yang Subject: [PATCH 9/9] arm64: dts: ls1046a-qds: Modify the qspi flash frequency Date: Wed, 24 Aug 2022 18:12:00 -0500 Message-Id: <20220824231200.494-10-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: quoted-printable X-Virus-Scanned: ClamAV using ClamSMTP Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" From: Pankaj Bansal The qspi flash in ls1046a QDS board can operate at 50MHz frequency. Therefore, update the maximum supported freq in dts file. Signed-off-by: Pankaj Bansal Signed-off-by: Li Yang --- arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts b/arch/arm64= /boot/dts/freescale/fsl-ls1046a-qds.dts index eb74ed6419b6..f72dc65c45cd 100644 --- a/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts +++ b/arch/arm64/boot/dts/freescale/fsl-ls1046a-qds.dts @@ -184,7 +184,7 @@ qflash0: flash@0 { compatible =3D "spansion,m25p80"; #address-cells =3D <1>; #size-cells =3D <1>; - spi-max-frequency =3D <20000000>; + spi-max-frequency =3D <50000000>; spi-rx-bus-width =3D <4>; spi-tx-bus-width =3D <4>; reg =3D <0>; --=20 2.37.1