[PATCH 2/9] arm64: dts: ls1046a: Add the PME interrupt to PCIe EP nodes

Shawn Guo shawnguo at kernel.org
Sun Sep 4 18:10:59 PDT 2022


On Wed, Aug 24, 2022 at 06:11:53PM -0500, Li Yang wrote:
> From: Xiaowei Bao <xiaowei.bao at nxp.com>
> 
> Add the PME interrupt property to the PCIe EP nodes.
> 
> Signed-off-by: Xiaowei Bao <xiaowei.bao at nxp.com>
> Signed-off-by: Li Yang <leoyang.li at nxp.com>
> ---
>  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/boot/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 at 3400000 {
>  			reg = <0x00 0x03400000 0x0 0x00100000>,
>  			      <0x40 0x00000000 0x8 0x00000000>;
>  			reg-names = "regs", "addr_space";
> +			interrupts = <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */

The comment seems unnecessary, considering we have the interrupt-names
below?

Shawn

> +			interrupt-names = "pme";
>  			num-ib-windows = <6>;
>  			num-ob-windows = <8>;
>  			status = "disabled";
> @@ -849,6 +851,8 @@ pcie_ep2: pcie_ep at 3500000 {
>  			reg = <0x00 0x03500000 0x0 0x00100000>,
>  			      <0x48 0x00000000 0x8 0x00000000>;
>  			reg-names = "regs", "addr_space";
> +			interrupts = <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
> +			interrupt-names = "pme";
>  			num-ib-windows = <6>;
>  			num-ob-windows = <8>;
>  			status = "disabled";
> @@ -885,6 +889,8 @@ pcie_ep3: pcie_ep at 3600000 {
>  			reg = <0x00 0x03600000 0x0 0x00100000>,
>  			      <0x50 0x00000000 0x8 0x00000000>;
>  			reg-names = "regs", "addr_space";
> +			interrupts = <GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; /* PME interrupt */
> +			interrupt-names = "pme";
>  			num-ib-windows = <6>;
>  			num-ob-windows = <8>;
>  			status = "disabled";
> -- 
> 2.37.1
> 



More information about the linux-arm-kernel mailing list