| /openbmc/u-boot/arch/arm/dts/ |
| H A D | hi3798cv200-poplar.dts | 4 * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. 7 * SPDX-License-Identifier: GPL-2.0 10 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 14 #include "poplar-pinctrl.dtsi" 18 compatible = "hisilicon,hi3798cv200-poplar", "hisilicon,hi3798cv200"; 26 stdout-path = "serial0:115200n8"; 36 compatible = "linaro,optee-tz"; 42 compatible = "gpio-leds"; 44 user-led0 { [all …]
|
| H A D | imx6qdl-sabreauto.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 11 stdout-path = &uart4; 19 compatible = "gpio-leds"; 20 pinctrl-names = "default"; 21 pinctrl-0 = <&pinctrl_gpio_leds>; 29 gpio-keys { 30 compatible = "gpio-keys"; 31 pinctrl-names = "default"; [all …]
|
| H A D | da850-lcdk.dts | 6 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 12 model = "DA850/AM1808/OMAP-L138 LCDK"; 13 compatible = "ti,da850-lcdk", "ti,da850"; 21 stdout-path = "serial2:115200n8"; 29 reserved-memory { 30 #address-cells = <1>; 31 #size-cells = <1>; 34 dsp_memory_region: dsp-memory@c3000000 { [all …]
|
| H A D | ast2600-greatlakes.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 /dts-v1/; 5 #include "ast2600-u-boot.dtsi" 9 compatible = "facebook,greatlakes-bmc", "aspeed,ast2600"; 17 stdout-path = &uart5; 27 clock-frequency = <800000000>; 30 clock-frequency = <800000000>; 36 u-boot,dm-pre-reloc; 41 clock-frequency = <400000000>; 58 pinctrl-names = "default"; [all …]
|
| H A D | da850-evm.dts | 4 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 10 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 15 compatible = "ti,da850-evm", "ti,da850"; 16 model = "DA850/AM1808/OMAP-L138 EVM"; 19 stdout-path = &serial2; 30 backlight: backlight-pwm { 31 pinctrl-names = "default"; 32 pinctrl-0 = <&ecap2_pins>; 33 power-supply = <&backlight_lcd>; [all …]
|
| H A D | armada-388-clearfog.dts | 11 * This file is dual-licensed: you can use it either under the terms 49 /dts-v1/; 50 #include <dt-bindings/input/input.h> 51 #include <dt-bindings/gpio/gpio.h> 52 #include "armada-388.dtsi" 53 #include "armada-38x-solidrun-microsom.dtsi" 57 compatible = "solidrun,clearfog-a1", "marvell,armada388", 61 /* So that mvebu u-boot can update the MAC addresses */ 71 stdout-path = "serial0:115200n8"; 74 reg_3p3v: regulator-3p3v { [all …]
|
| H A D | bcm2835-rpi-b.dts | 1 /dts-v1/; 3 #include "bcm2835-rpi.dtsi" 4 #include "bcm283x-rpi-smsc9512.dtsi" 5 #include "bcm283x-rpi-usb-host.dtsi" 8 compatible = "raspberrypi,model-b", "brcm,bcm2835"; 13 gpios = <&gpio 16 1>; 18 &gpio { 20 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf 25 * "FOO" = GPIO line named "FOO" on the schematic 26 * "FOO_N" = GPIO line named "FOO" on schematic, active low [all …]
|
| H A D | bcm2835-rpi-a-plus.dts | 1 /dts-v1/; 3 #include "bcm2835-rpi.dtsi" 4 #include "bcm283x-rpi-usb-host.dtsi" 7 compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; 12 gpios = <&gpio 47 0>; 17 gpios = <&gpio 35 0>; 18 default-state = "keep"; 19 linux,default-trigger = "default-on"; 24 &gpio { 30 * "FOO" = GPIO line named "FOO" on the schematic [all …]
|
| H A D | bcm2835-rpi-b-rev2.dts | 1 /dts-v1/; 3 #include "bcm2835-rpi.dtsi" 4 #include "bcm283x-rpi-smsc9512.dtsi" 5 #include "bcm283x-rpi-usb-host.dtsi" 8 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835"; 13 gpios = <&gpio 16 1>; 18 &gpio { 20 * Taken from Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf 25 * "FOO" = GPIO line named "FOO" on the schematic 26 * "FOO_N" = GPIO line named "FOO" on schematic, active low [all …]
|
| H A D | bcm2835-rpi-a.dts | 1 /dts-v1/; 3 #include "bcm2835-rpi.dtsi" 4 #include "bcm283x-rpi-usb-host.dtsi" 7 compatible = "raspberrypi,model-a", "brcm,bcm2835"; 12 gpios = <&gpio 16 1>; 17 &gpio { 19 * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf 24 * "FOO" = GPIO line named "FOO" on the schematic 25 * "FOO_N" = GPIO line named "FOO" on schematic, active low 27 gpio-line-names = "SDA0", [all …]
|
| H A D | bcm2835-rpi-b-plus.dts | 1 /dts-v1/; 3 #include "bcm2835-rpi.dtsi" 4 #include "bcm283x-rpi-smsc9514.dtsi" 5 #include "bcm283x-rpi-usb-host.dtsi" 8 compatible = "raspberrypi,model-b-plus", "brcm,bcm2835"; 13 gpios = <&gpio 47 0>; 18 gpios = <&gpio 35 0>; 19 default-state = "keep"; 20 linux,default-trigger = "default-on"; 25 &gpio { [all …]
|
| H A D | meson-gxbb-odroidc2.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 14 compatible = "hardkernel,odroid-c2", "amlogic,meson-gxbb"; 15 model = "Hardkernel ODROID-C2"; 23 stdout-path = "serial0:115200n8"; 31 usb_otg_pwr: regulator-usb-pwrs { 32 compatible = "regulator-fixed"; 34 regulator-name = "USB_OTG_PWR"; [all …]
|
| H A D | kirkwood-openrd.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 12 #include "kirkwood-6281.dtsi" 22 stdout-path = &uart0; 26 pinctrl: pin-controller@10000 { 27 pinctrl-0 = <&pmx_select28 &pmx_sdio_cd &pmx_select34>; 28 pinctrl-names = "default"; 30 pmx_select28: pmx-select-rs232-rs485 { 32 marvell,function = "gpio"; 34 pmx_sdio_cd: pmx-sdio-cd { 36 marvell,function = "gpio"; [all …]
|
| H A D | sama5d3xmb_cmp.dtsi | 2 * sama5d3xmb_cmp.dts - Device Tree file for SAMA5D3x CMP mother board 14 u-boot,dm-pre-reloc; 15 stdout-path = &dbgu; 21 pinctrl-names = "default"; 22 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; 26 bus-width = <4>; 27 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>; 35 compatible = "spi-flash"; 36 spi-max-frequency = <50000000>; 42 atmel,clk-from-rk-pin; [all …]
|
| H A D | am3517-evm-ui.dtsi | 2 * Copyright (C) 2018 Logic PD, Inc - http://www.logicpd.com/ 9 #include <dt-bindings/input/input.h> 13 compatible = "simple-audio-card"; 14 simple-audio-card,name = "tlv320aic23-hifi"; 16 simple-audio-card,widgets = 18 "Line", "Line In", 19 "Line", "Line Out"; 21 simple-audio-card,routing = 22 "Line Out", "LOUT", 23 "Line Out", "ROUT", [all …]
|
| H A D | imx6q-cm-fx6.dts | 6 * This file is dual-licensed: you can use it either under the terms 44 /dts-v1/; 45 #include <dt-bindings/gpio/gpio.h> 49 model = "CompuLab CM-FX6"; 50 compatible = "compulab,cm-fx6", "fsl,imx6q"; 57 compatible = "gpio-leds"; 59 heartbeat-led { 62 linux,default-trigger = "heartbeat"; 67 pinctrl-names = "default"; 68 pinctrl-0 = <&pinctrl_pwrseq>; [all …]
|
| H A D | sama5d3xmb.dtsi | 2 * sama5d3xmb.dts - Device Tree file for SAMA5D3x mother board 15 u-boot,dm-pre-reloc; 16 stdout-path = &dbgu; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&pinctrl_mmc0_clk_cmd_dat0 &pinctrl_mmc0_dat1_3 &pinctrl_mmc0_cd>; 25 u-boot,dm-pre-reloc; 28 bus-width = <4>; 29 cd-gpios = <&pioD 17 GPIO_ACTIVE_HIGH>; 35 u-boot,dm-pre-reloc; 38 compatible = "spi-flash"; [all …]
|
| H A D | armada-388-helios4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 10 /dts-v1/; 11 #include "armada-388.dtsi" 12 #include "armada-38x-solidrun-microsom.dtsi" 25 /* So that mvebu u-boot can update the MAC addresses */ 30 stdout-path = "serial0:115200n8"; 33 reg_12v: regulator-12v { 34 compatible = "regulator-fixed"; 35 regulator-name = "power_brick_12V"; 36 regulator-min-microvolt = <12000000>; [all …]
|
| H A D | meson-gxl-s905x-khadas-vim.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 10 #include "meson-gxl-s905x-p212.dtsi" 13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl"; 16 adc-keys { 17 compatible = "adc-keys"; 18 io-channels = <&saradc 0>; 19 io-channel-names = "buttons"; 20 keyup-threshold-microvolt = <1710000>; [all …]
|
| H A D | meson-gxl-s905x-libretech-cc.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 12 #include "meson-gxl-s905x.dtsi" 15 compatible = "libretech,cc", "amlogic,s905x", "amlogic,meson-gxl"; 16 model = "Libre Computer Board AML-S905X-CC"; 24 stdout-path = "serial0:115200n8"; 27 cvbs-connector { 28 compatible = "composite-video-connector"; 32 remote-endpoint = <&cvbs_vdac_out>; [all …]
|
| H A D | at91sam9n12ek.dts | 2 * at91sam9n12ek.dts - Device Tree file for AT91SAM9N12-EK board 9 /dts-v1/; 13 model = "Atmel AT91SAM9N12-EK"; 18 stdout-path = "serial0:115200n8"; 19 u-boot,dm-pre-reloc; 28 clock-frequency = <32768>; 32 clock-frequency = <16000000>; 39 u-boot,dm-pre-reloc; 54 clock-names = "mclk"; 60 interrupt-parent = <&pioA>; [all …]
|
| /openbmc/entity-manager/src/gpio-presence/ |
| H A D | gpio_presence_manager.hpp | 2 * SPDX-FileCopyrightText: Copyright (c) 2022-2024. All rights 3 * reserved. SPDX-License-Identifier: Apache-2.0 27 auto start() -> void; 31 auto getPresence(const std::string& name) -> bool; 35 auto setupBusName() const -> std::string; 41 std::unique_ptr<DevicePresence> config) -> void; 43 // update presence information based on new gpio state 44 // @param[in] gpioLine name of the gpio line 45 // @param[in] state new state of the gpio line 46 auto updatePresence(const std::string& gpioLine, bool state) -> void; [all …]
|
| /openbmc/docs/designs/ |
| H A D | device-tree-gpio-naming.md | 1 # Device Tree GPIO Naming in OpenBMC 11 The Linux kernel has deprecated the use of sysfs to interact with the GPIO 12 subsystem. The replacement is a "descriptor-based" character device interface. 15 provides an abstraction to this new character device gpio interface. 19 for these GPIO names and if you want userspace code to be able to be consistent 20 across different machines, these names would need to be consistent. 24 The kernel [documentation][2] has a good summary of the GPIO subsystem. The 25 specific field used to name the GPIOs in the DTS is `gpio-line-names`. This 29 scheme in the face of a universe of potential use-cases. 37 - Ensure common function GPIOs within OpenBMC use the same naming convention [all …]
|
| /openbmc/u-boot/doc/device-tree-bindings/gpio/ |
| H A D | gpio.txt | 1 Specifying GPIO information for devices 5 ----------------- 8 properties, each containing a 'gpio-list': 10 gpio-list ::= <single-gpio> [gpio-list] 11 single-gpio ::= <gpio-phandle> <gpio-specifier> 12 gpio-phandle : phandle to gpio controller node 13 gpio-specifier : Array of #gpio-cells specifying specific gpio 16 GPIO properties should be named "[<name>-]gpios", with <name> being the purpose 17 of this GPIO for the device. While a non-existent <name> is considered valid 21 GPIO properties can contain one or more GPIO phandles, but only in exceptional [all …]
|
| /openbmc/u-boot/arch/nios2/dts/ |
| H A D | 10m50_devboard.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 8 /dts-v1/; 12 compatible = "altr,niosii-max10"; 13 #address-cells = <1>; 14 #size-cells = <1>; 17 #address-cells = <1>; 18 #size-cells = <0>; 21 u-boot,dm-pre-reloc; 23 compatible = "altr,nios2-1.1"; 25 interrupt-controller; [all …]
|