dt-bindings: net: Use phy-mode instead of phy-connection-type

When adding support for the DWMAC (and derivatives) bindings,
phy-connection-type was required, even though the previous binding required
the equivalent phy-mode.

Let's fix this by using phy-mode as we should have.

Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Maxime Ripard 2019-07-03 11:55:12 +02:00 committed by Rob Herring
parent ed8e3f51b6
commit 67d0da9916
3 changed files with 8 additions and 8 deletions

View File

@ -44,7 +44,7 @@ required:
- interrupt-names - interrupt-names
- clocks - clocks
- clock-names - clock-names
- phy-connection-type - phy-mode
examples: examples:
- | - |
@ -55,7 +55,7 @@ examples:
interrupt-names = "macirq"; interrupt-names = "macirq";
clocks = <&ahb_gates 49>, <&gmac_tx>; clocks = <&ahb_gates 49>, <&gmac_tx>;
clock-names = "stmmaceth", "allwinner_gmac_tx"; clock-names = "stmmaceth", "allwinner_gmac_tx";
phy-connection-type = "mii"; phy-mode = "mii";
}; };
# FIXME: We should set it, but it would report all the generic # FIXME: We should set it, but it would report all the generic

View File

@ -52,8 +52,8 @@ required:
- clock-names - clock-names
- resets - resets
- reset-names - reset-names
- phy-connection-type
- phy-handle - phy-handle
- phy-mode
- syscon - syscon
allOf: allOf:
@ -198,7 +198,7 @@ examples:
clock-names = "stmmaceth"; clock-names = "stmmaceth";
phy-handle = <&int_mii_phy>; phy-handle = <&int_mii_phy>;
phy-connection-type = "mii"; phy-mode = "mii";
allwinner,leds-active-low; allwinner,leds-active-low;
mdio1: mdio { mdio1: mdio {
@ -249,7 +249,7 @@ examples:
clock-names = "stmmaceth"; clock-names = "stmmaceth";
phy-handle = <&ext_rgmii_phy>; phy-handle = <&ext_rgmii_phy>;
phy-connection-type = "rgmii"; phy-mode = "rgmii";
allwinner,leds-active-low; allwinner,leds-active-low;
mdio2: mdio { mdio2: mdio {
@ -301,7 +301,7 @@ examples:
clocks = <&ccu 27>; clocks = <&ccu 27>;
clock-names = "stmmaceth"; clock-names = "stmmaceth";
phy-handle = <&ext_rgmii_phy1>; phy-handle = <&ext_rgmii_phy1>;
phy-connection-type = "rgmii"; phy-mode = "rgmii";
mdio { mdio {
compatible = "snps,dwmac-mdio"; compatible = "snps,dwmac-mdio";

View File

@ -261,7 +261,7 @@ required:
- reg - reg
- interrupts - interrupts
- interrupt-names - interrupt-names
- phy-connection-type - phy-mode
dependencies: dependencies:
snps,reset-active-low: ["snps,reset-gpio"] snps,reset-active-low: ["snps,reset-gpio"]
@ -384,7 +384,7 @@ examples:
interrupt-names = "macirq", "eth_wake_irq", "eth_lpi"; interrupt-names = "macirq", "eth_wake_irq", "eth_lpi";
mac-address = [000000000000]; /* Filled in by U-Boot */ mac-address = [000000000000]; /* Filled in by U-Boot */
max-frame-size = <3800>; max-frame-size = <3800>;
phy-connection-type = "gmii"; phy-mode = "gmii";
snps,multicast-filter-bins = <256>; snps,multicast-filter-bins = <256>;
snps,perfect-filter-entries = <128>; snps,perfect-filter-entries = <128>;
rx-fifo-depth = <16384>; rx-fifo-depth = <16384>;