Microsemi MII Management Controller (MIIM)
Schema identifier ($id): "http://devicetree.org/schemas/net/mscc,miim.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Alexandre Belloni <alexandre.belloni@bootlin.com>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):mdio.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exactly one of these rules must match (oneOf) #
Rule 1
Allowed values (
enum):"mscc,ocelot-miim","microchip,lan966x-miim"
Rule 2
Array item rules (
items)Item 1
Item 2
Exact value (
const):"mscc,ocelot-miim"
#address-cells — required here #
Exact value (const): 1
#size-cells — required here #
Exact value (const): 0
reg — required here #
Array item rules (items) #
Item 1
base address
Item 2
associated reset register for internal PHYs
Minimum number of items (minItems): 1
interrupts — not listed as required here #
Maximum number of items (maxItems): 1
clocks — not listed as required here #
Maximum number of items (maxItems): 1
clock-frequency — not listed as required here #
true — No constraints added by this property rule.
resets — not listed as required here #
Array item rules (items) #
Item 1
Reset shared with all blocks attached to the Switch Core Register Bus (CSR) including VRAP slave.
reset-names — not listed as required here #
Array item rules (items) #
Item 1
Exact value (
const):"switch"
Required in this object (required): "compatible", "reg", "#address-cells", "#size-cells"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
mdio@107009c {
compatible = "mscc,ocelot-miim";
reg = <0x107009c 0x36>, <0x10700f0 0x8>;
interrupts = <14>;
#address-cells = <1>;
#size-cells = <0>;
phy0: ethernet-phy@0 {
reg = <0>;
};
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause