2021-03-30 15:23:37

by Yousaf Kaukab

[permalink] [raw]
Subject: [PATCH] arm64: dts: ls1012a: enable PCIe on freeway board

ls1012a-freeway board contains a M.2 2230 slot. Update the status of
pcei1 node to okay so that the pcie controller can be probed.

Signed-off-by: Mian Yousaf Kaukab <[email protected]>
---
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
index 6290e2f9de6a..e3f371788f85 100644
--- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
+++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
@@ -38,3 +38,7 @@ w25q16dw0: flash@0 {
spi-tx-bus-width = <2>;
};
};
+
+&pcie1 {
+ status = "okay";
+};
--
2.26.2


2021-04-26 02:42:19

by Shawn Guo

[permalink] [raw]
Subject: Re: [PATCH] arm64: dts: ls1012a: enable PCIe on freeway board

On Tue, Mar 30, 2021 at 05:19:20PM +0200, Mian Yousaf Kaukab wrote:
> ls1012a-freeway board contains a M.2 2230 slot. Update the status of
> pcei1 node to okay so that the pcie controller can be probed.
>
> Signed-off-by: Mian Yousaf Kaukab <[email protected]>
> ---
> arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
> index 6290e2f9de6a..e3f371788f85 100644
> --- a/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
> +++ b/arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
> @@ -38,3 +38,7 @@ w25q16dw0: flash@0 {
> spi-tx-bus-width = <2>;
> };
> };
> +
> +&pcie1 {
> + status = "okay";
> +};

Keep the labeling nodes sort alphabetically.

Shawn

> --
> 2.26.2
>