1 SMSC/MicroChip LAN9303 three port ethernet switch
2 -------------------------------------------------
6 - compatible: should be
7 - "smsc,lan9303-i2c" for I2C managed mode
9 - "smsc,lan9303-mdio" for mdio managed mode
13 - reset-gpios: GPIO to be used to reset the whole device
14 - reset-duration: reset duration in milliseconds, defaults to 200 ms
18 The integrated switch subnode should be specified according to the binding
19 described in dsa/dsa.txt. The CPU port of this switch is always port 0.
21 Note: always use 'reg = <0/1/2>;' for the three DSA ports, even if the device is
22 configured to use 1/2/3 instead. This hardware configuration will be
23 auto-detected and mapped accordingly.
29 master: masterdevice@X {
31 fixed-link { /* RMII fixed link to LAN9303 */
38 compatible = "smsc,lan9303-i2c";
40 reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
41 reset-duration = <200>;
47 port@0 { /* RMII fixed link to master */
53 port@1 { /* external port 1 */
58 port@2 { /* external port 2 */
67 master: masterdevice@X {
68 phy-handle = <&switch>;
74 switch: switch-phy@0 {
75 compatible = "smsc,lan9303-mdio";
77 reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
78 reset-duration = <100>;
90 port@1 { /* external port 1 */
95 port@2 { /* external port 2 */