mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 22:14:36 -04:00
arm64: dts: fsl-lx2160a: add rev2 support
Add rev2 dtsi. Although uboot fixup can change compatible string fsl,lx2160a-pcie to fsl,ls2088a-pcie since 2019, it is quite confused and should correctly reflect hardware status. So add fsl-lx2160a-rev2.dtsi to overwrite pcie's compatible string. Add PCIe EP nodes. Signed-off-by: Frank Li <Frank.Li@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
169
arch/arm64/boot/dts/freescale/fsl-lx2160a-rev2.dtsi
Normal file
169
arch/arm64/boot/dts/freescale/fsl-lx2160a-rev2.dtsi
Normal file
@@ -0,0 +1,169 @@
|
||||
// SPDX-License-Identifier: (GPL-2.0 OR MIT)
|
||||
//
|
||||
// Device Tree file for LX2160 REV2
|
||||
//
|
||||
// Copyright 2025 NXP
|
||||
|
||||
/dts-v1/;
|
||||
|
||||
#include "fsl-lx2160a.dtsi"
|
||||
|
||||
&pcie1 {
|
||||
compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie";
|
||||
reg = <0x00 0x03400000 0x0 0x00100000 /* controller registers */
|
||||
0x80 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
|
||||
ranges = <0x81000000 0x0 0x00000000 0x80 0x00010000 0x0 0x00010000
|
||||
0x82000000 0x0 0x40000000 0x80 0x40000000 0x0 0x40000000>;
|
||||
|
||||
interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "intr";
|
||||
|
||||
/delete-property/ apio-wins;
|
||||
/delete-property/ ppio-wins;
|
||||
};
|
||||
|
||||
&pcie2 {
|
||||
compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie";
|
||||
reg = <0x00 0x03500000 0x0 0x00100000 /* controller registers */
|
||||
0x88 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
|
||||
ranges = <0x81000000 0x0 0x00000000 0x88 0x00010000 0x0 0x00010000
|
||||
0x82000000 0x0 0x40000000 0x88 0x40000000 0x0 0x40000000>;
|
||||
|
||||
interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "intr";
|
||||
|
||||
/delete-property/ apio-wins;
|
||||
/delete-property/ ppio-wins;
|
||||
};
|
||||
|
||||
&pcie3 {
|
||||
compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie";
|
||||
reg = <0x00 0x03600000 0x0 0x00100000 /* controller registers */
|
||||
0x90 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
|
||||
ranges = <0x81000000 0x0 0x00000000 0x90 0x00010000 0x0 0x00010000
|
||||
0x82000000 0x0 0x40000000 0x90 0x40000000 0x0 0x40000000>;
|
||||
|
||||
interrupts = <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "intr";
|
||||
|
||||
/delete-property/ apio-wins;
|
||||
/delete-property/ ppio-wins;
|
||||
};
|
||||
|
||||
|
||||
&pcie4 {
|
||||
compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie";
|
||||
reg = <0x00 0x03700000 0x0 0x00100000 /* controller registers */
|
||||
0x98 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
|
||||
ranges = <0x81000000 0x0 0x00000000 0x98 0x00010000 0x0 0x00010000
|
||||
0x82000000 0x0 0x40000000 0x98 0x40000000 0x0 0x40000000>;
|
||||
|
||||
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "intr";
|
||||
|
||||
/delete-property/ apio-wins;
|
||||
/delete-property/ ppio-wins;
|
||||
};
|
||||
|
||||
&pcie5 {
|
||||
compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie";
|
||||
reg = <0x00 0x03800000 0x0 0x00100000 /* controller registers */
|
||||
0xa0 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
|
||||
ranges = <0x81000000 0x0 0x00000000 0xa0 0x00010000 0x0 0x00010000
|
||||
0x82000000 0x0 0x40000000 0xa0 0x40000000 0x0 0x40000000>;
|
||||
|
||||
interrupts = <GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "intr";
|
||||
|
||||
/delete-property/ apio-wins;
|
||||
/delete-property/ ppio-wins;
|
||||
};
|
||||
|
||||
&pcie6 {
|
||||
compatible = "fsl,lx2160ar2-pcie", "fsl,ls2088a-pcie";
|
||||
reg = <0x00 0x03900000 0x0 0x00100000 /* controller registers */
|
||||
0xa8 0x00000000 0x0 0x00002000>; /* configuration space */
|
||||
reg-names = "regs", "config";
|
||||
|
||||
ranges = <0x81000000 0x0 0x00000000 0xa8 0x00010000 0x0 0x00010000
|
||||
0x82000000 0x0 0x40000000 0xa8 0x40000000 0x0 0x40000000>;
|
||||
|
||||
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
||||
interrupt-names = "intr";
|
||||
|
||||
/delete-property/ apio-wins;
|
||||
/delete-property/ ppio-wins;
|
||||
};
|
||||
|
||||
&soc {
|
||||
pcie_ep1: pcie-ep@3400000 {
|
||||
compatible = "fsl,lx2160ar2-pcie-ep";
|
||||
reg = <0x00 0x03400000 0x0 0x00100000
|
||||
0x80 0x00000000 0x8 0x00000000>;
|
||||
reg-names = "regs", "addr_space";
|
||||
num-ob-windows = <8>;
|
||||
num-ib-windows = <8>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pcie_ep2: pcie-ep@3500000 {
|
||||
compatible = "fsl,lx2160ar2-pcie-ep";
|
||||
reg = <0x00 0x03500000 0x0 0x00100000
|
||||
0x88 0x00000000 0x8 0x00000000>;
|
||||
reg-names = "regs", "addr_space";
|
||||
num-ob-windows = <8>;
|
||||
num-ib-windows = <8>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pcie_ep3: pcie-ep@3600000 {
|
||||
compatible = "fsl,lx2160ar2-pcie-ep";
|
||||
reg = <0x00 0x03600000 0x0 0x00100000
|
||||
0x90 0x00000000 0x8 0x00000000>;
|
||||
reg-names = "regs", "addr_space";
|
||||
num-ob-windows = <256>;
|
||||
num-ib-windows = <24>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pcie_ep4: pcie-ep@3700000 {
|
||||
compatible = "fsl,lx2160ar2-pcie-ep";
|
||||
reg = <0x00 0x03700000 0x0 0x00100000
|
||||
0x98 0x00000000 0x8 0x00000000>;
|
||||
reg-names = "regs", "addr_space";
|
||||
num-ob-windows = <8>;
|
||||
num-ib-windows = <8>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
|
||||
pcie_ep5: pcie-ep@3800000 {
|
||||
compatible = "fsl,lx2160ar2-pcie-ep";
|
||||
reg = <0x00 0x03800000 0x0 0x00100000
|
||||
0xa0 0x00000000 0x8 0x00000000>;
|
||||
reg-names = "regs", "addr_space";
|
||||
num-ob-windows = <256>;
|
||||
num-ib-windows = <24>;
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
pcie_ep6: pcie-ep@3900000 {
|
||||
compatible = "fsl,lx2160ar2-pcie-ep";
|
||||
reg = <0x00 0x03900000 0x0 0x00100000
|
||||
0xa8 0x00000000 0x8 0x00000000>;
|
||||
reg-names = "regs", "addr_space";
|
||||
num-ob-windows = <8>;
|
||||
num-ib-windows = <8>;
|
||||
status = "disabled";
|
||||
};
|
||||
};
|
||||
@@ -614,7 +614,7 @@ cluster2-3-crit {
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
soc: soc {
|
||||
compatible = "simple-bus";
|
||||
#address-cells = <2>;
|
||||
#size-cells = <2>;
|
||||
|
||||
Reference in New Issue
Block a user