Based on kernel version 6.11
. Page generated on 2024-09-24 08:21 EST
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) %YAML 1.2 --- $id: http://devicetree.org/schemas/net/smsc,lan9115.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Smart Mixed-Signal Connectivity (SMSC) LAN911x/912x Controller maintainers: - Shawn Guo <shawnguo@kernel.org> allOf: - $ref: ethernet-controller.yaml# properties: compatible: oneOf: - const: smsc,lan9115 - items: - enum: - smsc,lan89218 - smsc,lan9117 - smsc,lan9118 - smsc,lan9220 - smsc,lan9221 - const: smsc,lan9115 reg: maxItems: 1 reg-shift: true reg-io-width: enum: [ 2, 4 ] default: 2 interrupts: minItems: 1 items: - description: LAN interrupt line - description: Optional PME (power management event) interrupt that is able to wake up the host system with a 50ms pulse on network activity clocks: maxItems: 1 phy-mode: true smsc,irq-active-high: type: boolean description: Indicates the IRQ polarity is active-high smsc,irq-push-pull: type: boolean description: Indicates the IRQ type is push-pull smsc,force-internal-phy: type: boolean description: Forces SMSC LAN controller to use internal PHY smsc,force-external-phy: type: boolean description: Forces SMSC LAN controller to use external PHY smsc,save-mac-address: type: boolean description: Indicates that MAC address needs to be saved before resetting the controller reset-gpios: maxItems: 1 description: A GPIO line connected to the RESET (active low) signal of the device. On many systems this is wired high so the device goes out of reset at power-on, but if it is under program control, this optional GPIO can wake up in response to it. vdd33a-supply: description: 3.3V analog power supply vddvario-supply: description: IO logic power supply required: - compatible - reg - interrupts # There are lots of bus-specific properties ("qcom,*", "samsung,*", "fsl,*", # "gpmc,*", ...) to be found, that actually depend on the compatible value of # the parent node. additionalProperties: true examples: - | #include <dt-bindings/gpio/gpio.h> ethernet@f4000000 { compatible = "smsc,lan9220", "smsc,lan9115"; reg = <0xf4000000 0x2000000>; phy-mode = "mii"; interrupt-parent = <&gpio1>; interrupts = <31>, <32>; reset-gpios = <&gpio1 30 GPIO_ACTIVE_LOW>; reg-io-width = <4>; smsc,irq-push-pull; }; |