/freebsd-src/sys/contrib/device-tree/Bindings/leds/ |
H A D | leds-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LEDs connected to GPIO lines 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 14 Each LED is represented as a sub-node of the gpio-leds device. Each 19 const: gpio-leds 24 "(^led-[0-9a-f]$|led)": [all …]
|
H A D | leds-ns2.txt | 1 Binding for dual-GPIO LED found on Network Space v2 (and parents). 4 - compatible: "lacie,ns2-leds". 6 Each LED is represented as a sub-node of the ns2-leds device. 8 Required sub-node properties: 9 - cmd-gpio: Command LED GPIO. See OF device-tree GPIO specification. 10 - slow-gpio: Slow LED GPIO. See OF device-tree GPIO specification. 11 - modes-map: A mapping between LED modes (off, on or SATA activity blinking) and 12 the corresponding cmd-gpio/slow-gpio values. All the GPIO values combinations 15 Optional sub-node properties: 16 - label: Name for this LED. If omitted, the label is taken from the node name. [all …]
|
H A D | leds-pca955x.txt | 1 * NXP - pca955x LED driver 4 to control LEDs can be used as general purpose I/Os. The GPIO pins can 5 be input or output, and output pins can also be pulse-width controlled. 8 - compatible : should be one of : 14 - #address-cells: must be 1 15 - #size-cells: must be 0 16 - reg: I2C slave address. depends on the model. 19 - gpio-controller: allows pins to be used as GPIOs. 20 - #gpio-cells: must be 2. 21 - gpio-line-names: define the names of the GPIO lines [all …]
|
H A D | leds-group-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-group-multicolor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Multi-color LED built with monochromatic LEDs 10 - Jean-Jacques Hiblot <jjhiblot@traphandler.com> 13 This driver combines several monochromatic LEDs into one multi-color 18 const: leds-group-multicolor 20 leds: 22 An aray of monochromatic leds [all …]
|
H A D | leds-netxbig.txt | 1 Binding for the CPLD LEDs (GPIO extension bus) found on some LaCie/Seagate 5 - compatible: "lacie,netxbig-leds". 6 - gpio-ext: Phandle for the gpio-ext bus. 9 - timers: Timer array. Each timer entry is represented by three integers: 10 Mode (gpio-ext bus), delay_on and delay_off. 12 Each LED is represented as a sub-node of the netxbig-leds device. 14 Required sub-node properties: 15 - mode-addr: Mode register address on gpio-ext bus. 16 - mode-val: Mode to value mapping. Each entry is represented by two integers: 17 A mode and the corresponding value on the gpio-ext bus. [all …]
|
H A D | nxp,pca953x.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/nxp,pca953x.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Riku Voipio <riku.voipio@iki.fi> 13 The PCA9532 family is SMBus I/O expander optimized for dimming LEDs. 17 https://www.nxp.com/docs/en/data-sheet/PCA9532.pdf 22 - nxp,pca9530 23 - nxp,pca9531 24 - nxp,pca9532 [all …]
|
/freebsd-src/share/man/man4/ |
H A D | gpioled.4 | 30 .Nd GPIO LED generic device driver 35 .Bd -ragged -offset indent 36 .Cd "device gpio" 44 compatible device to a GPIO pin. 49 The GPIO pin can then be controlled by writing to this device as described 59 .Bl -tag -width ".Va hint.gpioiic.%d.atXXX" 69 Which pin on the GPIO interface to map to this instance. 71 (any other bits - i.e., pins - will be ignored). 77 If set to -1, the LED will be kept in its original state. 87 .Bd -literal [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/marvell/ |
H A D | kirkwood-d2net.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include <dt-bindings/leds/leds-ns2.h> 12 #include "kirkwood-netxbig.dtsi" 16 compatible = "lacie,d2net_v2", "lacie,netxbig", "marvell,kirkwood-8 [all...] |
H A D | armada-370-seagate-nas-4bay.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device Tree file for Seagate NAS 4-Bay (Armada 370 SoC). 13 * Product name : Seagate NAS 4-Bay 14 * Code name (board/PCB) : Dart 4-Bay 19 /dts-v1/; 20 #include "armada-370-seagate-nas-xbay.dtsi" 21 #include <dt-bindings/leds/leds-ns2.h> 24 model = "Seagate NAS 4-Bay (Dart, SRPD40)"; 25 compatible = "seagate,dart-4", "marvell,armada370", "marvell,armada-370-xp"; 28 internal-regs { [all …]
|
H A D | kirkwood-synology.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 pinctrl: pin-controller@10000 { 13 pmx_alarmled_12: pmx-alarmled-12 { 15 marvell,function = "gpio"; 18 pmx_fanctrl_15: pmx-fanctrl-15 { 20 marvell,function = "gpio"; [all...] |
H A D | mvebu-linkstation-gpio-simple.dtsi | 2 * Device Tree common file for gpio-{keys,leds} on Buffalo Linkstation 7 * This file is dual-licensed: you can use it either under the terms 46 #include <dt-bindings/input/input.h> 50 compatible = "gpio-keys"; 51 pinctrl-0 = <&pmx_power_switch>; 52 pinctrl-names = "default"; 54 power-o [all...] |
H A D | orion5x-lswsgl.dts | 3 * Copyright (C) 2014 Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 4 * Based on the board file arch/arm/mach-orion5x/lsmini-setup.c, 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 48 #include <dt-bindings/gpio/gpio.h> 49 #include <dt-bindings/input/input.h> 50 #include <dt-binding [all...] |
H A D | kirkwood-ns2max.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/leds/leds-ns2.h> 5 #include "kirkwood-ns2-common.dtsi" 9 compatible = "lacie,netspace_max_v2", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 18 pinctrl-0 = <&pmx_ns2_sata0 &pmx_ns2_sata1>; 19 pinctrl-names = "default"; 21 nr-ports = <2>; 26 compatible = "gpio-fan"; 31 gpio-fan,speed-map = [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | ipq5332-rdp-common.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 5 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved. 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 21 stdout-path = "serial0"; 24 gpio-keys { 25 compatible = "gpio-keys"; 26 pinctrl-0 = <&gpio_keys_default>; [all …]
|
H A D | msm8916-ufi.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 9 chassis-type = "embedded"; 17 stdout-path = "serial0"; 20 gpio-keys { 21 compatible = "gpio-keys"; 23 pinctrl-0 = <&button_default>; 24 pinctrl-names = "default"; [all …]
|
H A D | msm8916-gplus-fl8005a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpi [all...] |
/freebsd-src/sys/contrib/device-tree/src/arm/qcom/ |
H A D | qcom-ipq8064-rb3011.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 #include "qcom-ipq8064.dtsi" 3 #include <dt-bindings/input/input.h> 4 #include <dt-bindings/leds/common.h> 7 model = "MikroTik RB3011UiAS-RM"; 14 mdio-gpio0 = &mdio0; 15 mdio-gpio [all...] |
/freebsd-src/sys/contrib/device-tree/Bindings/mfd/ |
H A D | max77650.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: MAX77650 ultra low-power PMIC from Maxim Integrated. 10 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 13 MAX77650 is an ultra-lo [all...] |
H A D | rohm,bd71828-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71828-pmi [all...] |
H A D | tps6105x.txt | 3 The TP61050/TPS61052 is a high-power "white LED driver". The 4 device provides LED, GPIO and regulator functionalities. 7 - compatible: "ti,tps61050" or "ti,tps61052" 8 - reg: Specifies the I2C slave address 10 Optional sub-node: 15 - regulator: presence of this sub-node puts the chip in regulator mode. 18 - led: presence of this sub-node puts the chip in led mode. 20 - function : see ../leds/common.txt 21 - color : see ../leds/common.txt 22 - label : see ../leds/common.txt [all …]
|
/freebsd-src/sys/dev/gpio/ |
H A D | gpioled_fdt.c | 1 /*- 33 #include <sys/gpio.h> 43 #include <dev/gpio/gpiobusvar.h> 74 if (led->pin) in gpioled_control() 75 gpio_pin_set_active(led->pin, onoff); in gpioled_control() 86 led->parent_sc = sc; in gpioleds_attach_led() 89 if (OF_getprop_alloc(node, "default-state", in gpioleds_attach_led() 90 (void **)&default_state) != -1) { in gpioleds_attach_led() 96 state = -1; in gpioleds_attach_led() 98 state = -1; in gpioleds_attach_led() [all …]
|
/freebsd-src/sys/contrib/device-tree/src/mips/ralink/ |
H A D | mt7621-tplink-hc220-g5-v1.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-bindings/leds/common.h> 11 compatible = "tplink,hc220-g5-v1", "mediatek,mt7621-soc"; 12 model = "TP-Link HC220 G5 v1"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-reset { [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm47189-luxul-xap-810.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "luxul,xap-810-v1", "brcm,bcm47189", "brcm,bcm53573"; 12 model = "Luxul XAP-810 V1"; 23 leds-0 { 24 compatible = "gpio-leds"; 26 led-5ghz { 31 led-system { 34 linux,default-trigger = "timer"; 38 leds-1 { [all …]
|
/freebsd-src/sys/contrib/device-tree/src/arm/nxp/ls/ |
H A D | ls1021a-tqmls1021a-mbls1021a.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR X11) 3 * Copyright 2013-2014 Freescale Semiconductor, Inc. 4 * Copyright 2018-2023 TQ-Systems GmbH <linux@ew.tq-group.com>, 5 * D-82229 Seefeld, Germany. 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/linux-event-codes.h> 13 #include <dt-bindings/leds/common.h> 14 #include <dt-bindings/leds/leds-pca9532.h> 15 #include <dt-bindings/net/ti-dp83867.h> [all …]
|
/freebsd-src/sys/contrib/device-tree/src/mips/qca/ |
H A D | ar9331_dpt_module.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/gpio/gpio.h> 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 11 model = "DPTechnics DPT-Module"; 12 compatible = "dptechnics,dpt-module"; 23 leds { 24 compatible = "gpio-leds"; 26 led-0 { [all …]
|