Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dt: mdio-mux: Add mdio multiplexer driver node

Add integrated MDIO multiplexer driver node which contains
two mux PCIe bus and one ethernet bus along with phys
lying on these bus.

Signed-off-by: Pramod Kumar <pramod.kumar@broadcom.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Pramod Kumar and committed by
David S. Miller
5f1a067b ce8d5dbf

+55
+16
arch/arm64/boot/dts/broadcom/ns2-svk.dts
··· 52 52 }; 53 53 }; 54 54 55 + &pci_phy0 { 56 + status = "ok"; 57 + }; 58 + 59 + &pci_phy1 { 60 + status = "ok"; 61 + }; 62 + 55 63 &pcie0 { 56 64 status = "ok"; 57 65 }; ··· 138 130 nand-ecc-step-size = <512>; 139 131 #address-cells = <1>; 140 132 #size-cells = <1>; 133 + }; 134 + }; 135 + 136 + &mdio_mux_iproc { 137 + mdio@10 { 138 + gphy0: eth-phy@10 { 139 + reg = <0x10>; 140 + }; 141 141 }; 142 142 };
+39
arch/arm64/boot/dts/broadcom/ns2.dtsi
··· 263 263 IRQ_TYPE_LEVEL_HIGH)>; 264 264 }; 265 265 266 + mdio_mux_iproc: mdio-mux@6602023c { 267 + compatible = "brcm,mdio-mux-iproc"; 268 + reg = <0x6602023c 0x14>; 269 + #address-cells = <1>; 270 + #size-cells = <0>; 271 + 272 + mdio@0 { 273 + reg = <0x0>; 274 + #address-cells = <1>; 275 + #size-cells = <0>; 276 + 277 + pci_phy0: pci-phy@0 { 278 + compatible = "brcm,ns2-pcie-phy"; 279 + reg = <0x0>; 280 + #phy-cells = <0>; 281 + status = "disabled"; 282 + }; 283 + }; 284 + 285 + mdio@7 { 286 + reg = <0x7>; 287 + #address-cells = <1>; 288 + #size-cells = <0>; 289 + 290 + pci_phy1: pci-phy@0 { 291 + compatible = "brcm,ns2-pcie-phy"; 292 + reg = <0x0>; 293 + #phy-cells = <0>; 294 + status = "disabled"; 295 + }; 296 + }; 297 + 298 + mdio@10 { 299 + reg = <0x10>; 300 + #address-cells = <1>; 301 + #size-cells = <0>; 302 + }; 303 + }; 304 + 266 305 timer0: timer@66030000 { 267 306 compatible = "arm,sp804", "arm,primecell"; 268 307 reg = <0x66030000 0x1000>;