/freebsd/sys/contrib/device-tree/src/arm/st/ |
H A D | ste-dbx5x0-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 #include "ste-nomadik-pinctrl.dtsi" 17 pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */ 21 pins = "GPIO1_AJ3", "GPIO3_AH3"; /* RTS+TXD */ 28 pins = "GPIO0_AJ5", "GPIO2_AH4"; /* CTS+RXD */ 32 pins = "GPIO1_AJ3"; /* RTS */ 36 pins = "GPIO3_AH3"; /* TXD */ 49 pins = "GPIO4_AH6"; /* RXD */ 53 pins = "GPIO5_AG6"; /* TXD */ 60 pins = "GPIO4_AH6"; /* RXD */ [all …]
|
H A D | stih407-pinctrl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 6 #include "st-pincfg.h" 7 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 /* 0-5: PIO_SBC */ 18 /* 10-19: PIO_FRONT0 */ 31 /* 30-35: PIO_REAR */ 38 /* 40-42: PIO_FLASH */ 45 pin-controller-sbc@961f080 { 46 #address-cells = <1>; 47 #size-cells = <1>; [all …]
|
/freebsd/share/man/man4/ |
H A D | gpioiic.4 | 30 .Nd GPIO I2C bit-banging device driver 35 .Bd -ragged -offset indent 45 .Bd -literal -offset indent 51 driver provides an IIC bit-banging interface using two GPIO pins for the 52 SCL and SDA lines on the bus. 55 simulates an open collector kind of output when managing the pins on the 56 bus, even on systems which don't directly support configuring gpio pins 58 The pins are never driven to the logical value of '1'. 59 They are driven to '0' or switched to input mode (Hi-Z/tri-state), and 67 .Bl -tag -width ".Va hint.gpioiic.%d.atXXX" [all …]
|
/freebsd/sys/contrib/device-tree/src/riscv/starfive/ |
H A D | jh7100-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/pinctrl/pinctrl-starfive-jh7100.h> 21 stdout-path = "serial0:115200n8"; 25 timebase-frequency = <6250000>; 34 compatible = "gpio-leds"; 36 led-ack { 40 linux,default-trigger = "heartbeat"; [all …]
|
H A D | jh7110-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 7 /dts-v1/; 9 #include "jh7110-pinfunc.h" 10 #include <dt-bindings/gpio/gpio.h> 25 stdout-path = "serial0:115200n8"; 33 gpio-restart { 34 compatible = "gpio-restart"; 39 pwmdac_codec: audio-codec { 40 compatible = "linux,spdif-dit"; 41 #sound-dai-cells = <0>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
H A D | exynos5250-spring.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 10 #include <dt-bindings/clock/samsung,s2mps11.h> 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/input/input.h> 19 chassis-type = "laptop"; 33 stdout-path = "serial3:115200n8"; 36 gpio-keys { 37 compatible = "gpio-keys"; [all …]
|
H A D | s5pv210-aries.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 6 /dts-v1/; 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 32 reserved-memory { 33 #address-cells = <1>; 34 #size-cells = <1>; 38 compatible = "shared-dma-pool"; 39 no-map; 44 compatible = "shared-dma-pool"; [all …]
|
H A D | exynos5250-snow-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/clock/maxim,max77686.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/input/input.h> 12 #include <dt-bindings/sound/samsung-i2 [all...] |
/freebsd/sys/dev/gpio/ |
H A D | gpioiic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 62 {"i2c-gpio", true}, /* Standard devicetree compat string */ 83 node = ofw_bus_get_node(sc->dev); in gpioiic_setup_fdt_pins() 87 * property. The modern bindings specify separate scl-gpios and in gpioiic_setup_fdt_pins() 88 * sda-gpios properties. We cope with whichever is present. in gpioiic_setup_fdt_pins() 91 if ((err = gpio_pin_get_by_ofw_idx(sc->dev, node, in gpioiic_setup_fdt_pins() 92 GPIOIIC_SCL_DFLT, &sc->sclpin)) != 0) { in gpioiic_setup_fdt_pins() 93 device_printf(sc->dev, "invalid gpios property\n"); in gpioiic_setup_fdt_pins() 96 if ((err = gpio_pin_get_by_ofw_idx(sc->dev, node, in gpioiic_setup_fdt_pins() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/broadcom/ |
H A D | bcm2711.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 4 #include <dt-bindings/interrupt-controller/arm-gic.h> 5 #include <dt-bindings/soc/bcm2835-pm.h> 10 #address-cells = <2>; 11 #size-cells = <1>; 13 interrupt-parent = <&gicv2>; 16 compatible = "brcm,bcm2711-vc5"; 20 clk_27MHz: clk-27M { 21 #clock-cells = <0>; 22 compatible = "fixed-clock"; [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/i2c/ |
H A D | i2c-st.txt | 4 - compatible : Must be "st,comms-ssc-i2c" or "st,comms-ssc4-i2c" 5 - reg : Offset and length of the register set for the device 6 - interrupts : the interrupt specifier 7 - clock-names: Must contain "ssc". 8 - clocks: Must contain an entry for each name in clock-names. See the common 10 - A pinctrl state named "default" must be defined to set pins in mode of 14 - clock-frequency : Desired I2C bus clock frequency in Hz. If not specified, 17 - st,i2c-min-scl-pulse-width-us : The minimum valid SCL pulse width that is 19 - st,i2c-min-sda-pulse-width-us : The minimum valid SDA pulse width that is 21 - A pinctrl state named "idle" could be defined to set pins in idle state [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | cirrus,lochnagar.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 15 Logic devices on mini-cards, as well as allowing connection of various 26 [2] Pinctrl: ../pinctrl/pinctrl-bindings.txt 29 [3] include/dt-bindings/pinctrl/lochnagar.h 37 - cirrus,lochnagar-pinctrl 39 gpio-controller: true 41 '#gpio-cells': [all …]
|
H A D | marvell,kirkwood-pinctrl.txt | 3 Please refer to marvell,mvebu-pinctrl.txt in this directory for common binding 7 - compatible: "marvell,88f6180-pinctrl", 8 "marvell,88f6190-pinctrl", "marvell,88f6192-pinctrl", 9 "marvell,88f6281-pinctrl", "marvell,88f6282-pinctrl", 10 "marvell,98dx4122-pinctrl", "marvell,98dx1135-pinctrl" 11 - reg: register specifier of MPP registers 14 It also support the 88f6281-based variant in the 98dx412x Bobcat SoCs. 16 Available mpp pins/groups and functions: 22 name pins functions 32 mpp8 8 gpio, twsi0(sda), uart0(rts), uart1(rts), ptp(clk), [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/nxp/imx/ |
H A D | imx6qdl-kontron-samx6i.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/sound/fsl-imx-audmux.h> 14 reg_1p0v_s0: regulator-1p0v-s0 { 15 compatible = "regulator-fixed"; 16 regulator-name = "V_1V0_S0"; 17 regulator-min-microvolt = <1000000>; 18 regulator-max-microvolt = <1000000>; 19 regulator-always-on; 20 regulator-boot-on; [all …]
|
H A D | imx6ull-phytec-tauri.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 9 #include "imx6ull-phytec-phycore-som.dtsi" 17 gpio_keys: gpio-keys { 18 compatible = "gpio-key"; 19 pinctrl-name [all...] |
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | sm8650.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8650-camcc.h> 8 #include <dt-bindings/clock/qcom,sm8650-dispcc.h> 9 #include <dt-bindings/clock/qcom,sm8650-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8650-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8650-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8650-videocc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
H A D | msm8916-samsung-j3ltetw.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8916-samsung-j3-common.dtsi" 8 model = "Samsung Galaxy J3 (2016) (SM-J320YZ)"; 10 chassis-type = "handset"; 14 sda-gpios = <&tlmm 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 15 scl-gpios = <&tlmm 1 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 20 sda-gpios = <&tlmm 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 21 scl-gpios = <&tlmm 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; 25 pins = "gpio0", "gpio1"; [all …]
|
H A D | sm8550.dtsi | 1 // SPDX-License-Identifier: BSD-3-Clause 6 #include <dt-bindings/clock/qcom,rpmh.h> 7 #include <dt-bindings/clock/qcom,sm8450-videocc.h> 8 #include <dt-bindings/clock/qcom,sm8550-camcc.h> 9 #include <dt-bindings/clock/qcom,sm8550-gcc.h> 10 #include <dt-bindings/clock/qcom,sm8550-gpucc.h> 11 #include <dt-bindings/clock/qcom,sm8550-tcsr.h> 12 #include <dt-bindings/clock/qcom,sm8550-dispcc.h> 13 #include <dt-bindings/dma/qcom-gpi.h> 14 #include <dt-bindings/firmware/qcom,scm.h> [all …]
|
H A D | msm8939-samsung-a7.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 /dts-v1/; 5 #include "msm8939-pm8916.dtsi" 6 #include "msm8916-modem-qdsp6.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include <dt-bindings/sound/apq8016-lpass.h> 16 chassis-type = "handset"; 25 stdout-path = "serial0"; [all …]
|
H A D | msm8916-samsung-serranove.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 6 /dts-v1/; 8 #include "msm8916-pm8916.dtsi" 9 #include "msm8916-modem-qdsp6.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-binding [all...] |
/freebsd/sys/dev/iicbus/ |
H A D | iic_recover_bus.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 32 * Helper code to recover a hung i2c bus by bit-banging a recovery sequence. 35 * The most common cause is a partially-completed transaction such as rebooting 44 * embedded i2c controllers, the i2c pins can be temporarily reassigned as gpio 45 * pins to do the bus recovery, then can be assigned back to the i2c hardware. 58 iic_recover_bus(struct iicrb_pin_access *pins) in iic_recover_bus() argument 67 pins->setsda(pins->ctx, 1); in iic_recover_bus() 68 pins->setscl(pins->ctx, 1); in iic_recover_bus() 72 * bus is doing clock-stretching and we should wait a while. If that in iic_recover_bus() [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/microchip/ |
H A D | lan966x-kontron-kswitch-d10-mmt-6g-2gs.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Device Tree file for the Kontron KSwitch D10 MMT 6G-2GS 6 /dts-v1/; 7 #include "lan966x-kontron-kswitch-d10-mmt.dtsi" 10 model = "Kontron KSwitch D10 MMT 6G-2GS"; 11 compatible = "kontron,kswitch-d10-mmt-6g-2gs", "kontron,s1921", 21 i2c-bus = <&i2c4>; 22 los-gpios = <&sgpio_in 1 0 GPIO_ACTIVE_HIGH>; 23 mod-def0-gpios = <&sgpio_in 1 1 GPIO_ACTIVE_LOW>; 24 maximum-power-milliwatt = <2500>; [all …]
|
H A D | at91sam9x5.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9x5.dtsi - Device Tree Include file for AT91SAM9x5 family SoC 11 #include <dt-bindings/dma/at91.h> 12 #include <dt-bindings/pinctrl/at91.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/clock/at91.h> 16 #include <dt-bindings/mfd/at91-usart.h> 19 #address-cells = <1>; 20 #size-cells = <1>; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/marvell/ |
H A D | kirkwood-km_common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 stdout-path = &uart0; 9 pinctrl: pin-controller@10000 { 10 pinctrl-0 = < &pmx_i2c_gpio_sda &pmx_i2c_gpio_scl >; 11 pinctrl-names = "default"; 13 pmx_i2c_gpio_sda: pmx-gpio-sda { 14 marvell,pins = "mpp8"; 17 pmx_i2c_gpio_scl: pmx-gpio-scl { 18 marvell,pins = "mpp9"; 29 compatible = "i2c-gpio"; [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/freescale/ |
H A D | imx8mm-innocomm-wb15.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/phy/phy-imx8-pcie.h> 10 reg_modem: regulator-modem { 11 compatible = "regulator-fixed"; 12 pinctrl-names = "default"; 13 pinctrl-0 = <&pinctrl_modem_regulator>; 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <3300000>; 16 regulator-name = "epdev_on"; 18 enable-active-high; [all …]
|