1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/net/ti,davi 4 $id: http://devicetree.org/schemas/net/ti,davinci-mdio.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: TI SoC Davinci/Keystone2 MDIO Controlle 7 title: TI SoC Davinci/Keystone2 MDIO Controller 8 8 9 maintainers: 9 maintainers: 10 - Grygorii Strashko <grygorii.strashko@ti.com 10 - Grygorii Strashko <grygorii.strashko@ti.com> 11 11 12 description: 12 description: 13 TI SoC Davinci/Keystone2 MDIO Controller 13 TI SoC Davinci/Keystone2 MDIO Controller 14 14 15 allOf: 15 allOf: 16 - $ref: mdio.yaml# 16 - $ref: mdio.yaml# 17 17 18 properties: 18 properties: 19 compatible: 19 compatible: 20 oneOf: 20 oneOf: 21 - const: ti,davinci_mdio 21 - const: ti,davinci_mdio 22 - items: 22 - items: 23 - const: ti,keystone_mdio 23 - const: ti,keystone_mdio 24 - const: ti,davinci_mdio 24 - const: ti,davinci_mdio 25 - items: 25 - items: 26 - const: ti,cpsw-mdio 26 - const: ti,cpsw-mdio 27 - const: ti,davinci_mdio 27 - const: ti,davinci_mdio 28 - items: 28 - items: 29 - const: ti,am4372-mdio 29 - const: ti,am4372-mdio 30 - const: ti,cpsw-mdio 30 - const: ti,cpsw-mdio 31 - const: ti,davinci_mdio 31 - const: ti,davinci_mdio 32 32 33 reg: 33 reg: 34 maxItems: 1 34 maxItems: 1 35 35 36 bus_freq: 36 bus_freq: 37 $ref: /schemas/types.yaml#/definitions/uin 37 $ref: /schemas/types.yaml#/definitions/uint32 38 maximum: 2500000 38 maximum: 2500000 39 description: MDIO Bus frequency 39 description: MDIO Bus frequency 40 40 41 clocks: 41 clocks: 42 maxItems: 1 42 maxItems: 1 43 43 44 clock-names: 44 clock-names: 45 items: 45 items: 46 - const: fck 46 - const: fck 47 47 48 ti,hwmods: 48 ti,hwmods: 49 description: TI hwmod name 49 description: TI hwmod name 50 deprecated: true 50 deprecated: true 51 $ref: /schemas/types.yaml#/definitions/str 51 $ref: /schemas/types.yaml#/definitions/string-array 52 items: 52 items: 53 const: davinci_mdio 53 const: davinci_mdio 54 54 55 if: 55 if: 56 properties: 56 properties: 57 compatible: 57 compatible: 58 contains: 58 contains: 59 const: ti,davinci_mdio 59 const: ti,davinci_mdio 60 then: 60 then: 61 required: 61 required: 62 - bus_freq 62 - bus_freq 63 63 64 required: 64 required: 65 - compatible 65 - compatible 66 - reg 66 - reg 67 - "#address-cells" 67 - "#address-cells" 68 - "#size-cells" 68 - "#size-cells" 69 69 70 unevaluatedProperties: false 70 unevaluatedProperties: false 71 71 72 examples: 72 examples: 73 - | 73 - | 74 davinci_mdio: mdio@4a101000 { 74 davinci_mdio: mdio@4a101000 { 75 compatible = "ti,davinci_mdio"; 75 compatible = "ti,davinci_mdio"; 76 #address-cells = <1>; 76 #address-cells = <1>; 77 #size-cells = <0>; 77 #size-cells = <0>; 78 reg = <0x4a101000 0x1000>; 78 reg = <0x4a101000 0x1000>; 79 bus_freq = <1000000>; 79 bus_freq = <1000000>; 80 }; 80 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.