1ae9e82ccSAnsuel Smith# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2ae9e82ccSAnsuel Smith%YAML 1.2 3ae9e82ccSAnsuel Smith--- 4ae9e82ccSAnsuel Smith$id: http://devicetree.org/schemas/net/qcom,ipq8064-mdio.yaml# 5ae9e82ccSAnsuel Smith$schema: http://devicetree.org/meta-schemas/core.yaml# 6ae9e82ccSAnsuel Smith 7ae9e82ccSAnsuel Smithtitle: Qualcomm ipq806x MDIO bus controller 8ae9e82ccSAnsuel Smith 9ae9e82ccSAnsuel Smithmaintainers: 10ae9e82ccSAnsuel Smith - Ansuel Smith <ansuelsmth@gmail.com> 11ae9e82ccSAnsuel Smith 12ae9e82ccSAnsuel Smithdescription: 13ae9e82ccSAnsuel Smith The ipq806x soc have a MDIO dedicated controller that is 14ae9e82ccSAnsuel Smith used to communicate with the gmac phy connected. 15ae9e82ccSAnsuel Smith 16ae9e82ccSAnsuel SmithallOf: 17ae9e82ccSAnsuel Smith - $ref: "mdio.yaml#" 18ae9e82ccSAnsuel Smith 19ae9e82ccSAnsuel Smithproperties: 20ae9e82ccSAnsuel Smith compatible: 21ae9e82ccSAnsuel Smith const: qcom,ipq8064-mdio 22ae9e82ccSAnsuel Smith 23ae9e82ccSAnsuel Smith reg: 24ae9e82ccSAnsuel Smith maxItems: 1 25ae9e82ccSAnsuel Smith 26ae9e82ccSAnsuel Smith clocks: 27ae9e82ccSAnsuel Smith maxItems: 1 28ae9e82ccSAnsuel Smith 29ae9e82ccSAnsuel Smithrequired: 30ae9e82ccSAnsuel Smith - compatible 31ae9e82ccSAnsuel Smith - reg 32ae9e82ccSAnsuel Smith - clocks 33ae9e82ccSAnsuel Smith - "#address-cells" 34ae9e82ccSAnsuel Smith - "#size-cells" 35ae9e82ccSAnsuel Smith 36ae9e82ccSAnsuel Smithexamples: 37ae9e82ccSAnsuel Smith - | 38ae9e82ccSAnsuel Smith #include <dt-bindings/clock/qcom,gcc-ipq806x.h> 39ae9e82ccSAnsuel Smith 40ae9e82ccSAnsuel Smith mdio0: mdio@37000000 { 41ae9e82ccSAnsuel Smith #address-cells = <1>; 42ae9e82ccSAnsuel Smith #size-cells = <0>; 43ae9e82ccSAnsuel Smith 44ae9e82ccSAnsuel Smith compatible = "qcom,ipq8064-mdio"; 45ae9e82ccSAnsuel Smith reg = <0x37000000 0x200000>; 46ae9e82ccSAnsuel Smith 47ae9e82ccSAnsuel Smith clocks = <&gcc GMAC_CORE1_CLK>; 48ae9e82ccSAnsuel Smith 49ae9e82ccSAnsuel Smith switch@10 { 50ae9e82ccSAnsuel Smith compatible = "qca,qca8337"; 51ae9e82ccSAnsuel Smith /* ... */ 52ae9e82ccSAnsuel Smith }; 53ae9e82ccSAnsuel Smith }; 54