Smart Mixed-Signal Connectivity (SMSC) LAN91C9x/91C1xx Controller
Schema identifier ($id): "http://devicetree.org/schemas/net/smsc,lan91c111.yaml#"
Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"
Maintainers (maintainers): "Nicolas Pitre <nico@fluxnic.net>"
All of these rules must match (allOf) #
Rule 1 #
Shared schema rule (
$ref):ethernet-controller.yaml#
Properties and child nodes (properties) #
compatible — required here #
Exact value (const): "smsc,lan91c111"
reg — required here #
Maximum number of items (maxItems): 1
interrupts — required here #
Maximum number of items (maxItems): 1
reg-shift — not listed as required here #
true — No constraints added by this property rule.
reg-io-width — not listed as required here #
Allowed values (enum): 1, 2, 4
Default value (default): 4
reset-gpios — not listed as required here #
GPIO connected to control RESET pin
Maximum number of items (maxItems): 1
power-gpios — not listed as required here #
GPIO connect to control PWRDWN pin
Maximum number of items (maxItems): 1
pxa-u16-align4 — not listed as required here #
put in place the workaround the force all u16 writes to be 32 bits aligned
Value type (type): "boolean"
Required in this object (required): "compatible", "reg", "interrupts"
Properties not evaluated by applicable rules (unevaluatedProperties) #
false
Not allowed by this rule.
Examples (examples) #
#include <dt-bindings/interrupt-controller/arm-gic.h>
ethernet@4010000 {
compatible = "smsc,lan91c111";
reg = <0x40100000 0x10000>;
phy-mode = "mii";
interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
reg-io-width = <2>;
};
Source notes #
Annotations retained from the schema source
Line 1: SPDX-License-Identifier: GPL-2.0