Freescale CPM MDIO Device
Schema identifier ($id): "http://devicetree.org/schemas/net/fsl,cpm-mdio.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Frank Li <Frank.Li@nxp.com>"
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"fsl,pq1-fec-mdio","fsl,cpm2-mdio-bitbang"
Rule 2
Array item rules (
items)Item 1
Exact value (
const):"fsl,mpc8272ads-mdio-bitbang"Item 2
Exact value (
const):"fsl,mpc8272-mdio-bitbang"Item 3
Exact value (
const):"fsl,cpm2-mdio-bitbang"
reg — required here #
Maximum number of items (maxItems): 1
fsl,mdio-pin — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
pin of port C controlling mdio data
fsl,mdc-pin — not listed as required here #
Shared schema rule ($ref): /schemas/types.yaml#/definitions/uint32
pin of port C controlling mdio clock
Required in this object (required): "compatible", "reg"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mdio.yaml#
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mdio@10d40 {
compatible = "fsl,mpc8272ads-mdio-bitbang",
"fsl,mpc8272-mdio-bitbang",
"fsl,cpm2-mdio-bitbang";
reg = <0x10d40 0x14>;
#address-cells = <1>;
#size-cells = <0>;
fsl,mdio-pin = <12>;
fsl,mdc-pin = <13>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)