/openbmc/u-boot/drivers/gpio/ |
H A D | da8xx_gpio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 14 #include <dt-bindings/gpio/gpio.h> 28 #define pinmux(x) (&davinci_syscfg_regs->pinmux[x]) macro 32 { pinmux(13), 8, 6 }, /* GP0[0] */ 33 { pinmux(13), 8, 7 }, 34 { pinmux(14), 8, 0 }, 35 { pinmux(14), 8, 1 }, 36 { pinmux(14), 8, 2 }, 37 { pinmux(14), 8, 3 }, 38 { pinmux(14), 8, 4 }, [all …]
|
/openbmc/u-boot/arch/arm/mach-davinci/ |
H A D | da850_pinmux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Pinmux configurations for the DA850 SoCs 15 { pinmux(3), 1, 0 }, /* SPI0_CLK */ 16 { pinmux(3), 1, 2 }, /* SPI0_SOMI */ 17 { pinmux(3), 1, 3 }, /* SPI0_SIMO */ 21 { pinmux(4), 1, 1 }, /* SPI0_SCS[0] */ 25 { pinmux(5), 1, 2 }, /* SPI1_CLK */ 26 { pinmux(5), 1, 4 }, /* SPI1_SOMI */ 27 { pinmux(5), 1, 5 }, /* SPI1_SIMO */ 31 { pinmux(5), 1, 1 }, /* SPI1_SCS[0] */ [all …]
|
/openbmc/u-boot/board/davinci/ea20/ |
H A D | ea20.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com/ 20 #include <asm/mach-types.h> 22 #include <asm/ti-common/davinci_nand.h> 27 #include "../../../drivers/video/da8xx-fb.h" 72 { pinmux(5), 1, 1 }, 73 { pinmux(5), 1, 2 }, 74 { pinmux(5), 1, 4 }, 75 { pinmux(5), 1, 5 } 80 { pinmux(4), 2, 2 }, [all …]
|
/openbmc/u-boot/board/davinci/da8xxevm/ |
H A D | omapl138_lcdk.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ 18 #include <asm/ti-common/davinci_nand.h> 21 #include <asm/mach-types.h> 30 #define pinmux(x) (&davinci_syscfg_regs->pinmux[x]) macro 36 { pinmux(0), 8, 4 }, /* GP0[11] */ 37 { pinmux(10), 2, 0 }, /* MMCSD0_CLK */ 38 { pinmux(10), 2, 1 }, /* MMCSD0_CMD */ 39 { pinmux(10), 2, 2 }, /* MMCSD0_DAT_0 */ 40 { pinmux(10), 2, 3 }, /* MMCSD0_DAT_1 */ [all …]
|
/openbmc/linux/drivers/pinctrl/qcom/ |
H A D | Kconfig.msm | 1 # SPDX-License-Identifier: GPL-2.0-only 8 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 15 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 22 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 29 This is the pinctrl, pinmux, pinconf and gpiolib driver for 38 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 45 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 53 This is the pinctrl, pinmux, pinconf and gpiolib driver for 62 This is the pinctrl, pinmux, pinconf and gpiolib driver for 71 This is the pinctrl, pinmux, pinconf and gpiolib driver for [all …]
|
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 select PINMUX 23 select PINMUX 30 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 38 select PINMUX 45 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 52 select PINMUX 58 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 67 This is the pinctrl, pinmux, pinconf and gpiolib driver for the 76 This is the pinctrl, pinmux, pinconf and gpiolib driver for the [all …]
|
/openbmc/linux/arch/arm/boot/dts/st/ |
H A D | stm32mp13-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2021 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 adc1_usb_cc_pins_a: adc1-usb-cc-pins-0 { 11 pinmux = <STM32_PINMUX('F', 12, ANALOG)>, /* ADC1 in6 */ 16 i2c1_pins_a: i2c1-0 { 18 pinmux = <STM32_PINMUX('D', 12, AF5)>, /* I2C1_SCL */ 20 bias-disable; 21 drive-open-drain; 22 slew-rate = <0>; [all …]
|
H A D | stm32mp15-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 6 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 9 adc1_ain_pins_a: adc1-ain-0 { 11 pinmux = <STM32_PINMUX('F', 11, ANALOG)>, /* ADC1_INP2 */ 20 adc1_in6_pins_a: adc1-in6-0 { 22 pinmux = <STM32_PINMUX('F', 12, ANALOG)>; 26 adc12_ain_pins_a: adc12-ain-0 { 28 pinmux = <STM32_PINMUX('C', 3, ANALOG)>, /* ADC1 in13 */ 35 adc12_ain_pins_b: adc12-ain-1 { [all …]
|
H A D | stm32f7-pinctrl.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved 7 #include <dt-bindings/pinctrl/stm32-pinfunc.h> 8 #include <dt-bindings/mfd/stm32f7-rcc.h> 13 #address-cells = <1>; 14 #size-cells = <1>; 16 interrupt-parent = <&exti>; 20 gpio-controller; 21 #gpio-cells = <2>; 22 interrupt-controller; [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh4a/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for the Linux/SuperH SH-4 backends. 7 obj-$(CONFIG_CPU_SUBTYPE_SH7757) += setup-sh7757.o 8 obj-$(CONFIG_CPU_SUBTYPE_SH7763) += setup-sh7763.o 9 obj-$(CONFIG_CPU_SUBTYPE_SH7770) += setup-sh7770.o 10 obj-$(CONFIG_CPU_SUBTYPE_SH7780) += setup-sh7780.o 11 obj-$(CONFIG_CPU_SUBTYPE_SH7785) += setup-sh7785.o 12 obj-$(CONFIG_CPU_SUBTYPE_SH7786) += setup-sh7786.o intc-shx3.o 13 obj-$(CONFIG_CPU_SUBTYPE_SH7343) += setup-sh7343.o 14 obj-$(CONFIG_CPU_SUBTYPE_SH7722) += setup-sh7722.o serial-sh7722.o [all …]
|
/openbmc/u-boot/test/py/tests/ |
H A D | test_pinmux.py | 1 # SPDX-License-Identifier: GPL-2.0 8 """Test that 'pinmux' command without parameters displays 9 pinmux usage.""" 10 output = u_boot_console.run_command('pinmux') 15 """Test that 'pinmux status' executed without previous "pinmux dev" 16 command displays pinmux usage.""" 17 output = u_boot_console.run_command('pinmux status') 23 """Test that 'pinmux status -a' displays pin's muxing.""" 24 output = u_boot_console.run_command('pinmux status -a') 29 assert ('W1 : 1-wire gpio' in output) [all …]
|
/openbmc/linux/arch/arm/boot/dts/microchip/ |
H A D | at91-sama5d27_som1_ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d27_som1_ek.dts - Device Tree file for SAMA5D27-SOM1-EK board 10 /dts-v1/; 11 #include "at91-sama5d27_som1.dtsi" 12 #include <dt-bindings/mfd/atmel-flexcom.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 18 …compatible = "atmel,sama5d27-som1-ek", "atmel,sama5d27-som1", "atmel,sama5d27", "atmel,sama5d2", "… 29 stdout-path = "serial0:115200n8"; 34 atmel,vbus-gpio = <&pioA PIN_PD20 GPIO_ACTIVE_HIGH>; [all …]
|
H A D | at91-sama5d2_icp.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * at91-sama5d2_icp.dts - Device Tree file for SAMA5D2-ICP board 11 /dts-v1/; 13 #include "sama5d2-pinfunc.h" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/mfd/atmel-flexcom.h> 19 model = "Microchip SAMA5D2-ICP"; 20 compatible = "microchip,sama5d2-icp", "atmel,sama5d27", "atmel,sama5d2", "atmel,sama5"; 32 stdout-path = "serial0:115200n8"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt8192-asurada.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/spmi/spmi.h> 25 stdout-path = "serial0:115200n8"; 33 backlight_lcd0: backlight-lcd0 { 34 compatible = "pwm-backlight"; 36 power-supply = <&ppvar_sys>; 37 enable-gpios = <&pio 152 0>; 38 brightness-levels = <0 1023>; [all …]
|
H A D | mt6795-sony-xperia-m5.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 14 compatible = "sony,xperia-m5", "mediatek,mt6795"; 15 chassis-type = "handset"; 30 reserved_memory: reserved-memory { 31 #address-cells = <2>; 32 #size-cells = <2>; 38 no-map; 42 preloader-region@44800000 { [all …]
|
H A D | mt8183-kukui.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 21 stdout-path = "serial0:115200n8"; 25 compatible = "pwm-backlight"; 27 power-supply = <&bl_pp5000>; 28 enable-gpios = <&pio 176 0>; 29 brightness-levels = <0 1023>; 30 num-interpolated-steps = <1023>; 31 default-brightness-level = <576>; [all …]
|
H A D | mt8183-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 /dts-v1/; 14 chassis-type = "embedded"; 15 compatible = "mediatek,mt8183-evb", "mediatek,mt8183"; 27 stdout-path = "serial0:921600n8"; 30 reserved-memory { 31 #address-cells = <2>; 32 #size-cells = <2>; 35 compatible = "shared-dma-pool"; 37 no-map; [all …]
|
H A D | mt8365-evk.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2021-2022 BayLibre, SAS. 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/pinctrl/mt8365-pinfunc.h> 19 compatible = "mediatek,mt8365-evk", "mediatek,mt8365"; 26 stdout-path = "serial0:921600n8"; 31 compatible = "linaro,optee-tz"; 36 gpio-keys { [all …]
|
/openbmc/linux/drivers/pinctrl/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 14 config PINMUX config 19 select PINMUX 40 select PINMUX 55 select PINMUX 66 will be called pinctrl-apple-gpio. 69 bool "Axis ARTPEC-6 pin controller driver" 71 select PINMUX 74 This is the driver for the Axis ARTPEC-6 pin controller. This driver 77 found in Documentation/devicetree/bindings/pinctrl/axis,artpec6-pinctrl.txt [all …]
|
/openbmc/u-boot/board/nvidia/dalmore/ |
H A D | pinmux-config-dalmore.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2010-2013, NVIDIA CORPORATION. All rights reserved. 84 /* EXTPERIPH1 pinmux */ 87 /* I2S0 pinmux */ 93 /* I2S1 pinmux */ 99 /* I2S3 pinmux */ 105 /* CLDVFS pinmux */ 109 /* ULPI pinmux */ 123 /* I2C3 pinmux */ 127 /* VI pinmux */ [all …]
|
/openbmc/linux/arch/riscv/boot/dts/canaan/ |
H A D | sipeed_maix_bit.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "sipeed,maix-bit", "sipeed,maix-bitm", 18 "canaan,kendryte-k210"; 22 stdout-path = "serial0:115200n8"; 25 gpio-leds { [all …]
|
H A D | sipeed_maix_dock.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "sipeed,maix-dock-m1", "sipeed,maix-dock-m1w", 18 "canaan,kendryte-k210"; 22 stdout-path = "serial0:115200n8"; 25 gpio-leds { [all …]
|
H A D | sipeed_maix_go.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/leds/common.h> 17 compatible = "sipeed,maix-go", "canaan,kendryte-k210"; 21 stdout-path = "serial0:115200n8"; 24 gpio-leds { 25 compatible = "gpio-leds"; [all …]
|
H A D | sipeed_maixduino.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com> 7 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 16 compatible = "sipeed,maixduino", "canaan,kendryte-k210"; 20 stdout-path = "serial0:115200n8"; 23 gpio-keys { 24 compatible = "gpio-keys"; 26 key-boot { [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | loongson,ls2k-pinctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/loongson,ls2k-pinctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Loongson-2 SoC Pinctrl Controller 10 - zhanghongchen <zhanghongchen@loongson.cn> 11 - Yinbo Zhu <zhuyinbo@loongson.cn> 14 - $ref: pinctrl.yaml# 18 const: loongson,ls2k-pinctrl 24 '-pins$': [all …]
|