Based on kernel version 6.10
. Page generated on 2024-07-16 09:00 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 | # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause %YAML 1.2 --- $id: http://devicetree.org/schemas/net/qca,qca808x.yaml# $schema: http://devicetree.org/meta-schemas/core.yaml# title: Qualcomm Atheros QCA808X PHY maintainers: - Christian Marangi <ansuelsmth@gmail.com> description: QCA808X PHYs can have up to 3 LEDs attached. All 3 LEDs are disabled by default. 2 LEDs have dedicated pins with the 3rd LED having the double function of Interrupt LEDs/GPIO or additional LED. By default this special PIN is set to LED function. allOf: - $ref: ethernet-phy.yaml# properties: compatible: enum: - ethernet-phy-id004d.d101 unevaluatedProperties: false examples: - | #include <dt-bindings/leds/common.h> mdio { #address-cells = <1>; #size-cells = <0>; ethernet-phy@0 { compatible = "ethernet-phy-id004d.d101"; reg = <0>; leds { #address-cells = <1>; #size-cells = <0>; led@0 { reg = <0>; color = <LED_COLOR_ID_GREEN>; function = LED_FUNCTION_WAN; default-state = "keep"; }; }; }; }; |