1 Properties for an MDIO bus multiplexer/switch controlled by GPIO pins.
3 This is a special case of a MDIO bus multiplexer. One or more GPIO
4 lines are used to control which child bus is connected.
6 Required properties in addition to the generic multiplexer properties:
8 - compatible : mdio-mux-gpio.
9 - gpios : GPIO specifiers for each GPIO line. One or more must be specified.
14 /* The parent MDIO bus. */
15 smi1: mdio@1180000001900 {
16 compatible = "cavium,octeon-3860-mdio";
19 reg = <0x11800 0x00001900 0x0 0x40>;
23 An NXP sn74cbtlv3253 dual 1-of-4 switch controlled by a
24 pair of GPIO lines. Child busses 2 and 3 populated with 4
28 compatible = "mdio-mux-gpio";
29 gpios = <&gpio1 3 0>, <&gpio1 4 0>;
30 mdio-parent-bus = <&smi1>;
39 phy11: ethernet-phy@1 {
41 marvell,reg-init = <3 0x10 0 0x5777>,
45 interrupt-parent = <&gpio>;
46 interrupts = <10 8>; /* Pin 10, active low */
48 phy12: ethernet-phy@2 {
50 marvell,reg-init = <3 0x10 0 0x5777>,
54 interrupt-parent = <&gpio>;
55 interrupts = <10 8>; /* Pin 10, active low */
57 phy13: ethernet-phy@3 {
59 marvell,reg-init = <3 0x10 0 0x5777>,
63 interrupt-parent = <&gpio>;
64 interrupts = <10 8>; /* Pin 10, active low */
66 phy14: ethernet-phy@4 {
68 marvell,reg-init = <3 0x10 0 0x5777>,
72 interrupt-parent = <&gpio>;
73 interrupts = <10 8>; /* Pin 10, active low */
82 phy21: ethernet-phy@1 {
84 marvell,reg-init = <3 0x10 0 0x5777>,
88 interrupt-parent = <&gpio>;
89 interrupts = <12 8>; /* Pin 12, active low */
91 phy22: ethernet-phy@2 {
93 marvell,reg-init = <3 0x10 0 0x5777>,
97 interrupt-parent = <&gpio>;
98 interrupts = <12 8>; /* Pin 12, active low */
100 phy23: ethernet-phy@3 {
102 marvell,reg-init = <3 0x10 0 0x5777>,
106 interrupt-parent = <&gpio>;
107 interrupts = <12 8>; /* Pin 12, active low */
109 phy24: ethernet-phy@4 {
111 marvell,reg-init = <3 0x10 0 0x5777>,
115 interrupt-parent = <&gpio>;
116 interrupts = <12 8>; /* Pin 12, active low */