/openbmc/u-boot/doc/device-tree-bindings/leds/ |
H A D | leds-bcm6328.txt | 1 LEDs connected to Broadcom BCM6328 controller 4 In these SoCs it's possible to control LEDs both as GPIOs or by hardware. 5 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 7 as spi-gpio. See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 9 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and 10 exporting the 74x164 as spi-gpio prevents those LEDs to be hardware 14 - compatible : should be "brcm,bcm6328-leds". 15 - #address-cells : must be 1. 16 - #size-cells : must be 0. 17 - reg : BCM6328 LED controller address and size. [all …]
|
H A D | leds-bcm6358.txt | 1 LEDs connected to Broadcom BCM6358 controller 4 In these SoCs there are Serial LEDs (LEDs connected to a 74x164 controller), 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 6 See Documentation/devicetree/bindings/gpio/gpio-74x164.txt), or 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. [all …]
|
H A D | leds-gpio.txt | 1 LEDs connected to GPIO lines 4 - compatible : should be "gpio-leds". 6 Each LED is represented as a sub-node of the gpio-leds device. Each 9 LED sub-node properties: 10 - gpios : Should specify the LED's GPIO, see "gpios property" in 11 Documentation/devicetree/bindings/gpio/gpio.txt. Active low LEDs should be 13 - label : (optional) 14 see Documentation/devicetree/bindings/leds/common.txt 15 - linux,default-trigger : (optional) 16 see Documentation/devicetree/bindings/leds/common.txt [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/leds/ |
H A D | leds-bcm6358.txt | 1 LEDs connected to Broadcom BCM6358 controller 4 In these SoCs there are Serial LEDs (LEDs connected to a 74x164 controller), 5 which can either be controlled by software (exporting the 74x164 as spi-gpio. 10 - compatible : should be "brcm,bcm6358-leds". 11 - #address-cells : must be 1. 12 - #size-cells : must be 0. 13 - reg : BCM6358 LED controller address and size. 16 - brcm,clk-div : SCK signal divider. Possible values are 1, 2, 4 and 8. 18 - brcm,clk-dat-low : Boolean, makes clock and data signals active low. 21 Each LED is represented as a sub-node of the brcm,bcm6358-leds device. [all …]
|
H A D | leds-bcm6328.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm6328.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LEDs connected to Broadcom BCM6328 controller 10 - Álvaro Fernández Rojas <noltari@gmail.com> 14 In these SoCs it's possible to control LEDs both as GPIOs or by hardware. 15 However, on some devices there are Serial LEDs (LEDs connected to a 74x164 17 as spi-gpio. See 20 Some of these Serial LEDs are hardware controlled (e.g. ethernet LEDs) and [all …]
|
H A D | leds-bcm63138.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-bcm63138.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Broadcom's BCM63138 LEDs controller 10 - Rafał Miłecki <rafal@milecki.pl> 13 This LEDs controller was first used on BCM63138 and later reused on BCM4908, 16 It supports up to 32 LEDs that can be connected parallelly or serially. It 19 Binding serially connected LEDs isn't documented yet. 24 - items: [all …]
|
H A D | leds-pwm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-pwm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: LEDs connected to PWM 10 - Pavel Machek <pavel@ucw.cz> 13 Each LED is represented as a sub-node of the pwm-leds device. Each 18 const: pwm-leds 21 "^led(-[0-9a-f]+)?$": 30 pwm-names: true [all …]
|
H A D | leds-pwm-multicolor.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/leds/leds-pwm-multicolor.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Multi-color LEDs connected to PWM 10 - Sven Schwermer <sven.schwermer@disruptive-technologies.com> 13 This driver combines several monochrome PWM LEDs into one multi-color 18 const: pwm-leds-multicolor 20 multi-led: 22 $ref: leds-class-multicolor.yaml# [all …]
|
/openbmc/u-boot/arch/mips/dts/ |
H A D | netgear,dgnd3700v2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 19 stdout-path = "serial0:115200n8"; 22 gpio-leds { 23 compatible = "gpio-leds"; 50 compatible = "brcm,enetsw-port"; 53 brcm,phy-id = <0xff>; 55 full-duplex; 56 bypass-link; 68 &leds { [all …]
|
H A D | netgear,cg3100d.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 19 stdout-path = "serial0:115200n8"; 22 gpio-leds { 23 compatible = "gpio-leds"; 42 &leds { 47 active-low; 53 active-low; 59 active-low; 65 active-low; [all …]
|
H A D | sfr,nb4-ser.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 12 compatible = "sfr,nb4-ser", "brcm,bcm6358"; 19 stdout-path = "serial0:115200n8"; 22 gpio-leds { 23 compatible = "gpio-leds"; 26 label = "NB4-SER:white:traffic"; 31 label = "NB4-SER:blue:service"; 36 label = "NB4-SER:white:wifi"; 41 label = "NB4-SER:red:service"; [all …]
|
H A D | comtrend,vr-3032u.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 11 model = "Comtrend VR-3032u"; 12 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 19 stdout-path = "serial0:115200n8"; 31 compatible = "brcm,enetsw-port"; 34 brcm,phy-id = <1>; 38 compatible = "brcm,enetsw-port"; 41 brcm,phy-id = <2>; 45 compatible = "brcm,enetsw-port"; [all …]
|
H A D | comtrend,ar-5315u.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 6 /dts-v1/; 11 model = "Comtrend AR-5315u"; 12 compatible = "comtrend,ar5315-un", "brcm,bcm6318"; 19 stdout-path = "serial0:115200n8"; 31 compatible = "brcm,enetsw-port"; 34 brcm,phy-id = <1>; 38 compatible = "brcm,enetsw-port"; 41 brcm,phy-id = <2>; 45 compatible = "brcm,enetsw-port"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/lpc/ |
H A D | lpc3250-ea3250.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 /dts-v1/; 20 gpio-keys { 21 compatible = "gpio-keys"; 85 leds { 86 compatible = "gpio-leds"; 88 /* LEDs on OEM Board */ 91 gpios = <&gpio 5 14 1>; /* GPO_P3 14, GPIO 93, active low */ 92 linux,default-trigger = "timer"; 93 default-state = "off"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/broadcom/bcmbca/ |
H A D | bcm4908-asus-gt-ac5300.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 3 #include <dt-bindings/gpio/gpio.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/leds/common.h> 10 compatible = "asus,gt-ac5300", "brcm,bcm4908", "brcm,bcmbca"; 11 model = "Asus GT-AC5300"; 18 gpio-keys-polled { 19 compatible = "gpio-keys-polled"; 20 poll-interval = <100>; 22 key-wifi { [all …]
|
/openbmc/linux/arch/riscv/boot/dts/sifive/ |
H A D | hifive-unleashed-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 /* Copyright (c) 2018-2019 SiFive, Inc */ 4 #include "fu540-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/leds/common.h> 7 #include <dt-bindings/pwm/pwm.h> 14 compatible = "sifive,hifive-unleashed-a00", "sifive,fu540-c000", 18 stdout-path = "serial0"; 22 timebase-frequency = <RTCCLK_FREQ>; 31 #clock-cells = <0>; [all …]
|
H A D | hifive-unmatched-a00.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 #include "fu740-c000.dtsi" 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pwm/pwm.h> 15 compatible = "sifive,hifive-unmatched-a00", "sifive,fu740-c000", 19 stdout-path = "serial0"; 23 timebase-frequency = <RTCCLK_FREQ>; 32 #clock-cells = <0>; [all …]
|
/openbmc/linux/drivers/leds/ |
H A D | leds-sc27xx-bltc.c | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <linux/leds.h> 52 bool active; member 56 struct sc27xx_led leds[SC27XX_LEDS_MAX]; member 82 static u32 sc27xx_led_get_offset(struct sc27xx_led *leds) in sc27xx_led_get_offset() argument 84 return leds->priv->base + SC27XX_LEDS_OFFSET * leds->line; in sc27xx_led_get_offset() 87 static int sc27xx_led_enable(struct sc27xx_led *leds, enum led_brightness value) in sc27xx_led_enable() argument 89 u32 base = sc27xx_led_get_offset(leds); in sc27xx_led_enable() 90 u32 ctrl_base = leds->priv->base + SC27XX_LEDS_CTRL; in sc27xx_led_enable() 91 u8 ctrl_shift = SC27XX_CTRL_SHIFT * leds->line; in sc27xx_led_enable() [all …]
|
H A D | leds-bcm6358.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Driver for BCM6358 memory-mapped LEDs, based on leds-syscon.c 9 #include <linux/leds.h> 31 * struct bcm6358_led - state container for bcm6358 based LEDs 36 * @active_low: LED is active low 82 spin_lock_irqsave(led->lock, flags); in bcm6358_led_set() 83 bcm6358_led_busy(led->mem); in bcm6358_led_set() 84 val = bcm6358_led_read(led->mem + BCM6358_REG_MODE); in bcm6358_led_set() 85 if ((led->active_low && value == LED_OFF) || in bcm6358_led_set() 86 (!led->active_low && value != LED_OFF)) in bcm6358_led_set() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio_lpc32xx.txt | 4 - compatible: must be "nxp,lpc3220-gpio" 5 - reg: Physical base address and length of the controller's registers. 6 - gpio-controller: Marks the device node as a GPIO controller. 7 - #gpio-cells: Should be 3: 17 - bit 0 specifies polarity (0 for normal, 1 for inverted) 18 - reg: Index of the GPIO group 23 compatible = "nxp,lpc3220-gpio"; 25 gpio-controller; 26 #gpio-cells = <3>; /* bank, pin, flags */ 29 leds { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | allwinner,sun8i-a83t-emac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/allwinner,sun8i-a83t-emac.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 16 - const: allwinner,sun8i-a83t-emac 17 - const: allwinner,sun8i-h3-emac 18 - const: allwinner,sun8i-r40-gmac 19 - const: allwinner,sun8i-v3s-emac [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | dove-cm-a510.dtsi | 2 * Device Tree include for Compulab CM-A510 System-on-Module 6 * This file is dual-licensed: you can use it either under the terms 46 * The CM-A510 comes with several optional components: 66 * U2: 2 dual-role USB2.0 ports 70 * W: Broadcom BCM4319 802.11b/g/n (USI WM-N-BM-01 on SDIO1) 72 * GPIOs used on CM-A510: 73 * 1 GbE PHY reset (active low) 75 * 8 PowerOff (active low) 76 * 13 Touchscreen pen irq (active low) 77 * 65 System LED (active high) [all …]
|
/openbmc/linux/arch/mips/boot/dts/brcm/ |
H A D | bcm63268-comtrend-vr-3032u.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 7 compatible = "comtrend,vr-3032u", "brcm,bcm63268"; 8 model = "Comtrend VR-3032u"; 17 stdout-path = &uart0; 23 brcm,serial-leds; 24 brcm,serial-dat-low; 25 brcm,serial-shift-inv; 29 brcm,hardware-controlled; 30 brcm,link-signal-sources = <0>; [all …]
|
/openbmc/linux/Documentation/devicetree/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-low power PMIC providing battery charging and power 14 supply for low-power IoT and wearable applications. 16 The GPIO-controller module is represented as part of the top-level PMIC 19 For device-tree bindings of other sub-modules (regulator, power supply, 20 LEDs and onkey) refer to the binding documents under the respective [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp157c-lxa-tac-gen2.dts | 1 // SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) 3 * Copyright (C) 2020 STMicroelectronics - All Rights Reserved 8 /dts-v1/; 11 #include "stm32mp15xc-lxa-tac.dtsi" 15 compatible = "lxa,stm32mp157c-tac-gen2", "oct,stm32mp15xx-osd32", "st,stm32mp157"; 18 compatible = "pwm-backlight"; 19 power-supply = <&v3v3>; 21 brightness-levels = <0 31 63 95 127 159 191 223 255>; 22 default-brightness-level = <7>; 26 reg_iobus_12v: regulator-iobus-12v { [all …]
|