mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 09:55:29 +07:00
f953d999d2
VOL/ZOOM+ button on DB410c is connected to SoC GPIO 104. Add support for it. Signed-off-by: Ivan T. Ivanov <ivan.ivanov@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>
89 lines
1.3 KiB
Plaintext
89 lines
1.3 KiB
Plaintext
|
|
#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;
|
|
};
|
|
};
|
|
};
|