Re: [PATCH v4 3/3] arm64: dts: qcom: eliza-evk: Add PCIe1 with TC9563 PCIe switch
Konrad Dybcio <[email protected]>
| Newsgroups | org.kernel.vger.linux-pm,org.kernel.vger.linux-arm-msm,org.kernel.vger.linux-devicetree,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <[email protected]> |
On 7/28/26 9:06 AM, Krishna Chaitanya Chundru wrote: > The Eliza EVK board connects PCIe1 (8GT/s x2) to a Toshiba TC9563 > PCIe switch. Enable PCIe1 and its QMP PHY nodes. > > TC9563 uses I2C (at address 0x77 on I2C4) for its management interface. > > Override the base iommu-map with the expanded set covering all the > switch's downstream ports (0x1400-0x1408 SID range). > > The TC9563 RESX# and PERST# are OR-ed internally to assert reset on the > switch. Use TC9563 RESX# pin via a TLMM GPIO and skip wiring PERST# > from the PCIe controller. > > Signed-off-by: Krishna Chaitanya Chundru <[email protected]> > --- [...] > + reg = <0x21800 0x0 0x0 0x0 0x0>; > + #address-cells = <3>; > + #size-cells = <2>; > + device_type = "pci"; > + ranges; > + bus-range = <0x5 0xff>; > + > + pci@0,0 { FWIW these subnodes should be pcie@ too Konrad > + reg = <0x50000 0x0 0x0 0x0 0x0>; > + #address-cells = <3>; > + #size-cells = <2>; > + device_type = "pci"; > + ranges; > + }; > + > + pci@0,1 { > + reg = <0x50100 0x0 0x0 0x0 0x0>; > + #address-cells = <3>; > + #size-cells = <2>; > + device_type = "pci"; > + ranges; > + }; > + }; > + }; > +}; > + > &uart13 { > compatible = "qcom,geni-debug-uart"; > > diff --git a/arch/arm64/boot/dts/qcom/eliza.dtsi b/arch/arm64/boot/dts/qcom/eliza.dtsi > index c99bcccae00c..2ecfeddea496 100644 > --- a/arch/arm64/boot/dts/qcom/eliza.dtsi > +++ b/arch/arm64/boot/dts/qcom/eliza.dtsi > @@ -2104,6 +2104,7 @@ opp-16000000-3 { > }; > > pcie1_port0: pcie@0 { > + compatible = "pciclass,0604"; > device_type = "pci"; > reg = <0x0 0x0 0x0 0x0 0x0>; > bus-range = <0x01 0xff>; >