Squashed backup commit (no shallow-clone history issues) of xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2 branch, upstream commit 9eece662e) plus all fixes applied to get everpal_defconfig building clean against a modern (GCC 15.2.0) toolchain -- see the previous commit message on the lineage-23.2 branch (also in this repo history is not available here since this is a squashed snapshot; full incremental history lives in the local DL380 checkout and the upstream GitHub remote). Upstream: https://github.com/xiaomi-mt6833-dev/kernel_xiaomi_mt6833 (lineage-23.2)
29 lines
657 B
Devicetree
29 lines
657 B
Devicetree
/* IRTX GPIO Start */
|
|
&irtx_pwm {
|
|
pinctrl-names = "irtx_gpio_led_default", "irtx_gpio_led_set";
|
|
pinctrl-0 = <&irtx_gpio_led_default>;
|
|
pinctrl-1 = <&irtx_gpio_led_set>;
|
|
status = "okay";
|
|
};
|
|
&pio {
|
|
/* IRTX GPIO Settings -Start */
|
|
/* default: GPIO0, output, high */
|
|
irtx_gpio_led_default:irtx_gpio_led_def@gpio139 {
|
|
pins_cmd_dat {
|
|
pinmux = <PINMUX_GPIO139__FUNC_GPIO139>;
|
|
slew-rate = <1>;
|
|
bias-disable;
|
|
output-low;
|
|
input-schmitt-enable = <0>;
|
|
};
|
|
};
|
|
|
|
irtx_gpio_led_set:irtx_gpio_led_set@gpio139 {
|
|
pins_cmd_dat {
|
|
pinmux = <PINMUX_GPIO139__FUNC_PWM_2>;
|
|
slew-rate = <1>;
|
|
output-high;
|
|
};
|
|
};
|
|
}; /* IRTX GPIO Settings -End */
|