/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/sys/contrib/device-tree/src/riscv/starfive/ |
H A D | jh7110-starfive-visionfive-2.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> 26 stdout-path = "serial0:115200n8"; 30 timebase-frequency = <4000000>; 38 gpio-restart { 39 compatible = "gpio-restar [all...] |
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-pat [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/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/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 …]
|
H A D | i2c-at91.txt | 4 - compatible : Must be one of: 5 "atmel,at91rm9200-i2c", 6 "atmel,at91sam9261-i2c", 7 "atmel,at91sam9260-i2c", 8 "atmel,at91sam9g20-i2c", 9 "atmel,at91sam9g10-i2c", 10 "atmel,at91sam9x5-i2c", 11 "atmel,sama5d4-i2c", 12 "atmel,sama5d2-i2c", 13 "microchip,sam9x60-i2c". [all …]
|
H A D | i2c.txt | 8 ----------------------------- 10 - #address-cells - should be <1>. Read more about addresses below. 11 - #size-cells - should be <0>. 12 - compatible - name of I2C bus controller 21 ----------------------------- 26 - clock-frequency 29 - i2c-bus 31 devices and non-I2C devices, the 'i2c-bus' subnode can be used for 32 populating I2C devices. If the 'i2c-bus' subnode is present, only 34 '#address-cells' and '#size-cells' must be defined under this subnode [all …]
|
H A D | i2c-imx.txt | 1 * Freescale Inter IC (I2C) and High Speed Inter IC (HS-I2C) for i.MX 4 - compatible : 5 - "fsl,imx1-i2c" for I2C compatible with the one integrated on i.MX1 SoC 6 - "fsl,imx21-i2c" for I2C compatible with the one integrated on i.MX21 SoC 7 - "fsl,vf610-i2c" for I2C compatible with the one integrated on Vybrid vf610 SoC 8 - reg : Should contain I2C/HS-I2C registers location and length 9 - interrupts : Should contain I2C/HS-I2C interrupt 10 - clocks : Should contain the I2C/HS-I2C clock specifier 13 - clock-frequency : Constains desired I2C/HS-I2C bus clock frequency in Hz. 15 - dmas: A list of two dma specifiers, one for each entry in dma-names. [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 …]
|
/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-cell [all...] |
/freebsd/sys/contrib/device-tree/src/arm/samsung/ |
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 …]
|
/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/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/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() 71 * At this point, SCL should be high. If it's not, some slave on the 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-controlle [all...] |
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | msm8916-samsung-a2015-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #include "msm8916-pm8916.dtsi" 4 #include "msm8916-modem-qdsp6.dtsi" 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/input.h> 8 #include <dt-binding [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/contrib/device-tree/Bindings/iio/temperature/ |
H A D | tmp007.txt | 1 * TI TMP007 - IR thermopile sensor with integrated math engine 7 - compatible: should be "ti,tmp007" 8 - reg: the I2C address of the sensor (changeable via ADR pins) 9 ------------------------------ 11 ------------------------------ 14 0 SDA 0x42 15 0 SCL 0x43 18 1 SDA 0x46 19 1 SCL 0x47 23 - interrupts: interrupt mapping for GPIO IRQ (level active low) [all …]
|
H A D | ti,tmp007.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Manivannan Sadhasivam <manivannanece23@gmail.com> 21 The I2C address of the sensor (changeable via ADR pins) 22 ------------------------------ 24 ------------------------------ 27 0 SDA 0x42 28 0 SCL 0x43 31 1 SDA 0x46 [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 …]
|
H A D | imx8mp-venice-gw702x.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/net/ti-dp83867.h> 20 gpio-keys { 21 compatible = "gpio-keys"; 23 key-user-pb { 29 key-user-pb1x { 32 interrupt-parent = <&gsc>; 36 key-erased { [all …]
|