From: Nikita Shubin Date: Tue, 2 May 2023 11:56:50 +0000 (+0300) Subject: fixup! dt-bindings: net: Add DT bindings ep93xx eth X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=7e2df289acdf290668346cc846e184dd2567fec5;p=linux.git fixup! dt-bindings: net: Add DT bindings ep93xx eth --- diff --git a/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml b/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml new file mode 100644 index 0000000000000..785ab9437e13a --- /dev/null +++ b/Documentation/devicetree/bindings/net/cirrus,ep9301-eth.yaml @@ -0,0 +1,65 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/net/cirrus,ep9301_eth.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: EP93xx SoC Ethernet Controller + +maintainers: + - Hartley Sweeten + - Alexander Sverdlin + - Nikita Shubin + +allOf: + - $ref: ethernet-controller.yaml# + +properties: + compatible: + oneOf: + - const: cirrus,ep9301-eth + - items: + - enum: + - cirrus,ep9302-eth + - cirrus,ep9307-eth + - cirrus,ep9312-eth + - cirrus,ep9315-eth + - const: cirrus,ep9301-eth + + reg: + items: + - description: The physical base address and size of IO range + + interrupts: + items: + - description: Combined signal for various interrupt events + + phy-handle: true + +required: + - compatible + - reg + - interrupts + - phy-handle + +additionalProperties: false + +examples: + - | + eth@80010000 { + compatible = "cirrus,ep9301-eth"; + reg = <0x80010000 0x10000>; + interrupt-parent = <&vic1>; + interrupts = <7>; + phy-handle = <&phy0>; + mdio { + #address-cells = <1>; + #size-cells = <0>; + phy0: ethernet-phy@1 { + reg = <1>; + device_type = "ethernet-phy"; + }; + }; + }; + +... diff --git a/Documentation/devicetree/bindings/net/cirrus,ep93xx_eth.yaml b/Documentation/devicetree/bindings/net/cirrus,ep93xx_eth.yaml deleted file mode 100644 index 7e73cf0ddde97..0000000000000 --- a/Documentation/devicetree/bindings/net/cirrus,ep93xx_eth.yaml +++ /dev/null @@ -1,51 +0,0 @@ -# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) -%YAML 1.2 ---- -$id: http://devicetree.org/schemas/net/cirrus,ep93xx_eth.yaml# -$schema: http://devicetree.org/meta-schemas/core.yaml# - -title: The ethernet hardware included in EP93xx CPUs module Device Tree Bindings - -maintainers: - - Hartley Sweeten - -properties: - compatible: - const: cirrus,ep9301-eth - - reg: - items: - - description: The physical base address and size of IO range - - interrupts: - items: - - description: Combined signal for various interrupt events - - copy_addr: - type: boolean - description: - Flag indicating that the MAC address should be copied - from the IndAd registers (as programmed by the bootloader) - - phy_id: - description: MII phy_id to use - -required: - - compatible - - reg - - interrupts - -additionalProperties: false - -examples: - - | - eth0: eth@80010000 { - compatible = "cirrus,ep9301-eth"; - reg = <0x80010000 0x10000>; - interrupt-parent = <&vic1>; - interrupts = <7>; - copy_addr; - phy_id = < 1 >; - }; - -...