Files
kernel-starfive-jh7110/Documentation/devicetree/bindings/net/mdio-gpio.yaml
Rob Herring 3079bfdbda dt-bindings: net: Drop unneeded quotes
Cleanup bindings dropping unneeded quotes. Once all these are fixed,
checking for this can be enabled in yamllint.

Acked-by: Marc Kleine-Budde <mkl@pengutronix.de> # for bindings/net/can
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Acked-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Steen Hegelund <Steen.Hegelund@microchip.com>
Signed-off-by: Rob Herring <robh@kernel.org>
Acked-by: Nobuhiro Iwamatsu <nobuhiro1.iwamatsu@toshiba.co.jp> # for bindings/net/toshiba,visconti-dwmac.yaml
Reviewed-by: Heiko Stuebner <heiko@sntech.de> #rockchip
Link: https://lore.kernel.org/r/20230320233758.2918972-1-robh@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-22 21:54:19 -07:00

58 lines
1.0 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/net/mdio-gpio.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: MDIO on GPIOs
maintainers:
- Andrew Lunn <andrew@lunn.ch>
- Heiner Kallweit <hkallweit1@gmail.com>
- Russell King <linux@armlinux.org.uk>
allOf:
- $ref: mdio.yaml#
properties:
compatible:
enum:
- virtual,mdio-gpio
- microchip,mdio-smi0
"#address-cells":
const: 1
"#size-cells":
const: 0
gpios:
minItems: 2
items:
- description: MDC
- description: MDIO
- description: MDO
#Note: Each gpio-mdio bus should have an alias correctly numbered in "aliases"
#node.
additionalProperties:
type: object
examples:
- |
aliases {
mdio-gpio0 = &mdio0;
};
mdio0: mdio {
compatible = "virtual,mdio-gpio";
#address-cells = <1>;
#size-cells = <0>;
gpios = <&qe_pio_a 11>,
<&qe_pio_c 6>;
ethphy0: ethernet-phy@0 {
reg = <0>;
};
};
...