Commit 8b276ca0 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

arm64: dts: qcom: msm8916: align TLMM pin configuration with DT schema

DT schema expects TLMM pin configuration nodes to be named with
'-state' suffix and their optional children with '-pins' suffix.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Reviewed-by: default avatarKonrad Dybcio <konrad.dybcio@somainline.org>
Reviewed-by: default avatarNeil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221024002356.28261-2-krzysztof.kozlowski@linaro.org
parent 5a134c94
...@@ -718,14 +718,14 @@ &msmgpio { ...@@ -718,14 +718,14 @@ &msmgpio {
"USR_LED_2_CTRL", /* GPIO 120 */ "USR_LED_2_CTRL", /* GPIO 120 */
"SB_HS_ID"; "SB_HS_ID";
msmgpio_leds: msmgpio-leds { msmgpio_leds: msmgpio-leds-state {
pins = "gpio21", "gpio120"; pins = "gpio21", "gpio120";
function = "gpio"; function = "gpio";
output-low; output-low;
}; };
usb_id_default: usb-id-default { usb_id_default: usb-id-default-state {
pins = "gpio121"; pins = "gpio121";
function = "gpio"; function = "gpio";
...@@ -734,7 +734,7 @@ usb_id_default: usb-id-default { ...@@ -734,7 +734,7 @@ usb_id_default: usb-id-default {
bias-pull-up; bias-pull-up;
}; };
adv7533_int_active: adv533-int-active { adv7533_int_active: adv533-int-active-state {
pins = "gpio31"; pins = "gpio31";
function = "gpio"; function = "gpio";
...@@ -742,7 +742,7 @@ adv7533_int_active: adv533-int-active { ...@@ -742,7 +742,7 @@ adv7533_int_active: adv533-int-active {
bias-disable; bias-disable;
}; };
adv7533_int_suspend: adv7533-int-suspend { adv7533_int_suspend: adv7533-int-suspend-state {
pins = "gpio31"; pins = "gpio31";
function = "gpio"; function = "gpio";
...@@ -750,7 +750,7 @@ adv7533_int_suspend: adv7533-int-suspend { ...@@ -750,7 +750,7 @@ adv7533_int_suspend: adv7533-int-suspend {
bias-disable; bias-disable;
}; };
adv7533_switch_active: adv7533-switch-active { adv7533_switch_active: adv7533-switch-active-state {
pins = "gpio32"; pins = "gpio32";
function = "gpio"; function = "gpio";
...@@ -758,7 +758,7 @@ adv7533_switch_active: adv7533-switch-active { ...@@ -758,7 +758,7 @@ adv7533_switch_active: adv7533-switch-active {
bias-disable; bias-disable;
}; };
adv7533_switch_suspend: adv7533-switch-suspend { adv7533_switch_suspend: adv7533-switch-suspend-state {
pins = "gpio32"; pins = "gpio32";
function = "gpio"; function = "gpio";
...@@ -766,7 +766,7 @@ adv7533_switch_suspend: adv7533-switch-suspend { ...@@ -766,7 +766,7 @@ adv7533_switch_suspend: adv7533-switch-suspend {
bias-disable; bias-disable;
}; };
msm_key_volp_n_default: msm-key-volp-n-default { msm_key_volp_n_default: msm-key-volp-n-default-state {
pins = "gpio107"; pins = "gpio107";
function = "gpio"; function = "gpio";
......
...@@ -260,7 +260,7 @@ l18 { ...@@ -260,7 +260,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
accel_int_default: accel-int-default { accel_int_default: accel-int-default-state {
pins = "gpio31"; pins = "gpio31";
function = "gpio"; function = "gpio";
...@@ -268,7 +268,7 @@ accel_int_default: accel-int-default { ...@@ -268,7 +268,7 @@ accel_int_default: accel-int-default {
bias-disable; bias-disable;
}; };
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107"; pins = "gpio107";
function = "gpio"; function = "gpio";
...@@ -276,7 +276,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -276,7 +276,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
gyro_int_default: gyro-int-default { gyro_int_default: gyro-int-default-state {
pins = "gpio97", "gpio98"; pins = "gpio97", "gpio98";
function = "gpio"; function = "gpio";
...@@ -284,7 +284,7 @@ gyro_int_default: gyro-int-default { ...@@ -284,7 +284,7 @@ gyro_int_default: gyro-int-default {
bias-disable; bias-disable;
}; };
mag_reset_default: mag-reset-default { mag_reset_default: mag-reset-default-state {
pins = "gpio8"; pins = "gpio8";
function = "gpio"; function = "gpio";
...@@ -292,7 +292,7 @@ mag_reset_default: mag-reset-default { ...@@ -292,7 +292,7 @@ mag_reset_default: mag-reset-default {
bias-disable; bias-disable;
}; };
proximity_int_default: proximity-int-default { proximity_int_default: proximity-int-default-state {
pins = "gpio12"; pins = "gpio12";
function = "gpio"; function = "gpio";
...@@ -300,7 +300,7 @@ proximity_int_default: proximity-int-default { ...@@ -300,7 +300,7 @@ proximity_int_default: proximity-int-default {
bias-pull-up; bias-pull-up;
}; };
ts_int_reset_default: ts-int-reset-default { ts_int_reset_default: ts-int-reset-default-state {
pins = "gpio13", "gpio100"; pins = "gpio13", "gpio100";
function = "gpio"; function = "gpio";
...@@ -308,7 +308,7 @@ ts_int_reset_default: ts-int-reset-default { ...@@ -308,7 +308,7 @@ ts_int_reset_default: ts-int-reset-default {
bias-disable; bias-disable;
}; };
usb_id_default: usb-id-default { usb_id_default: usb-id-default-state {
pins = "gpio69"; pins = "gpio69";
function = "gpio"; function = "gpio";
......
...@@ -263,7 +263,7 @@ l18 { ...@@ -263,7 +263,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107", "gpio117"; pins = "gpio107", "gpio117";
function = "gpio"; function = "gpio";
...@@ -271,7 +271,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -271,7 +271,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
imu_default: imu-default { imu_default: imu-default-state {
pins = "gpio36"; pins = "gpio36";
function = "gpio"; function = "gpio";
...@@ -279,7 +279,7 @@ imu_default: imu-default { ...@@ -279,7 +279,7 @@ imu_default: imu-default {
bias-disable; bias-disable;
}; };
mag_reset_default: mag-reset-default { mag_reset_default: mag-reset-default-state {
pins = "gpio112"; pins = "gpio112";
function = "gpio"; function = "gpio";
...@@ -287,7 +287,7 @@ mag_reset_default: mag-reset-default { ...@@ -287,7 +287,7 @@ mag_reset_default: mag-reset-default {
bias-disable; bias-disable;
}; };
sd_vmmc_en_default: sd-vmmc-en-default { sd_vmmc_en_default: sd-vmmc-en-default-state {
pins = "gpio87"; pins = "gpio87";
function = "gpio"; function = "gpio";
...@@ -295,14 +295,16 @@ sd_vmmc_en_default: sd-vmmc-en-default { ...@@ -295,14 +295,16 @@ sd_vmmc_en_default: sd-vmmc-en-default {
bias-disable; bias-disable;
}; };
touchscreen_default: touchscreen-default { touchscreen_default: touchscreen-default-state {
touch-pins {
pins = "gpio13"; pins = "gpio13";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up;
};
reset { reset-pins {
pins = "gpio12"; pins = "gpio12";
function = "gpio"; function = "gpio";
...@@ -311,7 +313,7 @@ reset { ...@@ -311,7 +313,7 @@ reset {
}; };
}; };
usb_id_default: usb-id-default { usb_id_default: usb-id-default-state {
pins = "gpio110"; pins = "gpio110";
function = "gpio"; function = "gpio";
......
...@@ -414,7 +414,7 @@ l18 { ...@@ -414,7 +414,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
accel_irq_default: accel-irq-default { accel_irq_default: accel-irq-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
...@@ -422,7 +422,7 @@ accel_irq_default: accel-irq-default { ...@@ -422,7 +422,7 @@ accel_irq_default: accel-irq-default {
bias-disable; bias-disable;
}; };
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107"; pins = "gpio107";
function = "gpio"; function = "gpio";
...@@ -430,7 +430,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -430,7 +430,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
gpio_leds_default: gpio-leds-default { gpio_leds_default: gpio-leds-default-state {
pins = "gpio8", "gpio9", "gpio10"; pins = "gpio8", "gpio9", "gpio10";
function = "gpio"; function = "gpio";
...@@ -438,7 +438,7 @@ gpio_leds_default: gpio-leds-default { ...@@ -438,7 +438,7 @@ gpio_leds_default: gpio-leds-default {
bias-disable; bias-disable;
}; };
nfc_default: nfc-default { nfc_default: nfc-default-state {
pins = "gpio2", "gpio20", "gpio21"; pins = "gpio2", "gpio20", "gpio21";
function = "gpio"; function = "gpio";
...@@ -446,7 +446,7 @@ nfc_default: nfc-default { ...@@ -446,7 +446,7 @@ nfc_default: nfc-default {
bias-disable; bias-disable;
}; };
mag_reset_default: mag-reset-default { mag_reset_default: mag-reset-default-state {
pins = "gpio36"; pins = "gpio36";
function = "gpio"; function = "gpio";
...@@ -454,7 +454,7 @@ mag_reset_default: mag-reset-default { ...@@ -454,7 +454,7 @@ mag_reset_default: mag-reset-default {
bias-disable; bias-disable;
}; };
prox_irq_default: prox-irq-default { prox_irq_default: prox-irq-default-state {
pins = "gpio113"; pins = "gpio113";
function = "gpio"; function = "gpio";
...@@ -462,7 +462,7 @@ prox_irq_default: prox-irq-default { ...@@ -462,7 +462,7 @@ prox_irq_default: prox-irq-default {
bias-disable; bias-disable;
}; };
reg_lcd_en_default: reg-lcd-en-default { reg_lcd_en_default: reg-lcd-en-default-state {
pins = "gpio32", "gpio97"; pins = "gpio32", "gpio97";
function = "gpio"; function = "gpio";
...@@ -470,7 +470,7 @@ reg_lcd_en_default: reg-lcd-en-default { ...@@ -470,7 +470,7 @@ reg_lcd_en_default: reg-lcd-en-default {
bias-disable; bias-disable;
}; };
sdhc2_cd_default: sdhc2-cd-default { sdhc2_cd_default: sdhc2-cd-default-state {
pins = "gpio56"; pins = "gpio56";
function = "gpio"; function = "gpio";
...@@ -478,7 +478,7 @@ sdhc2_cd_default: sdhc2-cd-default { ...@@ -478,7 +478,7 @@ sdhc2_cd_default: sdhc2-cd-default {
bias-disable; bias-disable;
}; };
ts_irq_default: ts-irq-default { ts_irq_default: ts-irq-default-state {
pins = "gpio13"; pins = "gpio13";
function = "gpio"; function = "gpio";
...@@ -486,7 +486,7 @@ ts_irq_default: ts-irq-default { ...@@ -486,7 +486,7 @@ ts_irq_default: ts-irq-default {
bias-disable; bias-disable;
}; };
usb_id_default: usb-id-default { usb_id_default: usb-id-default-state {
pins = "gpio117"; pins = "gpio117";
function = "gpio"; function = "gpio";
......
...@@ -367,7 +367,7 @@ l18 { ...@@ -367,7 +367,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
accel_int_default: accel-int-default { accel_int_default: accel-int-default-state {
pins = "gpio116"; pins = "gpio116";
function = "gpio"; function = "gpio";
...@@ -375,7 +375,7 @@ accel_int_default: accel-int-default { ...@@ -375,7 +375,7 @@ accel_int_default: accel-int-default {
bias-disable; bias-disable;
}; };
camera_flash_default: camera-flash-default { camera_flash_default: camera-flash-default-state {
pins = "gpio31", "gpio32"; pins = "gpio31", "gpio32";
function = "gpio"; function = "gpio";
...@@ -383,7 +383,7 @@ camera_flash_default: camera-flash-default { ...@@ -383,7 +383,7 @@ camera_flash_default: camera-flash-default {
bias-disable; bias-disable;
}; };
ctp_pwr_en_default: ctp-pwr-en-default { ctp_pwr_en_default: ctp-pwr-en-default-state {
pins = "gpio17"; pins = "gpio17";
function = "gpio"; function = "gpio";
...@@ -391,7 +391,7 @@ ctp_pwr_en_default: ctp-pwr-en-default { ...@@ -391,7 +391,7 @@ ctp_pwr_en_default: ctp-pwr-en-default {
bias-disable; bias-disable;
}; };
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107"; pins = "gpio107";
function = "gpio"; function = "gpio";
...@@ -399,7 +399,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -399,7 +399,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
gyro_int_default: gyro-int-default { gyro_int_default: gyro-int-default-state {
pins = "gpio22", "gpio23"; pins = "gpio22", "gpio23";
function = "gpio"; function = "gpio";
...@@ -407,7 +407,7 @@ gyro_int_default: gyro-int-default { ...@@ -407,7 +407,7 @@ gyro_int_default: gyro-int-default {
bias-disable; bias-disable;
}; };
light_int_default: light-int-default { light_int_default: light-int-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
...@@ -415,7 +415,7 @@ light_int_default: light-int-default { ...@@ -415,7 +415,7 @@ light_int_default: light-int-default {
bias-disable; bias-disable;
}; };
magn_int_default: magn-int-default { magn_int_default: magn-int-default-state {
pins = "gpio113"; pins = "gpio113";
function = "gpio"; function = "gpio";
...@@ -423,7 +423,7 @@ magn_int_default: magn-int-default { ...@@ -423,7 +423,7 @@ magn_int_default: magn-int-default {
bias-disable; bias-disable;
}; };
tp_int_default: tp-int-default { tp_int_default: tp-int-default-state {
pins = "gpio13"; pins = "gpio13";
function = "gpio"; function = "gpio";
......
...@@ -234,7 +234,7 @@ l18 { ...@@ -234,7 +234,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
button_backlight_default: button-backlight-default { button_backlight_default: button-backlight-default-state {
pins = "gpio17"; pins = "gpio17";
function = "gpio"; function = "gpio";
...@@ -242,7 +242,7 @@ button_backlight_default: button-backlight-default { ...@@ -242,7 +242,7 @@ button_backlight_default: button-backlight-default {
bias-disable; bias-disable;
}; };
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107"; pins = "gpio107";
function = "gpio"; function = "gpio";
...@@ -250,7 +250,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -250,7 +250,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
mag_reset_default: mag-reset-default { mag_reset_default: mag-reset-default-state {
pins = "gpio111"; pins = "gpio111";
function = "gpio"; function = "gpio";
...@@ -258,7 +258,7 @@ mag_reset_default: mag-reset-default { ...@@ -258,7 +258,7 @@ mag_reset_default: mag-reset-default {
bias-disable; bias-disable;
}; };
usb_id_default: usb-id-default { usb_id_default: usb-id-default-state {
pins = "gpio110"; pins = "gpio110";
function = "gpio"; function = "gpio";
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
&msmgpio { &msmgpio {
blsp1_uart1_default: blsp1-uart1-default { blsp1_uart1_default: blsp1-uart1-default-state {
// TX, RX, CTS_N, RTS_N // TX, RX, CTS_N, RTS_N
pins = "gpio0", "gpio1", "gpio2", "gpio3"; pins = "gpio0", "gpio1", "gpio2", "gpio3";
function = "blsp_uart1"; function = "blsp_uart1";
...@@ -14,7 +14,7 @@ blsp1_uart1_default: blsp1-uart1-default { ...@@ -14,7 +14,7 @@ blsp1_uart1_default: blsp1-uart1-default {
bias-disable; bias-disable;
}; };
blsp1_uart1_sleep: blsp1-uart1-sleep { blsp1_uart1_sleep: blsp1-uart1-sleep-state {
pins = "gpio0", "gpio1", "gpio2", "gpio3"; pins = "gpio0", "gpio1", "gpio2", "gpio3";
function = "gpio"; function = "gpio";
...@@ -22,7 +22,7 @@ blsp1_uart1_sleep: blsp1-uart1-sleep { ...@@ -22,7 +22,7 @@ blsp1_uart1_sleep: blsp1-uart1-sleep {
bias-pull-down; bias-pull-down;
}; };
blsp1_uart2_default: blsp1-uart2-default { blsp1_uart2_default: blsp1-uart2-default-state {
pins = "gpio4", "gpio5"; pins = "gpio4", "gpio5";
function = "blsp_uart2"; function = "blsp_uart2";
...@@ -30,7 +30,7 @@ blsp1_uart2_default: blsp1-uart2-default { ...@@ -30,7 +30,7 @@ blsp1_uart2_default: blsp1-uart2-default {
bias-disable; bias-disable;
}; };
blsp1_uart2_sleep: blsp1-uart2-sleep { blsp1_uart2_sleep: blsp1-uart2-sleep-state {
pins = "gpio4", "gpio5"; pins = "gpio4", "gpio5";
function = "gpio"; function = "gpio";
...@@ -38,14 +38,15 @@ blsp1_uart2_sleep: blsp1-uart2-sleep { ...@@ -38,14 +38,15 @@ blsp1_uart2_sleep: blsp1-uart2-sleep {
bias-pull-down; bias-pull-down;
}; };
spi1_default: spi1-default { spi1_default: spi1-default-state {
spi-pins {
pins = "gpio0", "gpio1", "gpio3"; pins = "gpio0", "gpio1", "gpio3";
function = "blsp_spi1"; function = "blsp_spi1";
drive-strength = <12>; drive-strength = <12>;
bias-disable; bias-disable;
};
cs { cs-pins {
pins = "gpio2"; pins = "gpio2";
function = "gpio"; function = "gpio";
...@@ -55,7 +56,7 @@ cs { ...@@ -55,7 +56,7 @@ cs {
}; };
}; };
spi1_sleep: spi1-sleep { spi1_sleep: spi1-sleep-state {
pins = "gpio0", "gpio1", "gpio2", "gpio3"; pins = "gpio0", "gpio1", "gpio2", "gpio3";
function = "gpio"; function = "gpio";
...@@ -63,14 +64,15 @@ spi1_sleep: spi1-sleep { ...@@ -63,14 +64,15 @@ spi1_sleep: spi1-sleep {
bias-pull-down; bias-pull-down;
}; };
spi2_default: spi2-default { spi2_default: spi2-default-state {
spi-pins {
pins = "gpio4", "gpio5", "gpio7"; pins = "gpio4", "gpio5", "gpio7";
function = "blsp_spi2"; function = "blsp_spi2";
drive-strength = <12>; drive-strength = <12>;
bias-disable; bias-disable;
};
cs { cs-pins {
pins = "gpio6"; pins = "gpio6";
function = "gpio"; function = "gpio";
...@@ -80,7 +82,7 @@ cs { ...@@ -80,7 +82,7 @@ cs {
}; };
}; };
spi2_sleep: spi2-sleep { spi2_sleep: spi2-sleep-state {
pins = "gpio4", "gpio5", "gpio6", "gpio7"; pins = "gpio4", "gpio5", "gpio6", "gpio7";
function = "gpio"; function = "gpio";
...@@ -88,14 +90,15 @@ spi2_sleep: spi2-sleep { ...@@ -88,14 +90,15 @@ spi2_sleep: spi2-sleep {
bias-pull-down; bias-pull-down;
}; };
spi3_default: spi3-default { spi3_default: spi3-default-state {
spi-pins {
pins = "gpio8", "gpio9", "gpio11"; pins = "gpio8", "gpio9", "gpio11";
function = "blsp_spi3"; function = "blsp_spi3";
drive-strength = <12>; drive-strength = <12>;
bias-disable; bias-disable;
};
cs { cs-pins {
pins = "gpio10"; pins = "gpio10";
function = "gpio"; function = "gpio";
...@@ -105,7 +108,7 @@ cs { ...@@ -105,7 +108,7 @@ cs {
}; };
}; };
spi3_sleep: spi3-sleep { spi3_sleep: spi3-sleep-state {
pins = "gpio8", "gpio9", "gpio10", "gpio11"; pins = "gpio8", "gpio9", "gpio10", "gpio11";
function = "gpio"; function = "gpio";
...@@ -113,14 +116,15 @@ spi3_sleep: spi3-sleep { ...@@ -113,14 +116,15 @@ spi3_sleep: spi3-sleep {
bias-pull-down; bias-pull-down;
}; };
spi4_default: spi4-default { spi4_default: spi4-default-state {
spi-pins {
pins = "gpio12", "gpio13", "gpio15"; pins = "gpio12", "gpio13", "gpio15";
function = "blsp_spi4"; function = "blsp_spi4";
drive-strength = <12>; drive-strength = <12>;
bias-disable; bias-disable;
};
cs { cs-pins {
pins = "gpio14"; pins = "gpio14";
function = "gpio"; function = "gpio";
...@@ -130,7 +134,7 @@ cs { ...@@ -130,7 +134,7 @@ cs {
}; };
}; };
spi4_sleep: spi4-sleep { spi4_sleep: spi4-sleep-state {
pins = "gpio12", "gpio13", "gpio14", "gpio15"; pins = "gpio12", "gpio13", "gpio14", "gpio15";
function = "gpio"; function = "gpio";
...@@ -138,14 +142,15 @@ spi4_sleep: spi4-sleep { ...@@ -138,14 +142,15 @@ spi4_sleep: spi4-sleep {
bias-pull-down; bias-pull-down;
}; };
spi5_default: spi5-default { spi5_default: spi5-default-state {
spi-pins {
pins = "gpio16", "gpio17", "gpio19"; pins = "gpio16", "gpio17", "gpio19";
function = "blsp_spi5"; function = "blsp_spi5";
drive-strength = <12>; drive-strength = <12>;
bias-disable; bias-disable;
};
cs { cs-pins {
pins = "gpio18"; pins = "gpio18";
function = "gpio"; function = "gpio";
...@@ -155,7 +160,7 @@ cs { ...@@ -155,7 +160,7 @@ cs {
}; };
}; };
spi5_sleep: spi5-sleep { spi5_sleep: spi5-sleep-state {
pins = "gpio16", "gpio17", "gpio18", "gpio19"; pins = "gpio16", "gpio17", "gpio18", "gpio19";
function = "gpio"; function = "gpio";
...@@ -163,14 +168,15 @@ spi5_sleep: spi5-sleep { ...@@ -163,14 +168,15 @@ spi5_sleep: spi5-sleep {
bias-pull-down; bias-pull-down;
}; };
spi6_default: spi6-default { spi6_default: spi6-default-state {
spi-pins {
pins = "gpio20", "gpio21", "gpio23"; pins = "gpio20", "gpio21", "gpio23";
function = "blsp_spi6"; function = "blsp_spi6";
drive-strength = <12>; drive-strength = <12>;
bias-disable; bias-disable;
};
cs { cs-pins {
pins = "gpio22"; pins = "gpio22";
function = "gpio"; function = "gpio";
...@@ -180,7 +186,7 @@ cs { ...@@ -180,7 +186,7 @@ cs {
}; };
}; };
spi6_sleep: spi6-sleep { spi6_sleep: spi6-sleep-state {
pins = "gpio20", "gpio21", "gpio22", "gpio23"; pins = "gpio20", "gpio21", "gpio22", "gpio23";
function = "gpio"; function = "gpio";
...@@ -188,7 +194,7 @@ spi6_sleep: spi6-sleep { ...@@ -188,7 +194,7 @@ spi6_sleep: spi6-sleep {
bias-pull-down; bias-pull-down;
}; };
i2c1_default: i2c1-default { i2c1_default: i2c1-default-state {
pins = "gpio2", "gpio3"; pins = "gpio2", "gpio3";
function = "blsp_i2c1"; function = "blsp_i2c1";
...@@ -196,7 +202,7 @@ i2c1_default: i2c1-default { ...@@ -196,7 +202,7 @@ i2c1_default: i2c1-default {
bias-disable; bias-disable;
}; };
i2c1_sleep: i2c1-sleep { i2c1_sleep: i2c1-sleep-state {
pins = "gpio2", "gpio3"; pins = "gpio2", "gpio3";
function = "gpio"; function = "gpio";
...@@ -204,7 +210,7 @@ i2c1_sleep: i2c1-sleep { ...@@ -204,7 +210,7 @@ i2c1_sleep: i2c1-sleep {
bias-disable; bias-disable;
}; };
i2c2_default: i2c2-default { i2c2_default: i2c2-default-state {
pins = "gpio6", "gpio7"; pins = "gpio6", "gpio7";
function = "blsp_i2c2"; function = "blsp_i2c2";
...@@ -212,7 +218,7 @@ i2c2_default: i2c2-default { ...@@ -212,7 +218,7 @@ i2c2_default: i2c2-default {
bias-disable; bias-disable;
}; };
i2c2_sleep: i2c2-sleep { i2c2_sleep: i2c2-sleep-state {
pins = "gpio6", "gpio7"; pins = "gpio6", "gpio7";
function = "gpio"; function = "gpio";
...@@ -220,7 +226,7 @@ i2c2_sleep: i2c2-sleep { ...@@ -220,7 +226,7 @@ i2c2_sleep: i2c2-sleep {
bias-disable; bias-disable;
}; };
i2c3_default: i2c3-default { i2c3_default: i2c3-default-state {
pins = "gpio10", "gpio11"; pins = "gpio10", "gpio11";
function = "blsp_i2c3"; function = "blsp_i2c3";
...@@ -228,7 +234,7 @@ i2c3_default: i2c3-default { ...@@ -228,7 +234,7 @@ i2c3_default: i2c3-default {
bias-disable; bias-disable;
}; };
i2c3_sleep: i2c3-sleep { i2c3_sleep: i2c3-sleep-state {
pins = "gpio10", "gpio11"; pins = "gpio10", "gpio11";
function = "gpio"; function = "gpio";
...@@ -236,7 +242,7 @@ i2c3_sleep: i2c3-sleep { ...@@ -236,7 +242,7 @@ i2c3_sleep: i2c3-sleep {
bias-disable; bias-disable;
}; };
i2c4_default: i2c4-default { i2c4_default: i2c4-default-state {
pins = "gpio14", "gpio15"; pins = "gpio14", "gpio15";
function = "blsp_i2c4"; function = "blsp_i2c4";
...@@ -244,7 +250,7 @@ i2c4_default: i2c4-default { ...@@ -244,7 +250,7 @@ i2c4_default: i2c4-default {
bias-disable; bias-disable;
}; };
i2c4_sleep: i2c4-sleep { i2c4_sleep: i2c4-sleep-state {
pins = "gpio14", "gpio15"; pins = "gpio14", "gpio15";
function = "gpio"; function = "gpio";
...@@ -252,7 +258,7 @@ i2c4_sleep: i2c4-sleep { ...@@ -252,7 +258,7 @@ i2c4_sleep: i2c4-sleep {
bias-disable; bias-disable;
}; };
i2c5_default: i2c5-default { i2c5_default: i2c5-default-state {
pins = "gpio18", "gpio19"; pins = "gpio18", "gpio19";
function = "blsp_i2c5"; function = "blsp_i2c5";
...@@ -260,7 +266,7 @@ i2c5_default: i2c5-default { ...@@ -260,7 +266,7 @@ i2c5_default: i2c5-default {
bias-disable; bias-disable;
}; };
i2c5_sleep: i2c5-sleep { i2c5_sleep: i2c5-sleep-state {
pins = "gpio18", "gpio19"; pins = "gpio18", "gpio19";
function = "gpio"; function = "gpio";
...@@ -268,7 +274,7 @@ i2c5_sleep: i2c5-sleep { ...@@ -268,7 +274,7 @@ i2c5_sleep: i2c5-sleep {
bias-disable; bias-disable;
}; };
i2c6_default: i2c6-default { i2c6_default: i2c6-default-state {
pins = "gpio22", "gpio23"; pins = "gpio22", "gpio23";
function = "blsp_i2c6"; function = "blsp_i2c6";
...@@ -276,7 +282,7 @@ i2c6_default: i2c6-default { ...@@ -276,7 +282,7 @@ i2c6_default: i2c6-default {
bias-disable; bias-disable;
}; };
i2c6_sleep: i2c6-sleep { i2c6_sleep: i2c6-sleep-state {
pins = "gpio22", "gpio23"; pins = "gpio22", "gpio23";
function = "gpio"; function = "gpio";
...@@ -284,14 +290,14 @@ i2c6_sleep: i2c6-sleep { ...@@ -284,14 +290,14 @@ i2c6_sleep: i2c6-sleep {
bias-disable; bias-disable;
}; };
pmx-sdc1-clk { pmx-sdc1-clk-state {
sdc1_clk_on: clk-on { sdc1_clk_on: clk-on-pins {
pins = "sdc1_clk"; pins = "sdc1_clk";
bias-disable; bias-disable;
drive-strength = <16>; drive-strength = <16>;
}; };
sdc1_clk_off: clk-off { sdc1_clk_off: clk-off-pins {
pins = "sdc1_clk"; pins = "sdc1_clk";
bias-disable; bias-disable;
...@@ -299,14 +305,14 @@ sdc1_clk_off: clk-off { ...@@ -299,14 +305,14 @@ sdc1_clk_off: clk-off {
}; };
}; };
pmx-sdc1-cmd { pmx-sdc1-cmd-state {
sdc1_cmd_on: cmd-on { sdc1_cmd_on: cmd-on-pins {
pins = "sdc1_cmd"; pins = "sdc1_cmd";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
sdc1_cmd_off: cmd-off { sdc1_cmd_off: cmd-off-pins {
pins = "sdc1_cmd"; pins = "sdc1_cmd";
bias-pull-up; bias-pull-up;
...@@ -314,14 +320,14 @@ sdc1_cmd_off: cmd-off { ...@@ -314,14 +320,14 @@ sdc1_cmd_off: cmd-off {
}; };
}; };
pmx-sdc1-data { pmx-sdc1-data-state {
sdc1_data_on: data-on { sdc1_data_on: data-on-pins {
pins = "sdc1_data"; pins = "sdc1_data";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
sdc1_data_off: data-off { sdc1_data_off: data-off-pins {
pins = "sdc1_data"; pins = "sdc1_data";
bias-pull-up; bias-pull-up;
...@@ -329,14 +335,14 @@ sdc1_data_off: data-off { ...@@ -329,14 +335,14 @@ sdc1_data_off: data-off {
}; };
}; };
pmx-sdc2-clk { pmx-sdc2-clk-state {
sdc2_clk_on: clk-on { sdc2_clk_on: clk-on-pins {
pins = "sdc2_clk"; pins = "sdc2_clk";
bias-disable; bias-disable;
drive-strength = <16>; drive-strength = <16>;
}; };
sdc2_clk_off: clk-off { sdc2_clk_off: clk-off-pins {
pins = "sdc2_clk"; pins = "sdc2_clk";
bias-disable; bias-disable;
...@@ -344,14 +350,14 @@ sdc2_clk_off: clk-off { ...@@ -344,14 +350,14 @@ sdc2_clk_off: clk-off {
}; };
}; };
pmx-sdc2-cmd { pmx-sdc2-cmd-state {
sdc2_cmd_on: cmd-on { sdc2_cmd_on: cmd-on-pins {
pins = "sdc2_cmd"; pins = "sdc2_cmd";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
sdc2_cmd_off: cmd-off { sdc2_cmd_off: cmd-off-pins {
pins = "sdc2_cmd"; pins = "sdc2_cmd";
bias-pull-up; bias-pull-up;
...@@ -359,14 +365,14 @@ sdc2_cmd_off: cmd-off { ...@@ -359,14 +365,14 @@ sdc2_cmd_off: cmd-off {
}; };
}; };
pmx-sdc2-data { pmx-sdc2-data-state {
sdc2_data_on: data-on { sdc2_data_on: data-on-pins {
pins = "sdc2_data"; pins = "sdc2_data";
bias-pull-up; bias-pull-up;
drive-strength = <10>; drive-strength = <10>;
}; };
sdc2_data_off: data-off { sdc2_data_off: data-off-pins {
pins = "sdc2_data"; pins = "sdc2_data";
bias-pull-up; bias-pull-up;
...@@ -374,15 +380,15 @@ sdc2_data_off: data-off { ...@@ -374,15 +380,15 @@ sdc2_data_off: data-off {
}; };
}; };
pmx-sdc2-cd-pin { pmx-sdc2-cd-pin-state {
sdc2_cd_on: cd-on { sdc2_cd_on: cd-on-pins {
pins = "gpio38"; pins = "gpio38";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up;
}; };
sdc2_cd_off: cd-off { sdc2_cd_off: cd-off-pins {
pins = "gpio38"; pins = "gpio38";
function = "gpio"; function = "gpio";
...@@ -391,8 +397,8 @@ sdc2_cd_off: cd-off { ...@@ -391,8 +397,8 @@ sdc2_cd_off: cd-off {
}; };
}; };
cdc-pdm-lines { cdc-pdm-lines-state {
cdc_pdm_lines_act: pdm-lines-on { cdc_pdm_lines_act: pdm-lines-on-pins {
pins = "gpio63", "gpio64", "gpio65", "gpio66", pins = "gpio63", "gpio64", "gpio65", "gpio66",
"gpio67", "gpio68"; "gpio67", "gpio68";
function = "cdc_pdm0"; function = "cdc_pdm0";
...@@ -400,7 +406,7 @@ cdc_pdm_lines_act: pdm-lines-on { ...@@ -400,7 +406,7 @@ cdc_pdm_lines_act: pdm-lines-on {
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
cdc_pdm_lines_sus: pdm-lines-off { cdc_pdm_lines_sus: pdm-lines-off-pins {
pins = "gpio63", "gpio64", "gpio65", "gpio66", pins = "gpio63", "gpio64", "gpio65", "gpio66",
"gpio67", "gpio68"; "gpio67", "gpio68";
function = "cdc_pdm0"; function = "cdc_pdm0";
...@@ -410,15 +416,15 @@ cdc_pdm_lines_sus: pdm-lines-off { ...@@ -410,15 +416,15 @@ cdc_pdm_lines_sus: pdm-lines-off {
}; };
}; };
ext-pri-tlmm-lines { ext-pri-tlmm-lines-state {
ext_pri_tlmm_lines_act: ext-pa-on { ext_pri_tlmm_lines_act: ext-pa-on-pins {
pins = "gpio113", "gpio114", "gpio115", "gpio116"; pins = "gpio113", "gpio114", "gpio115", "gpio116";
function = "pri_mi2s"; function = "pri_mi2s";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
ext_pri_tlmm_lines_sus: ext-pa-off { ext_pri_tlmm_lines_sus: ext-pa-off-pins {
pins = "gpio113", "gpio114", "gpio115", "gpio116"; pins = "gpio113", "gpio114", "gpio115", "gpio116";
function = "pri_mi2s"; function = "pri_mi2s";
...@@ -427,15 +433,15 @@ ext_pri_tlmm_lines_sus: ext-pa-off { ...@@ -427,15 +433,15 @@ ext_pri_tlmm_lines_sus: ext-pa-off {
}; };
}; };
ext-pri-ws-line { ext-pri-ws-line-state {
ext_pri_ws_act: ext-pa-on { ext_pri_ws_act: ext-pa-on-pins {
pins = "gpio110"; pins = "gpio110";
function = "pri_mi2s_ws"; function = "pri_mi2s_ws";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
ext_pri_ws_sus: ext-pa-off { ext_pri_ws_sus: ext-pa-off-pins {
pins = "gpio110"; pins = "gpio110";
function = "pri_mi2s_ws"; function = "pri_mi2s_ws";
...@@ -444,15 +450,15 @@ ext_pri_ws_sus: ext-pa-off { ...@@ -444,15 +450,15 @@ ext_pri_ws_sus: ext-pa-off {
}; };
}; };
ext-mclk-tlmm-lines { ext-mclk-tlmm-lines-state {
ext_mclk_tlmm_lines_act: mclk-lines-on { ext_mclk_tlmm_lines_act: mclk-lines-on-pins {
pins = "gpio116"; pins = "gpio116";
function = "pri_mi2s"; function = "pri_mi2s";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
ext_mclk_tlmm_lines_sus: mclk-lines-off { ext_mclk_tlmm_lines_sus: mclk-lines-off-pins {
pins = "gpio116"; pins = "gpio116";
function = "pri_mi2s"; function = "pri_mi2s";
...@@ -462,15 +468,15 @@ ext_mclk_tlmm_lines_sus: mclk-lines-off { ...@@ -462,15 +468,15 @@ ext_mclk_tlmm_lines_sus: mclk-lines-off {
}; };
/* secondary Mi2S */ /* secondary Mi2S */
ext-sec-tlmm-lines { ext-sec-tlmm-lines-state {
ext_sec_tlmm_lines_act: tlmm-lines-on { ext_sec_tlmm_lines_act: tlmm-lines-on-pins {
pins = "gpio112", "gpio117", "gpio118", "gpio119"; pins = "gpio112", "gpio117", "gpio118", "gpio119";
function = "sec_mi2s"; function = "sec_mi2s";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
ext_sec_tlmm_lines_sus: tlmm-lines-off { ext_sec_tlmm_lines_sus: tlmm-lines-off-pins {
pins = "gpio112", "gpio117", "gpio118", "gpio119"; pins = "gpio112", "gpio117", "gpio118", "gpio119";
function = "sec_mi2s"; function = "sec_mi2s";
...@@ -479,30 +485,29 @@ ext_sec_tlmm_lines_sus: tlmm-lines-off { ...@@ -479,30 +485,29 @@ ext_sec_tlmm_lines_sus: tlmm-lines-off {
}; };
}; };
cdc-dmic-lines { cdc_dmic_lines_act: cdc-dmic-lines-on-state {
cdc_dmic_lines_act: dmic-lines-on { clk-pins {
clk {
pins = "gpio0"; pins = "gpio0";
function = "dmic0_clk"; function = "dmic0_clk";
drive-strength = <8>; drive-strength = <8>;
}; };
data { data-pins {
pins = "gpio1"; pins = "gpio1";
function = "dmic0_data"; function = "dmic0_data";
drive-strength = <8>; drive-strength = <8>;
}; };
}; };
cdc_dmic_lines_sus: dmic-lines-off { cdc_dmic_lines_sus: cdc-dmic-lines-off-state {
clk { clk-pins {
pins = "gpio0"; pins = "gpio0";
function = "dmic0_clk"; function = "dmic0_clk";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
}; };
data { data-pins {
pins = "gpio1"; pins = "gpio1";
function = "dmic0_data"; function = "dmic0_data";
...@@ -510,9 +515,8 @@ data { ...@@ -510,9 +515,8 @@ data {
bias-disable; bias-disable;
}; };
}; };
};
wcnss_pin_a: wcnss-active { wcnss_pin_a: wcnss-active-state {
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44"; pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
function = "wcss_wlan"; function = "wcss_wlan";
...@@ -520,7 +524,7 @@ wcnss_pin_a: wcnss-active { ...@@ -520,7 +524,7 @@ wcnss_pin_a: wcnss-active {
bias-pull-up; bias-pull-up;
}; };
cci0_default: cci0-default { cci0_default: cci0-default-state {
pins = "gpio29", "gpio30"; pins = "gpio29", "gpio30";
function = "cci_i2c"; function = "cci_i2c";
...@@ -528,22 +532,22 @@ cci0_default: cci0-default { ...@@ -528,22 +532,22 @@ cci0_default: cci0-default {
bias-disable; bias-disable;
}; };
camera_front_default: camera-front-default { camera_front_default: camera-front-default-state {
pwdn { pwdn-pins {
pins = "gpio33"; pins = "gpio33";
function = "gpio"; function = "gpio";
drive-strength = <16>; drive-strength = <16>;
bias-disable; bias-disable;
}; };
rst { rst-pins {
pins = "gpio28"; pins = "gpio28";
function = "gpio"; function = "gpio";
drive-strength = <16>; drive-strength = <16>;
bias-disable; bias-disable;
}; };
mclk1 { mclk1-pins {
pins = "gpio27"; pins = "gpio27";
function = "cam_mclk1"; function = "cam_mclk1";
...@@ -552,22 +556,22 @@ mclk1 { ...@@ -552,22 +556,22 @@ mclk1 {
}; };
}; };
camera_rear_default: camera-rear-default { camera_rear_default: camera-rear-default-state {
pwdn { pwdn-pins {
pins = "gpio34"; pins = "gpio34";
function = "gpio"; function = "gpio";
drive-strength = <16>; drive-strength = <16>;
bias-disable; bias-disable;
}; };
rst { rst-pins {
pins = "gpio35"; pins = "gpio35";
function = "gpio"; function = "gpio";
drive-strength = <16>; drive-strength = <16>;
bias-disable; bias-disable;
}; };
mclk0 { mclk0-pins {
pins = "gpio26"; pins = "gpio26";
function = "cam_mclk0"; function = "cam_mclk0";
......
...@@ -387,7 +387,7 @@ l18 { ...@@ -387,7 +387,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
accel_int_default: accel-int-default { accel_int_default: accel-int-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
...@@ -395,7 +395,7 @@ accel_int_default: accel-int-default { ...@@ -395,7 +395,7 @@ accel_int_default: accel-int-default {
bias-disable; bias-disable;
}; };
fg_alert_default: fg-alert-default { fg_alert_default: fg-alert-default-state {
pins = "gpio121"; pins = "gpio121";
function = "gpio"; function = "gpio";
...@@ -403,7 +403,7 @@ fg_alert_default: fg-alert-default { ...@@ -403,7 +403,7 @@ fg_alert_default: fg-alert-default {
bias-disable; bias-disable;
}; };
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107", "gpio109"; pins = "gpio107", "gpio109";
function = "gpio"; function = "gpio";
...@@ -411,7 +411,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -411,7 +411,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
gpio_hall_sensor_default: gpio-hall-sensor-default { gpio_hall_sensor_default: gpio-hall-sensor-default-state {
pins = "gpio52"; pins = "gpio52";
function = "gpio"; function = "gpio";
...@@ -419,24 +419,22 @@ gpio_hall_sensor_default: gpio-hall-sensor-default { ...@@ -419,24 +419,22 @@ gpio_hall_sensor_default: gpio-hall-sensor-default {
bias-disable; bias-disable;
}; };
mdss { mdss_default: mdss-default-state {
mdss_default: mdss-default {
pins = "gpio25"; pins = "gpio25";
function = "gpio"; function = "gpio";
drive-strength = <8>; drive-strength = <8>;
bias-disable; bias-disable;
}; };
mdss_sleep: mdss-sleep { mdss_sleep: mdss-sleep-state {
pins = "gpio25"; pins = "gpio25";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-pull-down; bias-pull-down;
}; };
};
motor_en_default: motor-en-default { motor_en_default: motor-en-default-stae {
pins = "gpio76"; pins = "gpio76";
function = "gpio"; function = "gpio";
...@@ -444,12 +442,12 @@ motor_en_default: motor-en-default { ...@@ -444,12 +442,12 @@ motor_en_default: motor-en-default {
bias-disable; bias-disable;
}; };
motor_pwm_default: motor-pwm-default { motor_pwm_default: motor-pwm-default-state {
pins = "gpio50"; pins = "gpio50";
function = "gcc_gp2_clk_a"; function = "gcc_gp2_clk_a";
}; };
muic_i2c_default: muic-i2c-default { muic_i2c_default: muic-i2c-default-state {
pins = "gpio105", "gpio106"; pins = "gpio105", "gpio106";
function = "gpio"; function = "gpio";
...@@ -457,7 +455,7 @@ muic_i2c_default: muic-i2c-default { ...@@ -457,7 +455,7 @@ muic_i2c_default: muic-i2c-default {
bias-disable; bias-disable;
}; };
muic_int_default: muic-int-default { muic_int_default: muic-int-default-state {
pins = "gpio12"; pins = "gpio12";
function = "gpio"; function = "gpio";
...@@ -465,14 +463,16 @@ muic_int_default: muic-int-default { ...@@ -465,14 +463,16 @@ muic_int_default: muic-int-default {
bias-disable; bias-disable;
}; };
nfc_default: nfc-default { nfc_default: nfc-default-state {
nfc-pins {
pins = "gpio20", "gpio49"; pins = "gpio20", "gpio49";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
};
irq { irq-pins {
pins = "gpio21"; pins = "gpio21";
function = "gpio"; function = "gpio";
...@@ -481,7 +481,7 @@ irq { ...@@ -481,7 +481,7 @@ irq {
}; };
}; };
nfc_i2c_default: nfc-i2c-default { nfc_i2c_default: nfc-i2c-default-state {
pins = "gpio0", "gpio1"; pins = "gpio0", "gpio1";
function = "gpio"; function = "gpio";
...@@ -489,7 +489,7 @@ nfc_i2c_default: nfc-i2c-default { ...@@ -489,7 +489,7 @@ nfc_i2c_default: nfc-i2c-default {
bias-disable; bias-disable;
}; };
tkey_default: tkey-default { tkey_default: tkey-default-state {
pins = "gpio98"; pins = "gpio98";
function = "gpio"; function = "gpio";
...@@ -497,7 +497,7 @@ tkey_default: tkey-default { ...@@ -497,7 +497,7 @@ tkey_default: tkey-default {
bias-disable; bias-disable;
}; };
tkey_i2c_default: tkey-i2c-default { tkey_i2c_default: tkey-i2c-default-state {
pins = "gpio16", "gpio17"; pins = "gpio16", "gpio17";
function = "gpio"; function = "gpio";
...@@ -505,7 +505,7 @@ tkey_i2c_default: tkey-i2c-default { ...@@ -505,7 +505,7 @@ tkey_i2c_default: tkey-i2c-default {
bias-disable; bias-disable;
}; };
tsp_en_default: tsp-en-default { tsp_en_default: tsp-en-default-state {
pins = "gpio73"; pins = "gpio73";
function = "gpio"; function = "gpio";
...@@ -513,7 +513,7 @@ tsp_en_default: tsp-en-default { ...@@ -513,7 +513,7 @@ tsp_en_default: tsp-en-default {
bias-disable; bias-disable;
}; };
ts_int_default: ts-int-default { ts_int_default: ts-int-default-state {
pins = "gpio13"; pins = "gpio13";
function = "gpio"; function = "gpio";
......
...@@ -113,7 +113,7 @@ &vibrator { ...@@ -113,7 +113,7 @@ &vibrator {
}; };
&msmgpio { &msmgpio {
panel_vdd3_default: panel-vdd3-default { panel_vdd3_default: panel-vdd3-default-state {
pins = "gpio9"; pins = "gpio9";
function = "gpio"; function = "gpio";
...@@ -121,7 +121,7 @@ panel_vdd3_default: panel-vdd3-default { ...@@ -121,7 +121,7 @@ panel_vdd3_default: panel-vdd3-default {
bias-disable; bias-disable;
}; };
tkey_en_default: tkey-en-default { tkey_en_default: tkey-en-default-state {
pins = "gpio86"; pins = "gpio86";
function = "gpio"; function = "gpio";
...@@ -129,7 +129,7 @@ tkey_en_default: tkey-en-default { ...@@ -129,7 +129,7 @@ tkey_en_default: tkey-en-default {
bias-disable; bias-disable;
}; };
tkey_led_en_default: tkey-led-en-default { tkey_led_en_default: tkey-led-en-default-state {
pins = "gpio60"; pins = "gpio60";
function = "gpio"; function = "gpio";
......
...@@ -70,7 +70,7 @@ &vibrator { ...@@ -70,7 +70,7 @@ &vibrator {
}; };
&msmgpio { &msmgpio {
tkey_en_default: tkey-en-default { tkey_en_default: tkey-en-default-state {
pins = "gpio97"; pins = "gpio97";
function = "gpio"; function = "gpio";
......
...@@ -59,7 +59,7 @@ &touchkey { ...@@ -59,7 +59,7 @@ &touchkey {
}; };
&msmgpio { &msmgpio {
tkey_en_default: tkey-en-default { tkey_en_default: tkey-en-default-state {
pins = "gpio97"; pins = "gpio97";
function = "gpio"; function = "gpio";
......
...@@ -46,7 +46,7 @@ &reg_touch_key { ...@@ -46,7 +46,7 @@ &reg_touch_key {
}; };
&msmgpio { &msmgpio {
gpio_leds_default: gpio-led-default { gpio_leds_default: gpio-led-default-state {
pins = "gpio60"; pins = "gpio60";
function = "gpio"; function = "gpio";
......
...@@ -199,7 +199,7 @@ l18 { ...@@ -199,7 +199,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107", "gpio109"; pins = "gpio107", "gpio109";
function = "gpio"; function = "gpio";
......
...@@ -422,7 +422,7 @@ l18 { ...@@ -422,7 +422,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
fg_alert_default: fg-alert-default { fg_alert_default: fg-alert-default-state {
pins = "gpio121"; pins = "gpio121";
function = "gpio"; function = "gpio";
...@@ -430,7 +430,7 @@ fg_alert_default: fg-alert-default { ...@@ -430,7 +430,7 @@ fg_alert_default: fg-alert-default {
bias-disable; bias-disable;
}; };
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107", "gpio109"; pins = "gpio107", "gpio109";
function = "gpio"; function = "gpio";
...@@ -438,7 +438,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -438,7 +438,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
gpio_hall_sensor_default: gpio-hall-sensor-default { gpio_hall_sensor_default: gpio-hall-sensor-default-state {
pins = "gpio52"; pins = "gpio52";
function = "gpio"; function = "gpio";
...@@ -446,7 +446,7 @@ gpio_hall_sensor_default: gpio-hall-sensor-default { ...@@ -446,7 +446,7 @@ gpio_hall_sensor_default: gpio-hall-sensor-default {
bias-disable; bias-disable;
}; };
imu_irq_default: imu-irq-default { imu_irq_default: imu-irq-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
...@@ -454,7 +454,7 @@ imu_irq_default: imu-irq-default { ...@@ -454,7 +454,7 @@ imu_irq_default: imu-irq-default {
bias-disable; bias-disable;
}; };
muic_i2c_default: muic-i2c-default { muic_i2c_default: muic-i2c-default-state {
pins = "gpio105", "gpio106"; pins = "gpio105", "gpio106";
function = "gpio"; function = "gpio";
...@@ -462,7 +462,7 @@ muic_i2c_default: muic-i2c-default { ...@@ -462,7 +462,7 @@ muic_i2c_default: muic-i2c-default {
bias-disable; bias-disable;
}; };
muic_irq_default: muic-irq-default { muic_irq_default: muic-irq-default-state {
pins = "gpio12"; pins = "gpio12";
function = "gpio"; function = "gpio";
...@@ -470,14 +470,15 @@ muic_irq_default: muic-irq-default { ...@@ -470,14 +470,15 @@ muic_irq_default: muic-irq-default {
bias-disable; bias-disable;
}; };
nfc_default: nfc-default { nfc_default: nfc-default-state {
nfc-pins {
pins = "gpio20", "gpio49"; pins = "gpio20", "gpio49";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-disable; bias-disable;
};
irq { irq-pins {
pins = "gpio21"; pins = "gpio21";
function = "gpio"; function = "gpio";
...@@ -486,7 +487,7 @@ irq { ...@@ -486,7 +487,7 @@ irq {
}; };
}; };
nfc_i2c_default: nfc-i2c-default { nfc_i2c_default: nfc-i2c-default-state {
pins = "gpio0", "gpio1"; pins = "gpio0", "gpio1";
function = "gpio"; function = "gpio";
...@@ -494,7 +495,7 @@ nfc_i2c_default: nfc-i2c-default { ...@@ -494,7 +495,7 @@ nfc_i2c_default: nfc-i2c-default {
bias-disable; bias-disable;
}; };
tkey_default: tkey-default { tkey_default: tkey-default-state {
pins = "gpio98"; pins = "gpio98";
function = "gpio"; function = "gpio";
...@@ -502,7 +503,7 @@ tkey_default: tkey-default { ...@@ -502,7 +503,7 @@ tkey_default: tkey-default {
bias-disable; bias-disable;
}; };
tkey_en_default: tkey-en-default { tkey_en_default: tkey-en-default-state {
pins = "gpio86"; pins = "gpio86";
function = "gpio"; function = "gpio";
...@@ -510,7 +511,7 @@ tkey_en_default: tkey-en-default { ...@@ -510,7 +511,7 @@ tkey_en_default: tkey-en-default {
bias-disable; bias-disable;
}; };
tkey_i2c_default: tkey-i2c-default { tkey_i2c_default: tkey-i2c-default-state {
pins = "gpio16", "gpio17"; pins = "gpio16", "gpio17";
function = "gpio"; function = "gpio";
...@@ -518,7 +519,7 @@ tkey_i2c_default: tkey-i2c-default { ...@@ -518,7 +519,7 @@ tkey_i2c_default: tkey-i2c-default {
bias-disable; bias-disable;
}; };
tkey_led_en_default: tkey-led-en-default { tkey_led_en_default: tkey-led-en-default-state {
pins = "gpio60"; pins = "gpio60";
function = "gpio"; function = "gpio";
...@@ -526,7 +527,7 @@ tkey_led_en_default: tkey-led-en-default { ...@@ -526,7 +527,7 @@ tkey_led_en_default: tkey-led-en-default {
bias-disable; bias-disable;
}; };
tsp_en_default: tsp-en-default { tsp_en_default: tsp-en-default-state {
pins = "gpio73"; pins = "gpio73";
function = "gpio"; function = "gpio";
...@@ -534,7 +535,7 @@ tsp_en_default: tsp-en-default { ...@@ -534,7 +535,7 @@ tsp_en_default: tsp-en-default {
bias-disable; bias-disable;
}; };
tsp_irq_default: tsp-irq-default { tsp_irq_default: tsp-irq-default-state {
pins = "gpio13"; pins = "gpio13";
function = "gpio"; function = "gpio";
......
...@@ -272,7 +272,7 @@ l18 { ...@@ -272,7 +272,7 @@ l18 {
}; };
&msmgpio { &msmgpio {
gpio_keys_default: gpio-keys-default { gpio_keys_default: gpio-keys-default-state {
pins = "gpio107"; pins = "gpio107";
function = "gpio"; function = "gpio";
...@@ -280,7 +280,7 @@ gpio_keys_default: gpio-keys-default { ...@@ -280,7 +280,7 @@ gpio_keys_default: gpio-keys-default {
bias-pull-up; bias-pull-up;
}; };
imu_default: imu-default { imu_default: imu-default-state {
pins = "gpio115"; pins = "gpio115";
function = "gpio"; function = "gpio";
...@@ -288,14 +288,15 @@ imu_default: imu-default { ...@@ -288,14 +288,15 @@ imu_default: imu-default {
bias-disable; bias-disable;
}; };
touchscreen_default: touchscreen-default { touchscreen_default: touchscreen-default-state {
touchscreen-pins {
pins = "gpio13"; pins = "gpio13";
function = "gpio"; function = "gpio";
drive-strength = <2>; drive-strength = <2>;
bias-pull-up; bias-pull-up;
};
reset { reset-pins {
pins = "gpio12"; pins = "gpio12";
function = "gpio"; function = "gpio";
...@@ -304,7 +305,7 @@ reset { ...@@ -304,7 +305,7 @@ reset {
}; };
}; };
usb_id_default: usb-id-default { usb_id_default: usb-id-default-state {
pins = "gpio110"; pins = "gpio110";
function = "gpio"; function = "gpio";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment