Vladimir Oltean
9cc115d8d6
dt-bindings: net: dsa: remove label = "cpu" from examples
...
This is not used by the DSA dt-binding, so remove it from all examples.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com >
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com >
Acked-by: Arınç ÜNAL <arinc.unal@arinc9.com >
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: Jakub Kicinski <kuba@kernel.org >
2022-09-19 17:59:53 -07:00
Egil Hjelmeland
68d50fa494
net: dsa: lan9303: Fix syntax errors in device tree examples
...
Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no >
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-11-08 13:29:06 +09:00
Rob Herring
4da722ca19
dt-bindings: Remove "status" from examples
...
Pretty much any node can have a status property, so it doesn't need to
be in examples.
Converted with the following command and removed examples with SoC and
board specific splits:
git grep -l -E 'status.*=.*' Documentation/devicetree/ | xargs sed -i -E '/\sstatus.*=.*"(disabled|ok|okay)/d'
Acked-by: Mark Rutland <mark.rutland@arm.com >
Signed-off-by: Rob Herring <robh@kernel.org >
2017-09-05 10:03:06 -05:00
Juergen Beisert
dc70058315
net: dsa: LAN9303: add MDIO managed mode support
...
When the LAN9303 device is in MDIO manged mode, all register accesses must
be done via MDIO.
Please note: this code is compile time tested only due to the absence of such
configured hardware. It is based on a patch from Stefan Roese from 2014.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de >
CC: devicetree@vger.kernel.org
CC: robh+dt@kernel.org
CC: mark.rutland@arm.com
CC: sr@denx.de
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-04-20 13:48:55 -04:00
Juergen Beisert
be4e119f99
net: dsa: LAN9303: add I2C managed mode support
...
In this mode the switch device and the internal phys will be managed via
I2C interface. The MDIO interface is still supported, but for the
(emulated) CPU port only.
Signed-off-by: Juergen Borleis <jbe@pengutronix.de >
CC: devicetree@vger.kernel.org
CC: robh+dt@kernel.org
CC: mark.rutland@arm.com
Acked-by: Rob Herring <robh@kernel.org >
Signed-off-by: David S. Miller <davem@davemloft.net >
2017-04-20 13:48:54 -04:00