/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-kizbox3-hs.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * at91-kizbox3-hs.dts - Device Tree file for Overkiz KIZBOX3-HS board 11 /dts-v1/; 12 #include "at91-kizbox3_common.dtsi" 15 model = "Overkiz KIZBOX3-HS"; 16 compatible = "overkiz,kizbox3-hs", "atmel,sama5d2", "atmel,sama5"; 18 led-controller-1 { 21 led-1 { 25 led-2 { 29 led-3 { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/fpga/ |
H A D | xlnx,fpga-slave-serial.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/fpga/xlnx,fpga-slave-serial.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nava kishore Manne <nava.kishore.manne@amd.com> 13 Xilinx Spartan-6 and 7 Series FPGAs support a method of loading the bitstream 21 https://www.xilinx.com/support/documentation/application_notes/xapp583-fpga-configuration.pdf 24 - $ref: /schemas/spi/spi-peripheral-props.yaml# 29 - xlnx,fpga-slave-serial 31 spi-cpha: true [all …]
|
H A D | lattice,sysconfig.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Vladimir Georgiev <v.georgiev@metrotek.ru> 23 - lattice,sysconfig-ecp5 28 program-gpios: 34 init-gpios: 40 done-gpios: 47 - compatible 48 - reg [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | ls1021a-moxa-uc-8410a.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017 Moxa Inc. - https://www.moxa.com/ 10 /dts-v1/; 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/input/input.h> 17 model = "Moxa UC-8410A"; 18 compatible = "fsl,ls1021a-moxa-uc-8410a", "fsl,ls1021a"; 26 sys_mclk: clock-mclk { 27 compatible = "fixed-clock"; 28 #clock-cells = <0>; [all …]
|
/openbmc/openbmc/meta-ampere/meta-jade/recipes-ampere/platform/ampere-platform-init/ |
H A D | mtjade_platform_gpios_init.sh | 3 function pre-platform-init() { 4 echo "Do pre platform init" 8 function post-platform-init() { 9 echo "Do post platform init" 13 # add device enable, mux setting, device select gpios 14 "ext-hightemp-n" 15 "vr-pmbus-sel-n" 16 "i2c6-reset-n" 17 "i2c-backup-sel" 18 "power-chassis-control" [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | mdio-mux-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/mdio-mux-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 17 - $ref: /schemas/net/mdio-mux.yaml# 21 const: mdio-mux-gpio 23 gpios: 25 List of GPIOs used to control the multiplexer, least significant bit first. 30 - compatible [all …]
|
/openbmc/linux/arch/arm/boot/dts/marvell/ |
H A D | orion5x-netgear-wnr854t.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 4 /dts-v1/; 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include "orion5x-mv88f5181.dtsi" 11 model = "Netgear WNR854-t"; 12 compatible = "netgear,wnr854t", "marvell,orion5x-88f5181", 24 stdout-path = "serial0:115200n8"; 33 gpio-keys { 34 compatible = "gpio-keys"; [all …]
|
H A D | kirkwood-openblocks_a6.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 5 #include "kirkwood-6282.dtsi" 9 compatible = "plathome,openblocks-a6", "marvell,kirkwood-88f6283", "marvell,kirkwood"; 18 stdout-path = &uart0; 31 nr-ports = <1>; 44 pinctrl: pin-controller@10000 { 45 pinctrl-0 = <&pmx_dip_switches>; 46 pinctrl-names = "default"; 48 pmx_uart0: pmx-uart0 { [all …]
|
H A D | kirkwood-openblocks_a7.dts | 1 // SPDX-License-Identifier: GPL-2.0 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 11 /dts-v1/; 14 #include "kirkwood-6282.dtsi" 18 compatible = "plathome,openblocks-a7", "marvell,kirkwood-88f6283", "marvell,kirkwood"; 27 stdout-path = &uart0; 40 nr-ports = <1>; 53 pinctrl: pin-controller@10000 { 54 pinctrl-0 = <&pmx_dip_switches &pmx_gpio_header 56 pinctrl-names = "default"; [all …]
|
H A D | orion5x-linkstation-lschl.dts | 2 * Device Tree file for Buffalo Linkstation LS-CHLv3 5 * Copyright (C) 2015-2017 8 * This file is dual-licensed: you can use it either under the terms 47 /dts-v1/; 49 #include "orion5x-linkstation.dtsi" 50 #include "mvebu-linkstation-gpio-simple.dtsi" 51 #include "mvebu-linkstation-fan.dtsi" 52 #include <dt-bindings/gpio/gpio.h> 55 model = "Buffalo Linkstation LiveV3 (LS-CHL)"; 56 compatible = "buffalo,lschl", "marvell,orion5x-88f5182", "marvell,orion5x"; [all …]
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/ |
H A D | discover-sys-init.conf | 2 Wants=muti-gpios-sys-init.service 3 After=muti-gpios-sys-init.service
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | phosphor-multi-gpio-monitor.conf | 2 Wants=multi-gpios-sys-init.service 3 After=multi-gpios-sys-init.service
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/ |
H A D | phosphor-gpio-monitor_%.bbappend | 3 inherit obmc-phosphor-systemd systemd 5 SRC_URI += "file://assert-gpio-log@.service \ 6 file://assert-post-end \ 7 file://assert-post-end.service \ 8 file://assert-power-good \ 9 file://assert-power-good.service \ 10 file://assert-reset-button \ 11 file://assert-reset-button.service \ 12 file://deassert-gpio-log@.service \ 13 file://deassert-post-end \ [all …]
|
/openbmc/linux/arch/arm/mach-pxa/ |
H A D | am300epd.c | 2 * am300epd.c -- Platform device for AM300 EPD kit 10 * This work was made possible by help and equipment support from E-Ink 14 * on the AM300 EPD prototype kit/development kit with an E-Ink 800x600 26 #include <linux/init.h> 32 #include "mfp-pxa25x.h" 34 #include <linux/platform_data/video-pxafb.h> 56 /* this is the 16-bit hdb bus 58-73 */ 94 static int gpios[] = { PWR_GPIO_PIN, CFG_GPIO_PIN, RDY_GPIO_PIN, DC_GPIO_PIN, variable 103 wait_event(par->waitq, gpio_get_value(RDY_GPIO_PIN)); in am300_wait_event() 113 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am300_init_gpio_regs() [all …]
|
H A D | am200epd.c | 2 * am200epd.c -- Platform device for AM200 EPD kit 12 * This work was made possible by help and equipment support from E-Ink 16 * on the AM200 EPD prototype kit/development kit with an E-Ink 800x600 28 #include <linux/init.h> 35 #include <linux/platform_data/video-pxafb.h> 101 static int gpios[] = { LED_GPIO_PIN , STDBY_GPIO_PIN , RST_GPIO_PIN, variable 110 for (i = 0; i < ARRAY_SIZE(gpios); i++) { in am200_init_gpio_regs() 111 err = gpio_request(gpios[i], gpio_names[i]); in am200_init_gpio_regs() 113 dev_err(&am200_device->dev, "failed requesting " in am200_init_gpio_regs() 131 while (--i >= 0) in am200_init_gpio_regs() [all …]
|
/openbmc/phosphor-buttons/inc/ |
H A D | serial_uart_mux.hpp | 14 #include <phosphor-logging/elog-errors.hpp> 27 init(); in SerialUartMux() 38 if (buttonCfg.gpios.size() < 3) in SerialUartMux() 43 for (auto& gpio : buttonCfg.gpios) in SerialUartMux() 52 gpioLineCount = buttonCfg.gpios.size() - 1; in SerialUartMux() 59 void init() override;
|
/openbmc/openbmc/meta-hpe/meta-rl300-g11/recipes-hpe/power-sequencing/files/ |
H A D | gpios-manager.sh | 2 # File which is managing GPIOS when detected. First parameter is which GPIOs that switched 7 …busctl set-property xyz.openbmc_project.Chassis.Gpios /xyz/openbmc_project/chassis/gpios xyz.openb… 8 smproStatus=$(lsmod | grep smpro-mfd) 12 # We need to wait for the SoC to be ready to communicate - We just received the PGOOD signal 26 max_retry=$(( max_retry - 1)) 34 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 35 i2ctransfer -y 3 w2@0x40 0x34 0xa7 r1 38 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 39 i2ctransfer -y 3 w2@0x40 0x34 0xa7 r1 42 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | samsung,s6e8aa0.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrzej Hajda <a.hajda@samsung.com> 13 - $ref: panel-common.yaml# 20 reset-gpios: true 21 display-timings: true 23 vdd3-supply: 26 vci-supply: 29 power-on-delay: [all …]
|
/openbmc/u-boot/board/qualcomm/dragonboard410c/ |
H A D | dragonboard410c.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Board init file for Dragonboard 410C 34 gd->ram_size = PHYS_SDRAM_1_SIZE; in dram_init() 41 gd->bd->bi_dram[0].start = PHYS_SDRAM_1; in dram_init_banksize() 42 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE; in dram_init_banksize() 47 int board_usb_init(int index, enum usb_init_type init) in board_usb_init() argument 63 /* Try to request gpios needed to start usb host on dragonboard */ in board_usb_init() 65 node = fdt_subnode_offset(gd->fdt_blob, in board_usb_init() 73 "gpios", 0, &hub_reset, 0); in board_usb_init() 81 node = fdt_subnode_offset(gd->fdt_blob, in board_usb_init() [all …]
|
/openbmc/openbmc/meta-ampere/meta-mitchell/recipes-ampere/platform/ampere-platform-init/ |
H A D | mtmitchell_platform_gpios_init.sh | 7 if [[ ! -e /dev/rtc0 ]]; then 9 echo 6-0051 > /sys/bus/i2c/drivers/rtc-pcf85063/bind 13 function pre-platform-init() { 14 echo "Do pre platform init" 17 function post-platform-init() { 22 pgood=$(gpioget $(gpiofind power-chassis-good)) 25 gpioset $(gpiofind power-chassis-control)=0 28 gpioset $(gpiofind power-chassis-control)=1 31 gpioset $(gpiofind host0-sysreset-n)=1 34 for filename in /sys/class/hwmon/*/pwm*[1-6] [all …]
|
/openbmc/openbmc/meta-hpe/meta-dl360-g11/recipes-hpe/power-sequencing/files/ |
H A D | gpios-manager.sh | 2 # File which is managing GPIOS when detected. First parameter is which GPIOs that switched 5 …busctl set-property xyz.openbmc_project.Chassis.Gpios /xyz/openbmc_project/chassis/gpios xyz.openb… 12 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 14 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 16 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 18 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 20 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 22 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 24 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 26 i2ctransfer -y 3 w4@0x40 0x34 0xbf 0x00 0xe8 [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | am335x-brppt1-spi.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * http://www.br-automation.com 7 /dts-v1/; 15 fset: factory-settings { 16 bl-version = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 18 order-no = "6PPT30 (SPI)"; 19 hw-revision = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456890"; 20 serial-no = "0"; 21 device-id = <0x0>; 22 parent-id = <0x0>; [all …]
|
H A D | am335x-icev2.dts | 2 * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ 14 /dts-v1/; 19 model = "TI AM3359 ICE-V2"; 20 compatible = "ti,am3359-icev2", "ti,am33xx"; 23 stdout-path = &uart3; 24 tick-timer = &timer2; 33 compatible = "regulator-fixed"; 34 regulator-name = "vbat"; 35 regulator-min-microvolt = <5000000>; 36 regulator-max-microvolt = <5000000>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/aspeed/ |
H A D | aspeed-bmc-inspur-fp5280g2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 6 #include <dt-bindings/interrupt-controller/irq.h> 10 compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500"; 13 stdout-path = &uart5; 21 reserved-memory { 22 #address-cells = <1>; [all …]
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/motor-ctrl/files/ |
H A D | motor-init | 1 #!/bin/bash -e 10 # shellcheck source=meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/bletchley-commo… 11 source /usr/libexec/bletchley-common-functions 26 if [ ! -d "$PWM_PATH" ];then 29 if [ -d "$PWM_PATH" ];then 51 #Init gpio pins for step motor control 53 echo "Init GPIOs:" 67 if [[ "$1" =~ ^(sled[1-6]{1})$ ]]; then 82 #Init gpios 92 if [ "$INIT_POS" -eq 1 ];then [all …]
|