From nobody Thu Apr 16 20:47:13 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 21D573E8C56; Wed, 25 Feb 2026 16:55:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772038531; cv=none; b=l4H0GEFCuW8F+qq96WL7zfZCPjdSbm2C+2QmjNURWeYaMXerSX6hQ96zEjaEh2E7Rqe7OzVAMFTNa15dgB/njyeC+dS71Gs4mv2ieELhqxbttQJXG78wEA1WV/KM2wlB3rxBE7Xmqjsu7Kg010xCLmHYb6tO9b8qlb/2rjbqwKY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772038531; c=relaxed/simple; bh=6u/f4c0UsXgCZCaSqHUA5CczQrwX5KG9MGQYKcZJiv4=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=QazMLM9mC+tIRSkKUluzpRJDy86ZRIAUFwfb3hAh7xyDOhaeYSt/xyjDXOsm/yLt1f7mTrDXcdLSWOSt0E9GAh+VDb7bBFFJM+v3qShKHOvGWkdAIFsXLO4kVEokoUDhvebd+TZPKQXpp1O8qE3W9RoVuQS+VOgJK+LK0uBc63g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=NHPrm6zk; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="NHPrm6zk" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 9ADDB4E41121; Wed, 25 Feb 2026 16:55:28 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 6ABF15FDE6; Wed, 25 Feb 2026 16:55:28 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id D7912103692EC; Wed, 25 Feb 2026 17:55:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772038527; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=oOMn5ompIPVh8yV/GbjsjGzqpMNsv2wxvWJHJoVVvec=; b=NHPrm6zk5W9L1XJh52F+itQ7/wEWRqYa9Pt+sFVsd1aVWPLnQIbDSBvZbZcAGgoZ0aaYZR UabnV+be7Tfw8F6f0U0hpklCR/LLUAm92LCr/Nm71nCm5ptXqIti05XQtLRy8dC7vZH7DB xHTPo5V7rXgFgGGlALna5CXJyF0Xh0t9E2AI9tGy6mmKiOmmN6dEZImAuQo/yQyMkniJq8 Z5cRP9iCT/WRCLlA1PvTZGx467bte7nV9PU/yMc17yh95t7j3dSJ4ASMtwRE6+2xIqNcZF Vw2qEmpUss7D4Iy+Y5h5XK7md18WKVQzO/vrJTNq38tpQ8X3i1s0SzLMbldn8w== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 25 Feb 2026 17:55:22 +0100 Subject: [PATCH v7 1/3] dt-bindings: soc: mobileye: OLB is an Ethernet PHY provider on EyeQ5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260225-macb-phy-v7-1-d3c9842ec931@bootlin.com> References: <20260225-macb-phy-v7-0-d3c9842ec931@bootlin.com> In-Reply-To: <20260225-macb-phy-v7-0-d3c9842ec931@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , =?utf-8?q?Beno=C3=AEt_Monin?= , Tawfik Bayouk , Thomas Petazzoni , Luca Ceresoli , =?utf-8?q?Th=C3=A9o_Lebrun?= , Conor Dooley X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 OLB on EyeQ5 ("mobileye,eyeq5-olb" compatible) is now declared as a generic PHY provider. Under the hood, it provides Ethernet RGMII/SGMII PHY support for both MAC instances. Acked-by: Conor Dooley Signed-off-by: Th=C3=A9o Lebrun --- .../devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml | 7 +++= +++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-= olb.yaml b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-ol= b.yaml index 6d11472ba5a7..56401d76a9b5 100644 --- a/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml +++ b/Documentation/devicetree/bindings/soc/mobileye/mobileye,eyeq5-olb.yaml @@ -51,6 +51,9 @@ properties: clock-names: const: ref =20 + '#phy-cells': + const: 1 + patternProperties: '-pins?$': type: object @@ -310,7 +313,7 @@ allOf: properties: '#reset-cells': false =20 - # Only EyeQ5 has pinctrl in OLB. + # Only EyeQ5 has pinctrl and PHY in OLB. - if: not: properties: @@ -320,6 +323,8 @@ allOf: then: patternProperties: '-pins?$': false + properties: + '#phy-cells': false =20 examples: - | --=20 2.53.0 From nobody Thu Apr 16 20:47:13 2026 Received: from smtpout-02.galae.net (smtpout-02.galae.net [185.246.84.56]) (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 B32093E8C5B; Wed, 25 Feb 2026 16:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.84.56 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772038533; cv=none; b=d0INBkxjj/wU761lGAGNczMb8B7Ccon1hSO9KXQ1tO6DKX4Bz3AGnLZC8r0jk/KDZArjNRUpyxIIRQmSTl616kkaslJlcVDJl5X/xgH4B3b18lmnYw69Y5RFqPFBLY93abtStWEwTlSwbma4sj/fSjqpWYuhLEFHb9QTmL92is0= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772038533; c=relaxed/simple; bh=dqQlFOLNKCzxUjTLp8e0xQ3g5gTV0hV+3qhAGQv1U00=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=rZnTjM/N+8qkLQ+jF+JKGpnFrW0L/3zJQJG8dQLIAyVPmYLS3VQMr1XaJqTnWLKUeT8BFlldnzl80hYrTPZ3m4RbBtXFglAxK/FKz5EtXU3vgdK6FYCL0AEwq3iehb6H8JMUPBddU8vYOrw5LHf+RHaitAf0UvLAb6RhmmFTyeM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=QI9mEvyJ; arc=none smtp.client-ip=185.246.84.56 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="QI9mEvyJ" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-02.galae.net (Postfix) with ESMTPS id 688761A1352; Wed, 25 Feb 2026 16:55:30 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id 38D965FDE6; Wed, 25 Feb 2026 16:55:30 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id C6627103692EB; Wed, 25 Feb 2026 17:55:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772038529; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=j+Jb1w0Df1lPZ9Z1w2OV+edF6GnVPq+ijZ497yS48L8=; b=QI9mEvyJTDu5mLGHAii+P0ko70C+fzfgFlv/CPUFLNqv+OxVZmN3RlSMljs0BJbQRsu6vE o+alAo03+J8pgsFAXXxEWUeDOsBLoeh1AXuyl4RNKCqEHG17R2tfJr9rdEyWiLvcQ6RtcS RG74LapEBekV12OLCk53+zZp3zGVBf1kKM5S60FbQa4B9grI4T3aBhhSMi3RCE3hrH2oCM Ie/uFUGG+vVYIONPJ0I6teggX5ipINJOcpSknAyFSsHPLTAR0F/r8tVAPKw4W/yQmS6dIW gZFiqAWkerxLdVDSjrsxbAMtXlU2ltQW/k3o7L6rO/vkqgyzcfomY14hAGfcgg== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 25 Feb 2026 17:55:23 +0100 Subject: [PATCH v7 2/3] MIPS: mobileye: eyeq5: add two Cadence GEM Ethernet controllers Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260225-macb-phy-v7-2-d3c9842ec931@bootlin.com> References: <20260225-macb-phy-v7-0-d3c9842ec931@bootlin.com> In-Reply-To: <20260225-macb-phy-v7-0-d3c9842ec931@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , =?utf-8?q?Beno=C3=AEt_Monin?= , Tawfik Bayouk , Thomas Petazzoni , Luca Ceresoli , =?utf-8?q?Th=C3=A9o_Lebrun?= X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 Add both MACB/GEM instances found in the Mobileye EyeQ5 SoC. Acked-by: Thomas Bogendoerfer Signed-off-by: Th=C3=A9o Lebrun --- arch/mips/boot/dts/mobileye/eyeq5.dtsi | 45 ++++++++++++++++++++++++++++++= ++++ 1 file changed, 45 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5.dtsi b/arch/mips/boot/dts/mo= bileye/eyeq5.dtsi index 36a73e8a63a1..cec5ad875228 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5.dtsi +++ b/arch/mips/boot/dts/mobileye/eyeq5.dtsi @@ -77,6 +77,8 @@ aliases { serial0 =3D &uart0; serial1 =3D &uart1; serial2 =3D &uart2; + ethernet0 =3D &macb0; + ethernet1 =3D &macb1; }; =20 cpu_intc: interrupt-controller { @@ -231,6 +233,7 @@ olb: system-controller@e00000 { #clock-cells =3D <1>; clocks =3D <&xtal>; clock-names =3D "ref"; + #phy-cells =3D <1>; }; =20 gic: interrupt-controller@140000 { @@ -305,6 +308,48 @@ gpio1: gpio@1500000 { #interrupt-cells =3D <2>; resets =3D <&olb 0 26>; }; + + iocu-bus { + compatible =3D "simple-bus"; + #address-cells =3D <2>; + #size-cells =3D <2>; + ranges; + dma-coherent; + dma-ranges =3D <0x10 0x00000000 0x0 0x0 0x10 0>; + + macb0: ethernet@2a00000 { + compatible =3D "mobileye,eyeq5-gem"; + reg =3D <0x0 0x02a00000 0x0 0x4000>; + interrupt-parent =3D <&gic>; + /* One interrupt per queue */ + interrupts =3D , + , + , + ; + clock-names =3D "pclk", "hclk", "tsu_clk"; + clocks =3D <&pclk>, <&pclk>, <&tsu_clk>; + nvmem-cells =3D <ð0_mac>; + nvmem-cell-names =3D "mac-address"; + phys =3D <&olb 0>; + }; + + macb1: ethernet@2b00000 { + compatible =3D "mobileye,eyeq5-gem"; + reg =3D <0x0 0x02b00000 0x0 0x4000>; + interrupt-parent =3D <&gic>; + /* One interrupt per queue */ + interrupts =3D , + , + , + ; + clock-names =3D "pclk", "hclk", "tsu_clk"; + clocks =3D <&pclk>, <&pclk>, <&tsu_clk>; + nvmem-cells =3D <ð1_mac>; + nvmem-cell-names =3D "mac-address"; + phys =3D <&olb 1>; + }; + }; + }; }; =20 --=20 2.53.0 From nobody Thu Apr 16 20:47:13 2026 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 41F093E9F77 for ; Wed, 25 Feb 2026 16:55:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772038534; cv=none; b=CzUjVUMItqXzE+wbzeWYaTzYppdTUMbKUc0800ae1olnhNpyUt3CXI+ixYELcPv3McMUhuvPFN4etUeQou2PukO6KF9kZgr8XgBzex8jmgFeItCNuiCQS3w/AdzeSv5QYp1bVrIkJmTUIfxcZ+vPoePpzoJFB29n2wTEgZkwNfo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772038534; c=relaxed/simple; bh=lfCmOAYsFOuaFioBHXU/Fxe5X8x0mVX0XYGpyf9HdFM=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=ZlTujyRWnHDeii8NREFR98bI7PdsDNEk9XWnan5fMYl1GeZe+8HJXiD1OI0RIO0Y0iNaQPqMovtG0yHURsz0sXMzoukKHIPmxWSzpo3YfeLjC5FC1g3dVTA7hm7z1UqsViovL9VHHC1yD3m08Sn/b/Xipoyl3L3zwKrsf432pJU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=0cKogkyu; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="0cKogkyu" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 0043A4E41120; Wed, 25 Feb 2026 16:55:32 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C56AF5FDE6; Wed, 25 Feb 2026 16:55:31 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 9230A103692F2; Wed, 25 Feb 2026 17:55:29 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1772038530; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=S4PT0EOtNN8V8/JEJcfrAOeeozUfCp8lyxHnrqb8ZSQ=; b=0cKogkyucxou7NZlkekTQ++BWFpRf1Zc097YxG3T+VHrdkPpr90WSwJsG4PHSWFg38I6J+ cW62yD8O2JS56bn3C+H5VDZ7PuPh1ee2nv68tVRfYPAOGIvQfeMroluG9KkfTF8zYYacCb kVxW+JPQJQm6UNTNDForUTN0ZqpDwt7x60F4Lm07Mzkbs7TiMNpWg+RIJbFuTZUcHxlvh+ ypdbOeQpMIp4cZ+ybDTcazcTku46okfeRUL4pmzDdaf1awt8PqF1yxuHqJFyoUHE9LFjJz 3qkrRkpVcOpyrubr1YE182FqfpHqIWMd6rGWT0c2Z9qSX4ZnCDV0i1T+tKfnIw== From: =?utf-8?q?Th=C3=A9o_Lebrun?= Date: Wed, 25 Feb 2026 17:55:24 +0100 Subject: [PATCH v7 3/3] MIPS: mobileye: eyeq5-epm: add two Cadence GEM Ethernet PHYs Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20260225-macb-phy-v7-3-d3c9842ec931@bootlin.com> References: <20260225-macb-phy-v7-0-d3c9842ec931@bootlin.com> In-Reply-To: <20260225-macb-phy-v7-0-d3c9842ec931@bootlin.com> To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Vladimir Kondratiev , Gregory CLEMENT , =?utf-8?q?Beno=C3=AEt_Monin?= , Tawfik Bayouk , Thomas Petazzoni , Luca Ceresoli , =?utf-8?q?Th=C3=A9o_Lebrun?= , Andrew Lunn X-Mailer: b4 0.14.3 X-Last-TLS-Session-Version: TLSv1.3 The Mobileye EyeQ5 eval board (EPM) embeds two MDIO PHYs. Reviewed-by: Andrew Lunn Acked-by: Thomas Bogendoerfer Signed-off-by: Th=C3=A9o Lebrun --- arch/mips/boot/dts/mobileye/eyeq5-epm5.dts | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts b/arch/mips/boot/dt= s/mobileye/eyeq5-epm5.dts index 9fc1a1b0a81b..babf52731ea6 100644 --- a/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts +++ b/arch/mips/boot/dts/mobileye/eyeq5-epm5.dts @@ -29,3 +29,29 @@ temperature-sensor@48 { label =3D "U60"; }; }; + +&macb0 { + phy-mode =3D "sgmii"; + phy-handle =3D <&macb0_phy>; + + mdio { + #address-cells =3D <1>; + #size-cells =3D <0>; + macb0_phy: ethernet-phy@e { + reg =3D <0xe>; + }; + }; +}; + +&macb1 { + phy-mode =3D "rgmii-id"; + phy-handle =3D <&macb1_phy>; + + mdio { + #address-cells =3D <1>; + #size-cells =3D <0>; + macb1_phy: ethernet-phy@e { + reg =3D <0xe>; + }; + }; +}; --=20 2.53.0