From b34a049617cdfa7dc883c73e1e8c4fb5b8432e9a Mon Sep 17 00:00:00 2001 From: Timple Raj M Date: Thu, 16 Feb 2023 15:47:28 +0530 Subject: [PATCH] arm: dts: ipq5332: update pci configuration This patch updates the pci configuration for AP-MI01.3 and AP-MI04.1 AP-MI01.3 PCIE0 - Pebble 5G PCIE1_x1 - Pebble 6G PCIE2 - Unused AP-MI04.1 PCIE0 - Pebble 6G PCIE1_x1 - Pebble 5G PCIE2 - Unused Change-Id: Ic667167840dd5d0a6c904c6b17521183121dd87f Signed-off-by: Timple Raj M --- arch/arm/dts/ipq5332-mi01.3.dts | 17 ++++++++++++++++- arch/arm/dts/ipq5332-mi04.1.dts | 30 ++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/ipq5332-mi01.3.dts b/arch/arm/dts/ipq5332-mi01.3.dts index 3084396865..7e2f324c36 100644 --- a/arch/arm/dts/ipq5332-mi01.3.dts +++ b/arch/arm/dts/ipq5332-mi01.3.dts @@ -24,6 +24,7 @@ nand = "/nand-controller@79B0000"; mmc = "/sdhci@7804000"; usb0 = "/xhci@8a00000"; + pci0 = "/pci@20000000"; pci1 = "/pci@18000000"; i2c0 = "/i2c@78B6000"; }; @@ -180,10 +181,24 @@ }; }; + pci0: pci@20000000 { + status = "ok"; + perst_gpio = <38>; + lane = <1>; + pci_gpio { + pci_rst { + gpio = <38>; + pull = ; + oe = ; + drvstr = ; + }; + }; + }; + pci1: pci@18000000 { status = "ok"; perst_gpio = <47>; - lane = <2>; + lane = <1>; pci_gpio { pci_rst { gpio = <47>; diff --git a/arch/arm/dts/ipq5332-mi04.1.dts b/arch/arm/dts/ipq5332-mi04.1.dts index fc2e6923b6..f827cc090a 100644 --- a/arch/arm/dts/ipq5332-mi04.1.dts +++ b/arch/arm/dts/ipq5332-mi04.1.dts @@ -24,6 +24,8 @@ nand = "/nand-controller@79B0000"; usb0 = "/xhci@8a00000"; i2c0 = "/i2c@78B6000"; + pci0 = "/pci@20000000"; + pci1 = "/pci@18000000"; }; serial@78AF000 { @@ -136,4 +138,32 @@ }; }; }; + + pci0: pci@20000000 { + status = "ok"; + perst_gpio = <38>; + lane = <1>; + pci_gpio { + pci_rst { + gpio = <38>; + pull = ; + oe = ; + drvstr = ; + }; + }; + }; + + pci1: pci@18000000 { + status = "ok"; + perst_gpio = <47>; + lane = <1>; + pci_gpio { + pci_rst { + gpio = <47>; + pull = ; + oe = ; + drvstr = ; + }; + }; + }; };