/openbmc/linux/arch/arm64/boot/dts/microchip/ |
H A D | sparx5_pcb134_board.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 10 gpio-restart { 11 compatible = "gpio-restart"; 12 gpios = <&gpio 37 GPIO_ACTIVE_LOW>; 17 compatible = "gpio-leds"; 18 led@0 { 20 gpios = <&sgpio_out0 8 0 GPIO_ACTIVE_LOW>; 22 led@1 { 24 gpios = <&sgpio_out0 8 1 GPIO_ACTIVE_LOW>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am572x-idk-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include "am57xx-idk-common.dtsi" 9 #include "dra74-ipu-dsp-common.dtsi" 17 reserved-memory { 18 #address-cells = <2>; 19 #size-cells = <2>; 22 ipu2_memory_region: ipu2-memory@95800000 { [all …]
|
H A D | am571x-idk.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include "dra7-mmc-iodelay.dtsi" 11 #include "dra72x-mmc-iodelay.dtsi" 12 #include "am57xx-idk-common.dtsi" 13 #include "dra7-ipu-dsp-common.dtsi" 17 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7"; [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 …]
|
/openbmc/linux/arch/arm/boot/dts/broadcom/ |
H A D | bcm4708-smartrg-sr400ac.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 29 compatible = "gpio-leds"; 31 led-power-white { 33 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; 34 linux,default-trigger = "default-on"; 37 led-power-amber { 39 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>; 42 led-usb2 { [all …]
|
H A D | bcm958625-meraki-kingpin.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 5 * Copyright (C) 2020-2021 Matthew Hagan <mnhagan88@gmail.com> 8 #include "bcm958625-meraki-mx6x-common.dtsi" 13 compatible = "gpio-keys-polled"; 15 poll-interval = <20>; 17 button-reset { 20 gpios = <&gpioa 6 GPIO_ACTIVE_LOW>; 25 compatible = "gpio-leds"; 27 led-0 { 28 /* green:lan1-left */ [all …]
|
H A D | bcm47094-linksys-panamera.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 30 gpio-keys { 31 compatible = "gpio-keys"; 33 button-wps { 36 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 39 button-rfkill { 42 gpios = <&chipcommon 16 GPIO_ACTIVE_LOW>; 45 button-reset { [all …]
|
H A D | bcm4709-buffalo-wxr-1900dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WXR-1900DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wxr-1900dhp", "brcm,bcm4709", "brcm,bcm4708"; 16 model = "Buffalo WXR-1900DHP"; 29 compatible = "gpio-leds"; 31 led-usb { 33 gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>; 36 led-power-amber { [all …]
|
H A D | bcm47081-tplink-archer-c5-v2.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c5-v2", "brcm,bcm47081", "brcm,bcm4708"; 12 model = "TP-LINK Archer C5 V2"; 24 compatible = "gpio-leds"; 26 led-2ghz { 28 gpios = <&chipcommon 0 GPIO_ACTIVE_HIGH>; 31 led-lan { 33 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; 36 led-usb2-port1 { [all …]
|
H A D | bcm47094-luxul-xwr-3100.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch4.dtsi" 12 compatible = "luxul,xwr-3100-v1", "brcm,bcm47094", "brcm,bcm4708"; 13 model = "Luxul XWR-3100 V1"; 30 #nvmem-cell-cells = <1>; 35 compatible = "gpio-leds"; 37 led-power { 39 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 40 linux,default-trigger = "default-on"; [all …]
|
H A D | bcm4709-tplink-archer-c9-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 11 compatible = "tplink,archer-c9-v1", "brcm,bcm4709", "brcm,bcm4708"; 12 model = "TP-LINK Archer C9 V1"; 24 compatible = "gpio-leds"; 26 led-lan { 28 gpios = <&chipcommon 1 GPIO_ACTIVE_HIGH>; 31 led-wps { 33 gpios = <&chipcommon 2 GPIO_ACTIVE_HIGH>; 36 led-2ghz { [all …]
|
H A D | bcm4709-netgear-r7000.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 29 compatible = "gpio-leds"; 31 led-power-white { 33 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 34 linux,default-trigger = "default-on"; 37 led-power-amber { 39 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 42 led-5ghz { [all …]
|
H A D | bcm47081-luxul-xwr-1200.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch4.dtsi" 12 compatible = "luxul,xwr-1200-v1", "brcm,bcm47081", "brcm,bcm4708"; 13 model = "Luxul XWR-1200 V1"; 29 #nvmem-cell-cells = <1>; 34 compatible = "gpio-leds"; 36 led-power { 38 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 39 linux,default-trigger = "default-on"; [all …]
|
H A D | bcm47081-buffalo-wzr-900dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-900DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wzr-900dhp", "brcm,bcm47081", "brcm,bcm4708"; 16 model = "Buffalo WZR-900DHP (BCM47081)"; 29 compatible = "spi-gpio"; 30 num-chipselects = <1>; 31 sck-gpios = <&chipcommon 7 0>; 32 mosi-gpios = <&chipcommon 4 0>; [all …]
|
H A D | bcm4708-buffalo-wzr-1750dhp.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-1750DHP 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "buffalo,wzr-1750dhp", "brcm,bcm4708"; 16 model = "Buffalo WZR-1750DHP (BCM4708)"; 29 compatible = "spi-gpio"; 30 num-chipselects = <1>; 31 sck-gpios = <&chipcommon 7 0>; 32 mosi-gpios = <&chipcommon 4 0>; [all …]
|
H A D | bcm47094-netgear-r8500.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 6 /dts-v1/; 9 #include "bcm5301x-nand-cs0-bch8.dtsi" 26 compatible = "gpio-leds"; 28 led-power0 { 30 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 31 linux,default-trigger = "default-on"; 34 led-power1 { 36 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 39 led-5ghz-1 { [all …]
|
H A D | bcm4708-asus-rt-ac56u.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Asus RT-AC56U 9 /dts-v1/; 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 15 compatible = "asus,rt-ac56u", "brcm,bcm4708"; 16 model = "Asus RT-AC56U (BCM4708)"; 29 compatible = "gpio-leds"; 31 led-usb3 { 33 gpios = <&chipcommon 0 GPIO_ACTIVE_LOW>; 36 led-wan { [all …]
|
H A D | bcm4709-netgear-r8000.dts | 20 /dts-v1/; 23 #include "bcm5301x-nand-cs0-bch8.dtsi" 40 compatible = "gpio-leds"; 42 led-power-white { 44 gpios = <&chipcommon 2 GPIO_ACTIVE_LOW>; 45 linux,default-trigger = "default-on"; 48 led-power-amber { 50 gpios = <&chipcommon 3 GPIO_ACTIVE_LOW>; 53 led-wan-white { 55 gpios = <&chipcommon 8 GPIO_ACTIVE_LOW>; [all …]
|
H A D | bcm4708-buffalo-wzr-1166dhp-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 4 * DTS for Buffalo WZR-1166DHP and WZR-1166DHP2 12 #include "bcm5301x-nand-cs0-bch8.dtsi" 13 #include <dt-bindings/leds/common.h> 17 compatible = "spi-gpio"; 18 num-chipselects = <1>; 19 sck-gpios = <&chipcommon 7 0>; 20 mosi-gpios = <&chipcommon 4 0>; 21 cs-gpios = <&chipcommon 6 0>; 22 #address-cells = <1>; [all …]
|
/openbmc/linux/arch/mips/boot/dts/ralink/ |
H A D | gardena_smart_gateway_mt7688.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/input.h> 14 compatible = "gardena,smart-gateway-mt7688", "ralink,mt7688a-soc", 15 "ralink,mt7628a-soc"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinmux_gpio_gpio>; /* GPIO11 */ [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | kirkwood-c200-v1.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright 2021-2022 Pawel Dembicki <paweldembicki@gmail.com> 7 /dts-v1/; 10 #include "kirkwood-6281.dtsi" 11 #include <dt-bindings/leds/common.h> 15 compatible = "ctera,c200-v1", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 19 stdout-path = &uart0; 28 compatible = "gpio-keys"; 29 pinctrl-0 = <&pmx_buttons>; 30 pinctrl-names = "default"; [all …]
|
H A D | kirkwood-linkstation-6282.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree common file for kirkwood-6282 based Buffalo Linkstation 10 #include "kirkwood-6282.dtsi" 11 #include "kirkwood-linkstation.dtsi" 15 pinctrl: pin-controller@10000 { 16 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_usb_vbus: pmx-usb-vbus { 24 pmx_fan_high: pmx-fan-high { 28 pmx_fan_low: pmx-fan-low { 32 pmx_led_alarm: pmx-led-alarm { [all …]
|
/openbmc/linux/arch/arm64/boot/dts/broadcom/bcmbca/ |
H A D | bcm4906-tplink-archer-c2300-v1.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 = "tplink,archer-c2300-v1", "brcm,bcm4906", "brcm,bcm4908", "brcm,bcmbca"; 11 model = "TP-Link Archer C2300 V1"; 19 compatible = "gpio-leds"; 21 led-power { 24 gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; 27 led-2ghz { [all …]
|
/openbmc/linux/Documentation/driver-api/gpio/ |
H A D | board.rst | 5 This document explains how GPIOs can be assigned to given devices and functions. 7 Note that it only applies to the new descriptor-based interface. For a 8 description of the deprecated integer-based GPIO interface please refer to 15 Kconfig. Then, how GPIOs are mapped depends on what the platform uses to 20 ----------- 21 GPIOs can easily be mapped to devices and functions in the device tree. The 22 exact way to do it depends on the GPIO controller providing the GPIOs, see the 25 GPIOs mappings are defined in the consumer device's node, in a property named 26 <function>-gpios, where <function> is the function the driver will request 32 led-gpios = <&gpio 15 GPIO_ACTIVE_HIGH>, /* red */ [all …]
|
/openbmc/linux/Documentation/devicetree/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# 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 15 node's name represents the name of the corresponding LED. 19 const: gpio-leds 22 # The first form is preferred, but fall back to just 'led' anywhere in the [all …]
|