1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/net/ti,davinci-mdio.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: TI SoC Davinci/Keystone2 MDIO Controller 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Grygorii Strashko <grygorii.strashko@ti.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: 13c66ec88fSEmmanuel Vadot TI SoC Davinci/Keystone2 MDIO Controller 14c66ec88fSEmmanuel Vadot 15c66ec88fSEmmanuel VadotallOf: 16*fac71e4eSEmmanuel Vadot - $ref: mdio.yaml# 17c66ec88fSEmmanuel Vadot 18c66ec88fSEmmanuel Vadotproperties: 19c66ec88fSEmmanuel Vadot compatible: 20c66ec88fSEmmanuel Vadot oneOf: 21c66ec88fSEmmanuel Vadot - const: ti,davinci_mdio 22c66ec88fSEmmanuel Vadot - items: 23c66ec88fSEmmanuel Vadot - const: ti,keystone_mdio 24c66ec88fSEmmanuel Vadot - const: ti,davinci_mdio 25c66ec88fSEmmanuel Vadot - items: 26c66ec88fSEmmanuel Vadot - const: ti,cpsw-mdio 27c66ec88fSEmmanuel Vadot - const: ti,davinci_mdio 28c66ec88fSEmmanuel Vadot - items: 29c66ec88fSEmmanuel Vadot - const: ti,am4372-mdio 30c66ec88fSEmmanuel Vadot - const: ti,cpsw-mdio 31c66ec88fSEmmanuel Vadot - const: ti,davinci_mdio 32c66ec88fSEmmanuel Vadot 33c66ec88fSEmmanuel Vadot reg: 34c66ec88fSEmmanuel Vadot maxItems: 1 35c66ec88fSEmmanuel Vadot 36c66ec88fSEmmanuel Vadot bus_freq: 37d5b0e70fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/uint32 38c66ec88fSEmmanuel Vadot maximum: 2500000 39c66ec88fSEmmanuel Vadot description: MDIO Bus frequency 40c66ec88fSEmmanuel Vadot 41e67e8565SEmmanuel Vadot clocks: 42e67e8565SEmmanuel Vadot maxItems: 1 43e67e8565SEmmanuel Vadot 44e67e8565SEmmanuel Vadot clock-names: 45e67e8565SEmmanuel Vadot items: 46e67e8565SEmmanuel Vadot - const: fck 47e67e8565SEmmanuel Vadot 48c66ec88fSEmmanuel Vadot ti,hwmods: 49c66ec88fSEmmanuel Vadot description: TI hwmod name 50c66ec88fSEmmanuel Vadot deprecated: true 51c66ec88fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/string-array 52c66ec88fSEmmanuel Vadot items: 53c66ec88fSEmmanuel Vadot const: davinci_mdio 54c66ec88fSEmmanuel Vadot 55c66ec88fSEmmanuel Vadotif: 56c66ec88fSEmmanuel Vadot properties: 57c66ec88fSEmmanuel Vadot compatible: 58c66ec88fSEmmanuel Vadot contains: 59c66ec88fSEmmanuel Vadot const: ti,davinci_mdio 60c9ccf3a3SEmmanuel Vadotthen: 61c66ec88fSEmmanuel Vadot required: 62c66ec88fSEmmanuel Vadot - bus_freq 63c66ec88fSEmmanuel Vadot 64c66ec88fSEmmanuel Vadotrequired: 65c66ec88fSEmmanuel Vadot - compatible 66c66ec88fSEmmanuel Vadot - reg 67c66ec88fSEmmanuel Vadot - "#address-cells" 68c66ec88fSEmmanuel Vadot - "#size-cells" 69c66ec88fSEmmanuel Vadot 706be33864SEmmanuel VadotunevaluatedProperties: false 716be33864SEmmanuel Vadot 72c66ec88fSEmmanuel Vadotexamples: 73c66ec88fSEmmanuel Vadot - | 74c66ec88fSEmmanuel Vadot davinci_mdio: mdio@4a101000 { 75c66ec88fSEmmanuel Vadot compatible = "ti,davinci_mdio"; 76c66ec88fSEmmanuel Vadot #address-cells = <1>; 77c66ec88fSEmmanuel Vadot #size-cells = <0>; 78c66ec88fSEmmanuel Vadot reg = <0x4a101000 0x1000>; 79c66ec88fSEmmanuel Vadot bus_freq = <1000000>; 80c66ec88fSEmmanuel Vadot }; 81