/openbmc/u-boot/arch/arm/dts/ |
H A D | vf.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR X11 6 #include <dt-bindings/gpio/gpio.h> 28 #address-cells = <1>; 29 #size-cells = <1>; 30 compatible = "simple-bus"; 33 aips0: aips-bus@40000000 { 34 compatible = "fsl,aips-bus", "simple-bus"; 35 #address-cells = <1>; 36 #size-cells = <1>; 41 compatible = "fsl,vf610-lpuart"; [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/vf/ |
H A D | vfxxx.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 5 #include "vf610-pinfunc.h" 6 #include <dt-bindings/clock/vf610-clock.h> 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/gpio/gpio.h> 32 compatible = "fixed-clock"; 33 #clock-cells = <0>; 34 clock-frequency = <24000000>; 38 compatible = "fixed-clock"; 39 #clock-cells = <0>; [all …]
|
H A D | vf610-zii-ssmb-dtu.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SSMB - SPU3 Switch Management Board 7 * DTU - Digital Tapping Unit 9 * Copyright (C) 2015-2019 Zodiac Inflight Innovations 11 * Based on an original 'vf610-twr.dts' which is Copyright 2015, 15 /dts-v1/; 16 #include "vf610.dtsi" 19 model = "ZII VF610 SSMB DTU Board"; 20 compatible = "zii,vf610dtu", "zii,vf610dev", "fsl,vf610"; 23 stdout-path = &uart0; [all …]
|
H A D | vf610-zii-ssmb-spu3.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SSMB - SPU3 Switch Management Board 7 * SPU - Seat Power Unit 11 * Based on an original 'vf610-twr.dts' which is Copyright 2015, 15 /dts-v1/; 16 #include "vf610.dtsi" 19 model = "ZII VF610 SSMB SPU3 Board"; 20 compatible = "zii,vf610spu3", "zii,vf610dev", "fsl,vf610"; 23 stdout-path = &uart0; 31 gpio-leds { [all …]
|
H A D | vf610-zii-cfu1.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 7 /dts-v1/; 8 #include "vf610.dtsi" 11 model = "ZII VF610 CFU1 Board"; 12 compatible = "zii,vf610cfu1", "zii,vf610dev", "fsl,vf610"; 15 stdout-path = &uart0; 23 gpio-leds { 24 compatible = "gpio-leds"; 25 pinctrl-0 = <&pinctrl_leds_debug>; 26 pinctrl-names = "default"; [all …]
|
H A D | vf610-zii-spb4.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 * SPB - Seat Power Box 11 /dts-v1/; 12 #include "vf610.dtsi" 15 model = "ZII VF610 SPB4 Board"; 16 compatible = "zii,vf610spb4", "zii,vf610dev", "fsl,vf610"; 19 stdout-path = &uart0; 27 gpio-leds { 28 compatible = "gpio-leds"; 29 pinctrl-0 = <&pinctrl_leds_debug>; [all …]
|
H A D | vf610-zii-dev-rev-c.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 10 model = "ZII VF610 Development Board, Rev C"; 11 compatible = "zii,vf610dev-c", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 20 mdio-parent-bus = <&mdio1>; [all …]
|
H A D | vf610-zii-dev-rev-b.dts | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 6 /dts-v1/; 7 #include "vf610-zii-dev.dtsi" 10 model = "ZII VF610 Development Board, Rev B"; 11 compatible = "zii,vf610dev-b", "zii,vf610dev", "fsl,vf610"; 13 mdio-mux { 14 compatible = "mdio-mux-gpio"; 15 pinctrl-0 = <&pinctrl_mdio_mux>; 16 pinctrl-names = "default"; 21 mdio-parent-bus = <&mdio1>; [all …]
|
H A D | vf610-bk4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "vf610.dtsi" 12 compatible = "lwn,bk4", "fsl,vf610"; 15 stdout-path = &uart1; 23 audio_ext: oscillator-audio { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 clock-frequency = <24576000>; 29 enet_ext: oscillator-ethernet { [all …]
|
H A D | vf610-zii-dev.dtsi | 4 * Based on an original 'vf610-twr.dts' which is Copyright 2015, 7 * This file is dual-licensed: you can use it either under the terms 45 #include "vf610.dtsi" 49 stdout-path = "serial0:115200n8"; 57 gpio-leds { 58 compatible = "gpio-leds"; 59 pinctrl-0 = <&pinctrl_leds_debug>; 60 pinctrl-names = "default"; 62 led-debug { 65 linux,default-trigger = "heartbeat"; [all …]
|
H A D | vf610-zii-scu4-aib.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 // Copyright (C) 2016-2018 Zodiac Inflight Innovations 5 /dts-v1/; 6 #include "vf610.dtsi" 9 model = "ZII VF610 SCU4 AIB"; 10 compatible = "zii,vf610scu4-aib", "zii,vf610dev", "fsl,vf610"; 13 stdout-path = &uart0; 21 gpio-leds { 22 compatible = "gpio-leds"; 23 pinctrl-0 = <&pinctrl_leds_debug>; [all …]
|
H A D | vf-colibri.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2020 Toradex 14 compatible = "pwm-backlight"; 15 pinctrl-names = "default"; 16 pinctrl-0 = <&pinctrl_gpio_bl_on>; 18 enable-gpios = <&gpio1 13 GPIO_ACTIVE_HIGH>; 22 reg_module_3v3: regulator-module-3v3 { 23 compatible = "regulator-fixed"; 24 regulator-name = "+V3.3"; 25 regulator-min-microvolt = <3300000>; [all …]
|
H A D | vf-colibri-eval-v3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 3 * Copyright 2014-2020 Toradex 8 stdout-path = "serial0:115200n8"; 12 compatible = "fixed-clock"; 13 #clock-cells = <0>; 14 clock-frequency = <16000000>; 23 remote-endpoint = <&dcu_out>; 28 reg_3v3: regulator-3v3 { 29 compatible = "regulator-fixed"; 30 regulator-name = "3.3V"; [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/gpio/ |
H A D | gpio-vf610.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/gpio/gpio-vf610.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale VF610 PORT/GPIO module 10 - Stefan Agner <stefan@agner.ch> 13 The Freescale PORT/GPIO modules are two adjacent modules providing GPIO 14 functionality. Each pair serves 32 GPIOs. The VF610 has 5 instances of 17 Note: Each GPIO port should have an alias correctly numbered in "aliases" 23 - const: fsl,vf610-gpio [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/ls/ |
H A D | ls1021a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright 2013-2014 Freescale Semiconductor, Inc. 6 #include <dt-bindings/interrupt-controller/arm-gic.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #address-cells = <2>; 11 #size-cells = <2>; 12 interrupt-parent = <&gic>; 30 #address-cells = <1>; 31 #size-cells = <0>; 34 compatible = "arm,cortex-a7"; [all …]
|
/openbmc/linux/arch/arm64/boot/dts/freescale/ |
H A D | fsl-ls1028a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1028A family SoC. 5 * Copyright 2018-2020 NXP 11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 17 interrupt-parent = <&gic>; 18 #address-cells = <2>; 19 #size-cells = <2>; 22 #address-cells = <1>; [all …]
|
H A D | fsl-ls1012a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1012A family SoC. 6 * Copyright 2019-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 23 rtic-a = &rtic_a; [all …]
|
H A D | fsl-ls1046a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1046A family SoC. 11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 12 #include <dt-bindings/interrupt-controller/arm-gic.h> 13 #include <dt-bindings/thermal/thermal.h> 14 #include <dt-bindings/gpio/gpio.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; 37 #address-cells = <1>; [all …]
|
H A D | fsl-ls1043a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1043A family SoC. 5 * Copyright 2014-2015 Freescale Semiconductor, Inc. 11 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 12 #include <dt-bindings/thermal/thermal.h> 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #include <dt-bindings/gpio/gpio.h> 18 interrupt-parent = <&gic>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
H A D | fsl-lx2160a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 3 // Device Tree Include file for Layerscape-LX2160A family SoC. 5 // Copyright 2018-2020 NXP 7 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; [all …]
|
H A D | fsl-ls1088a.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree Include file for NXP Layerscape-1088A family SoC. 5 * Copyright 2017-2020 NXP 10 #include <dt-bindings/clock/fsl,qoriq-clockgen.h> 11 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include <dt-bindings/thermal/thermal.h> 16 interrupt-parent = <&gic>; 17 #address-cells = <2>; 18 #size-cells = <2>; 26 #address-cells = <1>; [all …]
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-vf610.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Freescale vf610 GPIO support through PORT and GPIO 12 #include <linux/gpio/driver.h> 68 { .compatible = "fsl,vf610-gpio", .data = NULL, }, 69 { .compatible = "fsl,imx7ulp-gpio", .data = &imx_data, }, 83 static int vf610_gpio_get(struct gpio_chip *gc, unsigned int gpio) in vf610_gpio_get() argument 86 unsigned long mask = BIT(gpio); in vf610_gpio_get() 89 if (port->sdata && port->sdata->have_paddr) { in vf610_gpio_get() 90 mask &= vf610_gpio_readl(port->gpio_base + GPIO_PDDR); in vf610_gpio_get() 95 return !!(vf610_gpio_readl(port->gpio_base + offset) & BIT(gpio)); in vf610_gpio_get() [all …]
|
/openbmc/linux/arch/arm/boot/dts/nxp/imx/ |
H A D | imx7ulp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright 2017-2018 NXP 8 #include <dt-bindings/clock/imx7ulp-clock.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 #include "imx7ulp-pinfunc.h" 15 interrupt-parent = <&intc>; 17 #address-cells = <1>; 18 #size-cells = <1>; 37 #address-cells = <1>; [all …]
|
/openbmc/u-boot/drivers/gpio/ |
H A D | vybrid_gpio.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <asm/gpio.h> 12 #include <asm/mach-imx/iomux-v3.h> 23 static int vybrid_gpio_direction_input(struct udevice *dev, unsigned gpio) in vybrid_gpio_direction_input() argument 27 gpio = gpio + (gpios->chip * VYBRID_GPIO_COUNT); in vybrid_gpio_direction_input() 28 imx_iomux_gpio_set_direction(gpio, VF610_GPIO_DIRECTION_IN); in vybrid_gpio_direction_input() 33 static int vybrid_gpio_direction_output(struct udevice *dev, unsigned gpio, in vybrid_gpio_direction_output() argument 38 gpio = gpio + (gpios->chip * VYBRID_GPIO_COUNT); in vybrid_gpio_direction_output() 39 gpio_set_value(gpio, value); in vybrid_gpio_direction_output() 40 imx_iomux_gpio_set_direction(gpio, VF610_GPIO_DIRECTION_OUT); in vybrid_gpio_direction_output() [all …]
|
/openbmc/u-boot/board/toradex/colibri_vf/ |
H A D | colibri_vf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 11 #include <asm/arch/imx-regs.h> 12 #include <asm/arch/iomux-vf610.h> 13 #include <asm/arch/ddrmc-vf610.h> 26 #include <asm/gpio.h> 28 #include "../common/tdx-common.h" 89 { 0, -1 } 153 gd->ram_size = get_ram_size((void *)PHYS_SDRAM, PHYS_SDRAM_SIZE); in dram_init() 373 return !!mscm->cpxcfg1; in is_colibri_vf61() 382 clrsetbits_le32(&ccm->ccgr0, CCM_REG_CTRL_MASK, in clock_init() [all …]
|