| /OK3568_Linux_fs/u-boot/drivers/i2c/ |
| H A D | i2c-gpio.c | 5 * This file is based on: drivers/i2c/soft-i2c.c, 6 * with added driver-model support and code cleanup. 29 * udelay - delay [us] between GPIO toggle operations, 33 /* sda, scl */ 34 struct gpio_desc gpios[PIN_COUNT]; member 50 static void i2c_gpio_scl_set(struct gpio_desc *scl, int bit) in i2c_gpio_scl_set() argument 56 dm_gpio_set_dir_flags(scl, flags); in i2c_gpio_scl_set() 59 static void i2c_gpio_write_bit(struct gpio_desc *scl, struct gpio_desc *sda, in i2c_gpio_write_bit() argument 62 i2c_gpio_scl_set(scl, 0); in i2c_gpio_write_bit() 66 i2c_gpio_scl_set(scl, 1); in i2c_gpio_write_bit() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/i2c/ |
| H A D | i2c-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Wolfram Sang <wolfram@the-dreams.de> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 18 - const: i2c-gpio 20 sda-gpios: 24 from <dt-bindings/gpio/gpio.h> since the signal is by definition 28 scl-gpios: [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 …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/ |
| H A D | rk3399pro-evb-v14-linux.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include "rk3399pro-evb-v11-linux.dts" 12 compatible = "rockchip,rk3399pro-evb-v14-linux", "rockchip,rk3399pro"; 14 reserved-memory { 15 #address-cells = <2>; 16 #size-cells = <2>; 19 //no-map; 25 /delete-node/ &imx327; 26 /delete-node/ &ov13850; [all …]
|
| H A D | rk3399-tve1205g.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/pinctrl/rockchip.h> 10 #include "rk3399-android.dtsi" 11 #include "rk3399-opp.dtsi" 12 #include <dt-bindings/sensor-dev.h> 13 #include <dt-bindings/pwm/pwm.h> 16 compatible = "rockchip,rk3399-mid", "rockchip,rk3399"; 18 edp_panel: edp-panel { 21 power-supply = <&vcc3v3_s0>; [all …]
|
| H A D | rk3399-sapphire-excavator.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 7 #include "rk3399-sapphire.dtsi" 10 model = "Excavator-RK3399 Board"; 11 compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399"; 13 adc-keys { 14 compatible = "adc-keys"; 15 io-channels = <&saradc 1>; 16 io-channel-names = "buttons"; 17 keyup-threshold-microvolt = <1800000>; [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> 10 #include "rk3399-opp.dtsi" 14 stdout-path = "serial2:1500000n8"; 17 clkin_gmac: external-gmac-clock { 18 compatible = "fixed-clock"; 19 clock-frequency = <125000000>; 20 clock-output-names = "clkin_gmac"; 21 #clock-cells = <0>; [all …]
|
| H A D | rk3399-excavator-sapphire.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 #include "rk3399-sapphire.dtsi" 8 #include <dt-bindings/sensor-dev.h> 10 compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399"; 12 rt5651_sound: rt5651-sound { 13 compatible = "simple-audio-card"; 14 simple-audio-card,format = "i2s"; 15 simple-audio-card,name = "realtek,rt5651-codec"; 16 simple-audio-card,mclk-fs = <256>; 17 simple-audio-card,widgets = [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/pwm/pwm.h> 10 #include "rk3399-opp.dtsi" 17 stdout-path = "serial2:1500000n8"; 20 clkin_gmac: external-gmac-clock { 21 compatible = "fixed-clock"; 22 clock-frequency = <125000000>; 23 clock-output-names = "clkin_gmac"; [all …]
|
| 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> 10 #include "rk3399-opp.dtsi" 13 model = "Firefly ROC-RK3399-PC Board"; 14 compatible = "firefly,roc-rk3399-pc", "rockchip,rk3399"; 17 stdout-path = "serial2:1500000n8"; 21 compatible = "pwm-backlight"; [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> 17 #include "rk3399-opp.dtsi" 21 stdout-path = "serial2:1500000n8"; 24 clkin_gmac: external-gmac-clock { 25 compatible = "fixed-clock"; 26 clock-frequency = <125000000>; 27 clock-output-names = "clkin_gmac"; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | stm32mp15xx-dhcom-drc02.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 17 stdout-path = "serial0:115200n8"; 36 rs485-rx-en { 37 gpio-hog; 38 gpios = <8 0>; 39 output-low; 40 line-name = "rs485-rx-en"; 45 gpio-line-names = "", "", "", "", [all …]
|
| H A D | stm32mp15xx-dhcom-pdk2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/pwm/pwm.h> 17 stdout-path = "serial0:115200n8"; 20 clk_ext_audio_codec: clock-codec { 21 compatible = "fixed-clock"; 22 #clock-cells = <0>; 23 clock-frequency = <24000000>; 26 display_bl: display-bl { [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 | stm32mp15xx-dhcor-avenger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved 9 #include "stm32mp15xx-dhcor-io1v8.dtsi" 22 cec_clock: clk-cec-fixed { 23 #clock-cells = <0>; 24 compatible = "fixed-clock"; 25 clock-frequency = <24000000>; 29 stdout-path = "serial0:115200n8"; 32 hdmi-out { 33 compatible = "hdmi-connector"; [all …]
|
| H A D | stm32mp157a-stinger96.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 9 #include "stm32mp15-pinctrl.dtsi" 10 #include "stm32mp15xxac-pinctrl.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/mfd/st,stpmic1.h> 24 stdout-path = "serial1:115200n8"; 33 compatible = "gpio-leds"; 37 gpios = <&gpioa 13 GPIO_ACTIVE_HIGH>; 38 linux,default-trigger = "heartbeat"; [all …]
|
| H A D | r8a7791-koelsch.dts | 1 // SPDX-License-Identifier: GPL-2.0 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 11 * SSI-AK4643 38 /dts-v1/; 40 #include <dt-bindings/gpio/gpio.h> 41 #include <dt-bindings/input/input.h> 63 stdout-path = "serial0:115200n8"; 77 #address-cells = <1>; 78 #size-cells = <1>; 82 compatible = "gpio-keys"; [all …]
|
| H A D | tegra30-apalis-v1.1-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra30-apalis-v1.1.dtsi" 9 compatible = "toradex,apalis_t30-v1.1-eval", "toradex,apalis_t30-eval", 10 "toradex,apalis_t30-v1.1", "toradex,apalis_t30", 24 stdout-path = "serial0:115200n8"; 47 hdmi-supply = <®_5v0>; 76 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier 81 clock-frequency = <400000>; [all …]
|
| H A D | tegra30-apalis-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/input.h> 5 #include "tegra30-apalis.dtsi" 9 compatible = "toradex,apalis_t30-eval", "toradex,apalis_t30", 23 stdout-path = "serial0:115200n8"; 46 hdmi-supply = <®_5v0>; 75 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier 80 clock-frequency = <400000>; 82 pcie-switch@58 { [all …]
|
| 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 | at91-sama5d2_ptc_ek.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR X11) 3 * at91-sama5d2_ptc_ek.dts - Device Tree file for SAMA5D2 PTC EK board 9 /dts-v1/; 11 #include "sama5d2-pinfunc.h" 12 #include <dt-bindings/mfd/atmel-flexcom.h> 13 #include <dt-bindings/gpio/gpio.h> 14 #include <dt-bindings/input/input.h> 15 #include <dt-bindings/pinctrl/at91.h> 19 compatible = "atmel,sama5d2-ptc_ek", "atmel,sama5d2", "atmel,sama5"; 29 stdout-path = "serial0:115200n8"; [all …]
|
| H A D | tegra124-apalis-v1.2-eval.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2016-2018 Toradex AG 6 /dts-v1/; 8 #include <dt-bindings/input/input.h> 9 #include "tegra124-apalis-v1.2.dtsi" 13 compatible = "toradex,apalis-tk1-v1.2-eval", "toradex,apalis-tk1-eval", 14 "toradex,apalis-tk1-v1.2", "toradex,apalis-tk1", 28 stdout-path = "serial0:115200n8"; 40 hdmi-supply = <®_5v0>; 69 * GEN1_I2C: I2C1_SDA/SCL on MXM3 pin 209/211 (e.g. RTC on carrier [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | rk3288-veyron.dtsi | 6 * SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/rockchip,rk808.h> 10 #include <dt-bindings/input/input.h> 12 #include "rk3288-u-boot.dtsi" 20 stdout-path = &uart2; 21 u-boot,spl-boot-order = &spi_flash; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&fw_wp_ap>; 28 write-protect-gpio = <&gpio7 6 GPIO_ACTIVE_LOW>; 33 compatible = "pwm-backlight"; [all …]
|
| H A D | imx7-colibri.dts | 4 * SPDX-License-Identifier: GPL-2.0+ or X11 7 /dts-v1/; 8 #include <dt-bindings/gpio/gpio.h> 13 compatible = "toradex,imx7-colibri", "fsl,imx7"; 16 stdout-path = &uart1; 21 pinctrl-names = "default", "gpio"; 22 pinctrl-0 = <&pinctrl_i2c1>; 23 pinctrl-1 = <&pinctrl_i2c1_gpio>; 24 sda-gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; 25 scl-gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; [all …]
|