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)
90 lines
1.3 KiB
Devicetree
90 lines
1.3 KiB
Devicetree
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
&msmgpio {
|
|
|
|
msmgpio_leds: msmgpio_leds {
|
|
pinconf {
|
|
pins = "gpio21", "gpio120";
|
|
function = "gpio";
|
|
output-low;
|
|
};
|
|
};
|
|
|
|
usb_id_default: usb-id-default {
|
|
pinmux {
|
|
function = "gpio";
|
|
pins = "gpio121";
|
|
};
|
|
|
|
pinconf {
|
|
pins = "gpio121";
|
|
drive-strength = <8>;
|
|
input-enable;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
|
|
adv7533_int_active: adv533_int_active {
|
|
pinmux {
|
|
function = "gpio";
|
|
pins = "gpio31";
|
|
};
|
|
pinconf {
|
|
pins = "gpio31";
|
|
drive-strength = <16>;
|
|
bias-disable;
|
|
};
|
|
};
|
|
|
|
adv7533_int_suspend: adv7533_int_suspend {
|
|
pinmux {
|
|
function = "gpio";
|
|
pins = "gpio31";
|
|
};
|
|
pinconf {
|
|
pins = "gpio31";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
};
|
|
|
|
adv7533_switch_active: adv7533_switch_active {
|
|
pinmux {
|
|
function = "gpio";
|
|
pins = "gpio32";
|
|
};
|
|
pinconf {
|
|
pins = "gpio32";
|
|
drive-strength = <16>;
|
|
bias-disable;
|
|
};
|
|
};
|
|
|
|
adv7533_switch_suspend: adv7533_switch_suspend {
|
|
pinmux {
|
|
function = "gpio";
|
|
pins = "gpio32";
|
|
};
|
|
pinconf {
|
|
pins = "gpio32";
|
|
drive-strength = <2>;
|
|
bias-disable;
|
|
};
|
|
};
|
|
|
|
msm_key_volp_n_default: msm_key_volp_n_default {
|
|
pinmux {
|
|
function = "gpio";
|
|
pins = "gpio107";
|
|
};
|
|
pinconf {
|
|
pins = "gpio107";
|
|
drive-strength = <8>;
|
|
input-enable;
|
|
bias-pull-up;
|
|
};
|
|
};
|
|
};
|