6db4831e98
Android 14
48 lines
981 B
Plaintext
48 lines
981 B
Plaintext
&pio {
|
|
gpio_i2c_1_sda {
|
|
gpio_i2c_1_sda_default: gpio_i2c_1_sda_default {
|
|
GPIO_CONFIG_PUD_DRV(AP,pio,190, FUNC_INPUT, PULL_NONE, DRV_LV1);
|
|
};
|
|
};
|
|
};
|
|
|
|
&pio {
|
|
gpio_i2c_1_scl {
|
|
gpio_i2c_1_scl_default: gpio_i2c_1_scl_default {
|
|
GPIO_CONFIG_PUD_DRV(AP,pio,189, FUNC_INPUT, PULL_NONE, DRV_LV1);
|
|
};
|
|
};
|
|
};
|
|
|
|
/ {
|
|
fragment@model {
|
|
target-path = "/";
|
|
__overlay__ {
|
|
aliases {
|
|
i2c31 = "/i2c@31";
|
|
};
|
|
/* Software I2C */
|
|
sw_i2c1: i2c@31 {
|
|
cell-index = <31>;
|
|
compatible = "i2c-gpio";
|
|
gpios = <
|
|
SEC_GPIO_REF(AP,pio,190) 0 /* SDA */
|
|
SEC_GPIO_REF(AP,pio,189) 0 /* SCL */
|
|
>;
|
|
#i2c-gpio,delay-us = <2>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <
|
|
&gpio_i2c_1_sda_default
|
|
&gpio_i2c_1_scl_default
|
|
>;
|
|
|
|
status = "disabled";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
|