/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 …]
|
/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 …]
|
/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 …]
|
/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 | 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 …]
|
H A D | armada-xp-openblocks-ax3-4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for OpenBlocks AX3-4 board 7 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 10 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include "armada-xp-mv78260.dtsi" 16 model = "PlatHome OpenBlocks AX3-4 board"; 17 …compatible = "plathome,openblocks-ax3-4", "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell… 20 stdout-path = "serial0:115200n8"; [all …]
|
H A D | kirkwood-nsa310s.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 4 * Copyright 2020-2022 Pawel Dembicki <paweldembicki@gmail.com> 5 * Copyright (c) 2015-2021, Tony Dinh <mibodhi@gmail.com> 6 * Copyright (c) 2014, Adam Baker <linux@baker-net.org.uk> 9 /dts-v1/; 12 #include "kirkwood-6281.dtsi" 13 #include <dt-bindings/leds/common.h> 17 compatible = "zyxel,nsa310s", "marvell,kirkwood-88f6702", "marvell,kirkwood"; 26 stdout-path = &uart0; 30 compatible = "gpio-poweroff"; [all …]
|
H A D | armada-xp-lenovo-ix4-300d.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for Lenovo Iomega ix4-300d 8 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include "armada-xp-mv78230.dtsi" 15 model = "Lenovo Iomega ix4-300d"; 16 compatible = "lenovo,ix4-300d", "marvell,armadaxp-mv78230", 17 "marvell,armadaxp", "marvell,armada-370-xp"; 20 stdout-path = "serial0:115200n8"; [all …]
|
/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 …]
|
/linux/arch/arm64/boot/dts/marvell/ |
H A D | cn9130-cf-base.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com> 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 #include "cn9130-sr-som.dtsi" 16 #include "cn9130-cf.dtsi" 20 compatible = "solidrun,cn9130-clearfog-base", 21 "solidrun,cn9130-sr-som", "marvell,cn9130"; 23 gpio-keys { [all …]
|
H A D | cn9130-cf-pro.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2024 Josua Mayer <josua@solid-run.com> 9 /dts-v1/; 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/leds/common.h> 15 #include "cn9130-sr-som.dtsi" 16 #include "cn9130-cf.dtsi" 20 compatible = "solidrun,cn9130-clearfog-pro", 21 "solidrun,cn9130-sr-som", "marvell,cn9130"; 23 gpio-keys { [all …]
|
/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 …]
|
H A D | aspeed-bmc-opp-palmetto.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g4.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 9 compatible = "tyan,palmetto-bmc", "aspeed,ast2400"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; 26 no-map; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am335x-icev2.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2016 Texas Instruments Incorporated - https://www.ti.com/ 11 /dts-v1/; 16 model = "TI AM3359 ICE-V2"; 17 compatible = "ti,am3359-icev2", "ti,am33xx"; 25 stdout-path = &uart3; 29 compatible = "regulator-fixed"; 30 regulator-name = "vbat"; 31 regulator-min-microvolt = <5000000>; 32 regulator-max-microvolt = <5000000>; [all …]
|
H A D | omap4-panda-es.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "omap4-panda-common.dtsi" 11 model = "TI OMAP4 PandaBoard-ES"; 12 compatible = "ti,omap4-panda-es", "ti,omap4-panda", "ti,omap4460", "ti,omap4430", "ti,omap4"; 20 ti,audio-routing = 33 pinctrl-single,pins = < 41 led_gpio_pins: gpio-led-pmx-pins { 42 pinctrl-single,pins = < [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4412-galaxy-s3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/leds/common.h> 11 #include "exynos4412-midas.dtsi" 19 led-controller { 21 flen-gpios = <&gpj1 1 GPIO_ACTIVE_HIGH>; 22 enset-gpios = <&gpj1 2 GPIO_ACTIVE_HIGH>; 24 pinctrl-names = "default", "host", "isp"; 25 pinctrl-0 = <&camera_flash_host>; 26 pinctrl-1 = <&camera_flash_host>; [all …]
|
/linux/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_phy.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2015 - 2023 Beijing WangXun Technology Co., Ltd. */ 7 #include <linux/clk-provider.h> 13 #include <linux/pcs/pcs-xpcs.h> 25 struct txgbe_nodes *nodes = &txgbe->nodes; in txgbe_swnodes_register() 26 struct pci_dev *pdev = txgbe->wx->pdev; in txgbe_swnodes_register() 32 snprintf(nodes->gpio_name, sizeof(nodes->gpio_name), "txgbe_gpio-%x", id); in txgbe_swnodes_register() 33 snprintf(nodes->i2c_name, sizeof(nodes->i2c_name), "txgbe_i2c-%x", id); in txgbe_swnodes_register() 34 snprintf(nodes->sfp_name, sizeof(nodes->sfp_name), "txgbe_sfp-%x", id); in txgbe_swnodes_register() 35 snprintf(nodes->phylink_name, sizeof(nodes->phylink_name), "txgbe_phylink-%x", id); in txgbe_swnodes_register() [all …]
|
/linux/drivers/mtd/maps/ |
H A D | physmap-core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * 031022 - [jsun] add run-time configure and partition setup 19 * line and supplemented by GPIOs. This way you can hook up say a 8MiB flash 20 * to a 2MiB memory range and use the GPIOs to select a particular range. 23 * Copyright © 2005-2009 Analog Devices Inc. 29 #include <linux/init.h> 45 #include "physmap-bt1-rom.h" 46 #include "physmap-gemini.h" 47 #include "physmap-ixp4xx.h" 48 #include "physmap-versatile.h" [all …]
|
/linux/drivers/gpio/ |
H A D | gpiolib-swnode.c | 1 // SPDX-License-Identifier: GPL-2.0+ 13 #include <linux/init.h> 23 #include "gpiolib-swnode.h" 25 #define GPIOLIB_SWNODE_UNDEFINED_NAME "swnode-gpio-undefined" 33 if (!gdev_node || !gdev_node->name) in swnode_get_gpio_device() 34 return ERR_PTR(-EINVAL); in swnode_get_gpio_device() 37 * Check for a special node that identifies undefined GPIOs, this is in swnode_get_gpio_device() 41 !strcmp(gdev_node->name, GPIOLIB_SWNODE_UNDEFINED_NAME)) in swnode_get_gpio_device() 42 return ERR_PTR(-ENOENT); in swnode_get_gpio_device() 44 gdev = gpio_device_find_by_label(gdev_node->name); in swnode_get_gpio_device() [all …]
|
H A D | gpio-adp5520.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 11 #include <linux/init.h> 35 if (test_bit(off, &dev->output)) in adp5520_gpio_get_value() 36 adp5520_read(dev->master, ADP5520_GPIO_OUT, ®_val); in adp5520_gpio_get_value() 38 adp5520_read(dev->master, ADP5520_GPIO_IN, ®_val); in adp5520_gpio_get_value() 40 return !!(reg_val & dev->lut[off]); in adp5520_gpio_get_value() 50 adp5520_set_bits(dev->master, ADP5520_GPIO_OUT, dev->lut[off]); in adp5520_gpio_set_value() 52 adp5520_clr_bits(dev->master, ADP5520_GPIO_OUT, dev->lut[off]); in adp5520_gpio_set_value() 60 clear_bit(off, &dev->output); in adp5520_gpio_direction_input() 62 return adp5520_clr_bits(dev->master, ADP5520_GPIO_CFG_2, in adp5520_gpio_direction_input() [all …]
|
/linux/drivers/hsi/clients/ |
H A D | nokia-modem.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * nokia-modem.c 12 #include <linux/init.h> 32 struct nokia_modem_gpio *gpios; member 45 dev_info(modem->device, "CMT rst line change detected\n"); in do_nokia_modem_rst_ind_tasklet() 47 if (modem->ssi_protocol) in do_nokia_modem_rst_ind_tasklet() 48 ssip_reset_event(modem->ssi_protocol); in do_nokia_modem_rst_ind_tasklet() 55 tasklet_schedule(&modem->nokia_modem_rst_ind_tasklet); in nokia_modem_rst_ind_isr() 65 for (i = 0; i < modem->gpio_amount; i++) { in nokia_modem_gpio_unexport() 66 sysfs_remove_link(&dev->kobj, modem->gpios[i].name); in nokia_modem_gpio_unexport() [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sc7280-idp-ec-h1.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 11 pinctrl-0 = <&qup_spi10_data_clk>, <&qup_spi10_cs_gpio_init_high>, <&qup_spi10_cs_gpio>; 12 cs-gpios = <&tlmm 43 GPIO_ACTIVE_LOW>; 15 compatible = "google,cros-ec-spi"; 17 interrupt-parent = <&tlmm>; 19 pinctrl-names = "default"; 20 pinctrl-0 = <&ap_ec_int_l>; 21 spi-max-frequency = <3000000>; 22 wakeup-source; 25 compatible = "google,cros-ec-pwm"; [all …]
|