]> www.infradead.org Git - users/dwmw2/linux.git/commit
dt-bindings: net: Add Realtek MDIO controller
authorChris Packham <chris.packham@alliedtelesis.co.nz>
Tue, 18 Feb 2025 19:52:14 +0000 (08:52 +1300)
committerJakub Kicinski <kuba@kernel.org>
Fri, 21 Feb 2025 23:07:15 +0000 (15:07 -0800)
commit96757457da0ee36b99ced7a978476d521dddd49d
treeb17b27e5aaca4a56c5721a035c81fc2d3369be1d
parent92575a2182376e1244fe0c45e85158f5ebbd7b51
dt-bindings: net: Add Realtek MDIO controller

Add dtschema for the MDIO controller found in the RTL9300 Ethernet
switch. The controller is slightly unusual in that direct MDIO
communication is not possible. We model the MDIO controller with the
MDIO buses as child nodes and the PHYs as children of the buses. The
mapping of switch port number to MDIO bus/addr requires the
ethernet-ports sibling to provide the mapping via the phy-handle
property.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Link: https://patch.msgid.link/20250218195216.1034220-4-chris.packham@alliedtelesis.co.nz
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Documentation/devicetree/bindings/net/realtek,rtl9301-mdio.yaml [new file with mode: 0644]
Documentation/devicetree/bindings/net/realtek,rtl9301-switch.yaml