From nobody Tue Apr 7 04:33:41 2026 Received: from mail.cjdns.fr (mail.cjdns.fr [5.135.140.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0E4613AEF2D; Mon, 16 Mar 2026 15:52:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=5.135.140.105 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773676351; cv=none; b=HMbkxKYL/knX72e5t98Xb/6k59eQDsLcVF1BhWDSWtFzRMMLcx1C33o2zJ86VcWZaVqz/EmSXQ8HRMIX/St44HUxTiAPvsDavbZGIkyAWORLM6ugCTn7IGSB5AYLcLoyhCvBrNrvIVqWh1Scn9LhFo/SRU38EpvfoOVVAecX+u8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773676351; c=relaxed/simple; bh=PUUBgNvxZ7NSMST3UBgl/rcVQezg2l/0t/JQMHGNqio=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=b2RyGi+mZVsmGljZFKShXtKumLhdEXGdLYzjIe1ccD8VFBoTZEFUon9Y1WZEhdrHpAXFt+6PaQY/cSj+D6Ku234I5xlnlo8Tp2HuNHogBqtTcJUGpfcIxPlTR70sGgaOU8l424MZTIIALcQ2d+8VIHRtk4Rdk4Zrkir0kfFT3Lg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cjdns.fr; spf=none smtp.mailfrom=cjdns.fr; dkim=pass (2048-bit key) header.d=cjdns.fr header.i=@cjdns.fr header.b=HS7fPIfF; arc=none smtp.client-ip=5.135.140.105 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cjdns.fr Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=cjdns.fr Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=cjdns.fr header.i=@cjdns.fr header.b="HS7fPIfF" Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 828EA302833; Mon, 16 Mar 2026 16:52:14 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cjdns.fr; s=dkim; t=1773676336; h=from:subject:date:message-id:to:cc:mime-version: content-transfer-encoding:in-reply-to:references; bh=nRiPz9a4SpQjGmlka47ayeQWMe+U7ftfbmH0XfIDxo4=; b=HS7fPIfF82+G1igAcixBu+g4xNDb8ffUhwDVFYU1QUa0Ht3uSUUAe2pL4EbGO+heYRYqkh gPctVN4dwUvmIGPl9HiOoroCWW7p2izAYD1ugu+oqlnFNSv416T780tqyWjnQFTBkbOMPr xgKUdH9mYbHucRi/3kGbbgvOFYqm0N2aW2qO6/EA2oaVszRtC5XXzlJA6mLPFzfheLULX3 DkESfk7aC3/cXOO1oiGylbpkXi4UsBgAEp17+uWjv7/IYcitUWR+nhj3MZ5OdNLM37nEwo c/V+W46BzF9ZWzJKP2sYm0qsJs4vmQPsP5F7c1o37V6Gf4U4WKDi3CsYkbL+eQ== From: Caleb James DeLisle To: linux-pci@vger.kernel.org Cc: linux-mips@vger.kernel.org, naseefkm@gmail.com, ryder.lee@mediatek.com, bhelgaas@google.com, lpieralisi@kernel.org, kwilczynski@kernel.org, mani@kernel.org, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, ansuelsmth@gmail.com, linux-mediatek@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Caleb James DeLisle Subject: [PATCH v2 1/3] dt-bindings: PCI: mediatek: Add support for EcoNet EN7528 Date: Mon, 16 Mar 2026 15:51:55 +0000 Message-Id: <20260316155157.679533-2-cjd@cjdns.fr> In-Reply-To: <20260316155157.679533-1-cjd@cjdns.fr> References: <20260316155157.679533-1-cjd@cjdns.fr> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 Content-Type: text/plain; charset="utf-8" Introduce EcoNet EN7528 SoC compatible in MediaTek PCIe controller binding. EcoNet PCIe controller has the same configuration model as Mediatek v2 but is initiallized more similarly to an MT7621 PCIe. Signed-off-by: Caleb James DeLisle --- .../bindings/pci/mediatek-pcie.yaml | 82 +++++++++++++++++++ 1 file changed, 82 insertions(+) diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml b/Doc= umentation/devicetree/bindings/pci/mediatek-pcie.yaml index 0b8c78ec4f91..bac6e3c84752 100644 --- a/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie.yaml @@ -14,6 +14,7 @@ properties: oneOf: - enum: - airoha,an7583-pcie + - econet,en7528-pcie - mediatek,mt2712-pcie - mediatek,mt7622-pcie - mediatek,mt7629-pcie @@ -226,6 +227,31 @@ allOf: =20 mediatek,pbus-csr: false =20 + - if: + properties: + compatible: + contains: + const: econet,en7528-pcie + then: + properties: + clocks: + maxItems: 1 + + clock-names: + maxItems: 1 + + reset: false + + reset-names: false + + power-domain: false + + mediatek,pbus-csr: false + + required: + - phys + - phy-names + unevaluatedProperties: false =20 examples: @@ -436,3 +462,59 @@ examples: }; }; }; + + # EN7528 + - | + #include + #include + #include + + soc_3 { + #address-cells =3D <1>; + #size-cells =3D <1>; + + pcie@1fb81000 { + compatible =3D "econet,en7528-pcie"; + device_type =3D "pci"; + linux,pci-domain =3D <0>; + #address-cells =3D <3>; + #size-cells =3D <2>; + + reg =3D <0x1fb81000 0x1000>; + reg-names =3D "port0"; + + clocks =3D <&scuclk EN7523_CLK_PCIE>; + clock-names =3D "sys_ck0"; + + phys =3D <&pcie_phy0>; + phy-names =3D "pcie-phy0"; + + ranges =3D <0x01000000 0 0x00000000 0x1f600000 0 0x00010000>, + <0x82000000 0 0x20000000 0x20000000 0 0x08000000>; + + interrupt-parent =3D <&intc>; + interrupts =3D <23>; + interrupt-names =3D "pcie_irq"; + bus-range =3D <0x00 0xff>; + #interrupt-cells =3D <1>; + interrupt-map-mask =3D <0 0 0 7>; + interrupt-map =3D <0 0 0 1 &pcie_intc 0>, + <0 0 0 2 &pcie_intc 1>, + <0 0 0 3 &pcie_intc 2>, + <0 0 0 4 &pcie_intc 3>; + + pcie_intc: interrupt-controller { + interrupt-controller; + #address-cells =3D <0>; + #interrupt-cells =3D <1>; + }; + + slot0: pcie@0,0 { + device_type =3D "pci"; + reg =3D <0x0000 0 0 0 0>; + #address-cells =3D <3>; + #size-cells =3D <2>; + ranges; + }; + }; + }; --=20 2.39.5