62 lines · yaml
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause2%YAML 1.23---4$id: http://devicetree.org/schemas/net/qcom,ipq8064-mdio.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Qualcomm ipq806x MDIO bus controller8 9maintainers:10 - Ansuel Smith <ansuelsmth@gmail.com>11 12description:13 The ipq806x soc have a MDIO dedicated controller that is14 used to communicate with the gmac phy connected.15 16allOf:17 - $ref: mdio.yaml#18 19properties:20 compatible:21 const: qcom,ipq8064-mdio22 23 reg:24 maxItems: 125 26 clocks:27 maxItems: 128 29required:30 - compatible31 - reg32 - clocks33 - "#address-cells"34 - "#size-cells"35 36unevaluatedProperties: false37 38examples:39 - |40 #include <dt-bindings/clock/qcom,gcc-ipq806x.h>41 42 mdio0: mdio@37000000 {43 #address-cells = <1>;44 #size-cells = <0>;45 46 compatible = "qcom,ipq8064-mdio";47 reg = <0x37000000 0x200000>;48 49 clocks = <&gcc GMAC_CORE1_CLK>;50 51 switch@10 {52 compatible = "qca,qca8337";53 reg = <0x10>;54 55 ports {56 #address-cells = <1>;57 #size-cells = <0>;58 /* ... */59 };60 };61 };62