| /freebsd/sys/contrib/device-tree/src/arm/st/ |
| 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 …]
|
| 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 …]
|
| /freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
| H A D | rk3288-veyron.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/rockchip,rk808.h> 9 #include <dt-bindings/input/input.h> 18 stdout-path = "serial2:115200n8"; 31 power_button: power-button { 32 compatible = "gpio-keys"; 33 pinctrl-names = "default"; 34 pinctrl-0 = <&pwr_key_l>; 36 key-power { 40 debounce-interval = <100>; [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 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" 72 Normally just gpiobus0 on systems with a single bank of gpio pins. [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/arm64/rockchip/ |
| H A D | rk3399-roc-pc.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Copyright (c) 2017 T-Chip Intelligent Technology Co., Ltd 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 12 model = "Firefly ROC-RK3399-PC Board"; 13 compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; 22 stdout-path = "serial2:1500000n8"; 26 compatible = "pwm-backlight"; 30 clkin_gmac: external-gmac-clock { [all …]
|
| H A D | rk3399-rock-pi-4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/pwm/pwm.h> 19 stdout-path = "serial2:1500000n8"; 22 clkin_gmac: external-gmac-clock { 23 compatible = "fixed-clock"; 24 clock-frequency = <125000000>; 25 clock-output-names = "clkin_gmac"; 26 #clock-cells = <0>; [all …]
|
| H A D | rk3399-rock-pi-4.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/linux-event-codes.h> 9 #include <dt-bindings/pwm/pwm.h> 11 #include "rk3399-opp.dtsi" 18 stdout-path = "serial2:1500000n8"; 21 clkin_gmac: external-gmac-clock { 22 compatible = "fixed-clock"; 23 clock-frequency = <125000000>; 24 clock-output-names = "clkin_gmac"; [all …]
|
| H A D | rk3399-orangepi.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "dt-bindings/pwm/pwm.h" 9 #include "dt-bindings/input/input.h" 10 #include <dt-bindings/interrupt-controller/irq.h> 11 #include "dt-bindings/usb/pd.h" 16 compatible = "xunlong,rk3399-orangepi", "rockchip,rk3399"; 26 stdout-path = "serial2:1500000n8"; 29 clkin_gmac: external-gmac-clock { 30 compatible = "fixed-clock"; [all …]
|
| H A D | rk3399-hugsun-x99.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /dts-v1/; 3 #include <dt-bindings/pwm/pwm.h> 4 #include <dt-bindings/input/input.h> 5 #include <dt-bindings/interrupt-controller/irq.h> 20 stdout-path = "serial2:1500000n8"; 23 clkin_gmac: external-gmac-clock { 24 compatible = "fixed-clock"; 25 clock-frequency = <125000000>; 26 clock-output-names = "clkin_gmac"; [all …]
|
| H A D | rk3399-leez-p710.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 24 stdout-path = "serial2:1500000n8"; 27 clkin_gmac: external-gmac-clock { 28 compatible = "fixed-clock"; 29 clock-frequency = <125000000>; 30 clock-output-names = "clkin_gmac"; [all …]
|
| H A D | rk3399-rockpro64.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/pwm/pwm.h> 20 stdout-path = "serial2:1500000n8"; 25 compatible = "pwm-backlight"; 26 brightness-levels = <0 4 8 16 32 64 128 255>; 27 default-brightness-level = <5>; 32 clkin_gmac: external-gmac-clock { 33 compatible = "fixed-clock"; 34 clock-frequency = <125000000>; [all …]
|
| H A D | rk3399-firefly.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include <dt-bindings/input/linux-event-codes.h> 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/pwm/pwm.h> 10 #include <dt-bindings/usb/pd.h> 14 model = "Firefly-RK3399 Board"; 15 compatible = "firefly,firefly-rk3399", "rockchip,rk3399"; 25 stdout-path = "serial2:1500000n8"; 29 compatible = "pwm-backlight"; [all …]
|
| H A D | rk3399pro-vmarc-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/pinctrl/rockchip.h> 10 #include <dt-bindings/pwm/pwm.h> 13 compatible = "vamrs,rk3399pro-vmarc-som", "rockchip,rk3399pro"; 21 vcc3v3_pcie: vcc-pcie-regulato [all...] |
| H A D | rk3399-nanopi4.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * RK3399-based FriendlyElec boards device tree source 14 /dts-v1/; 15 #include <dt-bindings/input/linux-event-codes.h> 27 stdout-path = "serial2:1500000n8"; 30 clkin_gmac: external-gmac-clock { 31 compatible = "fixed-clock"; 32 clock-frequency = <125000000>; 33 clock-output-names = "clkin_gmac"; 34 #clock-cells = <0>; [all …]
|
| H A D | rk3399-pinebook-pro.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include <dt-bindings/input/gpio-keys.h> 10 #include <dt-bindings/input/linux-event-codes.h> 11 #include <dt-bindings/pwm/pwm.h> 12 #include <dt-bindings/usb/pd.h> 13 #include <dt-bindings/leds/common.h> 18 compatible = "pine64,pinebook-pro", "rockchip,rk3399"; 19 chassis-type = "laptop"; 28 stdout-path = "serial2:1500000n8"; [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/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/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/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/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/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 …]
|
| /freebsd/sys/contrib/device-tree/src/arm64/mediatek/ |
| H A D | mt8186-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 5 /dts-v1/; 10 chassis-type = "embedded"; 11 compatible = "mediatek,mt8186-evb", "mediatek,mt8186"; 18 stdout-path = "serial0:921600n8"; 30 clock-frequency = <400000>; 31 pinctrl-names = "default"; 32 pinctrl-0 = <&i2c0_pins>; 38 clock-frequency = <400000>; 39 i2c-scl-internal-delay-ns = <8000>; [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 …]
|
| /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 …]
|