From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.222.170 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796278435; b=KW+JjWkRuwiABnYQ/GpvpxiTCRzs+Bf1eX2aCKvv8qWxB6crS+gHTnvruLeZ9HBi5/lK nslVBu4rCHZHiOIA6fjXHaAvLw1kfUDQNRje2d2dk0C9GRSbFKbK6PS/2VUhJSIqZOsm2 jykaspR2qcYm604mP5++kRUh7iKrb775kVYIoGCnODaPS5X7UBy6HNQPNO20tLfwdiidY jBoAdbRoI8GNvT97Tifr66D45af0D2Ln77/BCN4bfj1IpZRuLXEgW8FL2n8iziqXlN98k nRFAMKtzrpEANMA/Xqer4ZkN7RNg/rGzkR5nLxboC1kCPbASYuE3NfWA4zitupTswIg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796278435; h=DMARC-Filter:Received:X-Google-DKIM-Signature:X-Forwarded-Encrypted: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:Date:Subject: MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id: References:In-Reply-To:To:Cc:X-Mailer; bh=ygYTH2wMXJCFteNK2MDiELZLL3jXB3zxR0OsifalOWk=; b=QG7zl09AsWc7yG516M3Sqq5du4Gjdxfg1q/8Bz4JOcQNfRKHRBaYH8ZblKoLfllNXLNx 9qfAS3cnH/sPED7CvidrMeYPqDa3g9JMLSeMsDutRJdxCdVd7B1K8D/smndMhlNtvktMn +aPHqyhvbAFrWv9CCdmMAYBqwaurq6pJIEXb7AFTkDuJx4JpOtrQf8/CPNO57ipl9VFp4 IYzF65jfAarR7v0YWOH3QQ3ue9a9zVADx1AvZGtNInpJ+t60BLsEVIwCd+zVYaTR9otMZ dFC6gwBqKZ/Per9KDP7uvqEV/7XLXkFoYCS4yhTjAYG1tTpJwnguu/CS1qwHw5ak8EA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=telaak.dev; spf=pass smtp.mailfrom=gmail.com; arc=none smtp.remote-ip=209.85.222.170 Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0154B606A680 for ; Thu, 3 Dec 2026 06:13:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 0154B606A680 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=telaak.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qk1-f170.google.com with SMTP id af79cd13be357-94958650b09so1312235885a.1 for ; Wed, 02 Dec 2026 22:13:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796278434; x=1796883234; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ygYTH2wMXJCFteNK2MDiELZLL3jXB3zxR0OsifalOWk=; b=vF8QB0ecfNo1/Y9/mVMm+PoMASuFmh0ANgTXZnKutw/mdWAyM7qD7N7vxwxQwATqRe eLrWTk6z+JcXQNFoyqaG7fSt5fIgzNuOvW+muCzls9Zdp50x4I+5cHvyMrOO5dpGc1XA tRi5wuyt/HWiW6hNn1Sz5bBfFI1hJJWAZ8zGklIlcqd4Dq0000+PIv99mM6+Pn4E7rnO W4kEaOf1lkzaahNLO7thuduJ3zyl+yRGv2D2AUE6MG+p8vrSikBoHe++hABED1PX44Gl 5q5Ml85MV/HzOJSWXFU7ND06mAfBpG18aEKF3yS9s89VRy5p6ZKWKc5xs+BFuG3Zd8dG 1Oeg== X-Forwarded-Encrypted: i=1; AL+hErHsfCU1rai2v0zkBa3VxWwvTjuBjt1344AA29nOMtkvEArZ7A0843Idgack/hP9Bfv1JV6nxo0ZSY0tiO0=@vger.kernel.org X-Gm-Message-State: APuU4Z8DHU1b6ueyfEVTQZjnq95smKXQjv6pctWk9+Ma3z3zW9pieB1N 2nV9LH5i9q6xCYBTZxD07bbGSDTuxoezcPLow+wAmCy1u/OBbk4QXoAJ X-Gm-Gg: AZFdTZd75eoe2V3R+85JvasEpU4Ett5Yc7G7Uv2b+oT8kywTDpOlWqhkliTypXRXEKM hkZzub5hyvCZZo33QmSgla49YexUYMnNiHoRg0cdPeEwBB0tZ9Kgw86ma8g31va7wdeWx9MMzro KlbrFqkAIyoLGcUuMVPd3M2eOXnYW5VslCJNLIp9D3+pktribKmGki0rMEAWtugUIdGBDI+VpFx k8TpFZuhitH9wmGbGroFTUZVhTAXmvQ8zggVfkKbfA4IUrTtk9TzXPM+uDkz7M2pwhMkcEHDdwc Lazupn+ebbCuj1GpUTfcRSGLuPeINHlzrmNfq3PBUfQA8PquQFbLszA+55y4VhNR9dZhFBR30n0 PH+H+6o9Gu79jNPieQCfAgDojmfuH1JWgtbM8DN7TFfjdPM9tdYBuViCDKM/PP74V+NPKPtbI7b WeeCF3lE1qlIzHtAWgyAIGiw9YnBLzNbAPyfvNwOXCOIP1N4Ev6XMQqTkMuHtPLiblepEDz41oT XVH95ImrUevCWzX6U+9P9BpSZX/WhE5Y9Q2botJeA2FyQ/v6MAwC/3coVsxgboF/hN0079TBsQy iy1clb+lgBCSQjQ5VLa0XzkM2sVKqWoaxN/ZWpCBk/99PulS1ozWJiN9Aej3PaYKTqm1yOQUA81 J7PO99DjGf0cLpLxu+e2kG26nA9SWpeUyPFuunDyyyqLzTs3tDTEOpf1/FDrOQPR8wxTJWm4NzT AOkp40LWHsc9whGeUW98LOiAy6 X-Received: by 2002:a05:620a:468d:b0:93e:d051:8f19 with SMTP id af79cd13be357-949ba9b3950mr7693112285a.40.1796278434028; Wed, 02 Dec 2026 22:13:54 -0800 (PST) Received: from 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa ([71.68.170.161]) by smtp.gmail.com with ESMTPSA id af79cd13be357-949ca98d9d6sm3077137885a.18.2026.12.02.22.13.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 22:13:53 -0800 (PST) From: Joseph Telaak Date: Thu, 03 Dec 2026 01:13:47 -0500 Subject: [PATCH iwl-next v2 1/4] dt-bindings: net: add the Intel CE4100 GbE X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20261203-e1000-phylink-v2-1-0a8f80515363@telaak.dev> References: <20261203-e1000-phylink-v2-0-0a8f80515363@telaak.dev> In-Reply-To: <20261203-e1000-phylink-v2-0-0a8f80515363@telaak.dev> To: Tony Nguyen , Przemek Kitszel , Andrew Lunn , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Russell King Cc: intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Joseph Telaak X-Mailer: b4 0.16.0 The Gigabit Ethernet MAC of the Intel CE4100 family (CE4100, CE4200, CE5300) is a PCI function, 8086:2e6e, driven by e1000. It has an RGMII interface, which can also run as RMII, and its own MDIO controller. Boards put a PHY on that bus or wire the MAC straight to a switch port, which the device tree describes on the PCI device's node with phy-mode and a phy-handle or a fixed-link. An mdio child node describes the MAC's MDIO bus. Document the node so those properties have a schema. The existing falconfalls CE4100 tree lists the full PCI bus binding set in compatible ("pci8086,2e6e.2", "pci8086,2e6e", "pciclass020000", "pciclass0200"); only the vendor/device form is documented here, and its IOAPIC interrupts do not fit the INTx pin pci-device.yaml allows either. Signed-off-by: Joseph Telaak --- .../devicetree/bindings/net/intel,ce4100-gbe.yaml | 92 ++++++++++++++++++++++ MAINTAINERS | 1 + 2 files changed, 93 insertions(+) diff --git a/Documentation/devicetree/bindings/net/intel,ce4100-gbe.yaml b/Documentation/devicetree/bindings/net/intel,ce4100-gbe.yaml new file mode 100644 index 000000000000..afaab28e4292 --- /dev/null +++ b/Documentation/devicetree/bindings/net/intel,ce4100-gbe.yaml @@ -0,0 +1,92 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/intel,ce4100-gbe.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Intel CE4100 family Gigabit Ethernet MAC + +maintainers: + - Joseph Telaak + +description: + The Gigabit Ethernet MAC built into the Intel CE4100 family of media SoCs + (CE4100, CE4200, CE5300), a PCI function on the SoC's internal bus. It has + an RGMII interface, which can also run as RMII, and its own MDIO + controller. A board either puts a PHY on that MDIO bus or wires the MAC + straight to a switch port. + +allOf: + - $ref: /schemas/pci/pci-device.yaml# + - $ref: ethernet-controller.yaml# + +properties: + compatible: + const: pci8086,2e6e + + reg: + maxItems: 1 + + phy-mode: + enum: + - rgmii + - rgmii-id + - rgmii-rxid + - rgmii-txid + - rmii + + managed: false + + mdio: + $ref: mdio.yaml# + unevaluatedProperties: false + +required: + - compatible + - reg + +dependencies: + fixed-link: [ phy-mode ] + phy-handle: [ phy-mode ] + +unevaluatedProperties: false + +examples: + - | + pci { + #address-cells = <3>; + #size-cells = <2>; + + ethernet@c,0 { + compatible = "pci8086,2e6e"; + reg = <0x6000 0 0 0 0>; + phy-mode = "rgmii-id"; + phy-handle = <&phy1>; + + mdio { + #address-cells = <1>; + #size-cells = <0>; + + phy1: ethernet-phy@1 { + reg = <1>; + }; + }; + }; + }; + - | + pci { + #address-cells = <3>; + #size-cells = <2>; + + ethernet@c,0 { + compatible = "pci8086,2e6e"; + reg = <0x6000 0 0 0 0>; + /* MAC to MAC: the switch port adds the RGMII delays */ + phy-mode = "rgmii"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; diff --git a/MAINTAINERS b/MAINTAINERS index 9336fa93ce38..5573e4204746 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -13424,6 +13424,7 @@ W: https://www.intel.com/content/www/us/en/support.html Q: https://patchwork.ozlabs.org/project/intel-wired-lan/list/ T: git git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue.git T: git git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/next-queue.git +F: Documentation/devicetree/bindings/net/intel,ce4100-gbe.yaml F: Documentation/networking/device_drivers/ethernet/intel/ F: drivers/net/ethernet/intel/ F: drivers/net/ethernet/intel/*/ -- Git-155)