From: Baruch Siach <baruch.siach@xxxxxxxxx> The IPQ60xx MDIO bus is the same as IPQ4019. Update the schema to allow qcom,ipq4019-mdio compatible as fallback for newer IPQ series. Signed-off-by: Baruch Siach <baruch.siach@xxxxxxxxx> --- v3: Correct the schema to fix yamllint failure (Rob's bot) v2: Update the schema to allow fallback compatible (Rob Herring) --- .../devicetree/bindings/net/qcom,ipq4019-mdio.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml index 2af304341772..dde8e6931ed3 100644 --- a/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml +++ b/Documentation/devicetree/bindings/net/qcom,ipq4019-mdio.yaml @@ -14,9 +14,13 @@ allOf: properties: compatible: - enum: - - qcom,ipq4019-mdio - - qcom,ipq5018-mdio + oneOf: + - const: qcom,ipq4019-mdio + - items: + - enum: + - qcom,ipq5018-mdio + - qcom,ipq6018-mdio + - const: qcom,ipq4019-mdio "#address-cells": const: 1 -- 2.34.1