Commit d05e3428 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Bjorn Andersson

arm64: dts: qcom: sdm845: 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 avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20221222151319.122398-3-krzysztof.kozlowski@linaro.org
parent e5011447
......@@ -995,104 +995,69 @@ &wifi {
/* PINCTRL - additions to nodes defined in sdm845.dtsi */
&qspi_cs0 {
pinconf {
pins = "gpio90";
bias-disable;
};
bias-disable;
};
&qspi_clk {
pinconf {
pins = "gpio95";
bias-disable;
};
bias-disable;
};
&qspi_data01 {
pinconf {
pins = "gpio91", "gpio92";
/* High-Z when no transfers; nice to park the lines */
bias-pull-up;
};
/* High-Z when no transfers; nice to park the lines */
bias-pull-up;
};
&qup_i2c3_default {
pinconf {
pins = "gpio41", "gpio42";
drive-strength = <2>;
drive-strength = <2>;
/* Has external pullup */
bias-disable;
};
/* Has external pullup */
bias-disable;
};
&qup_i2c11_default {
pinconf {
pins = "gpio31", "gpio32";
drive-strength = <2>;
drive-strength = <2>;
/* Has external pullup */
bias-disable;
};
/* Has external pullup */
bias-disable;
};
&qup_i2c12_default {
pinconf {
pins = "gpio49", "gpio50";
drive-strength = <2>;
drive-strength = <2>;
/* Has external pullup */
bias-disable;
};
/* Has external pullup */
bias-disable;
};
&qup_i2c14_default {
pinconf {
pins = "gpio33", "gpio34";
drive-strength = <2>;
drive-strength = <2>;
/* Has external pullup */
bias-disable;
};
/* Has external pullup */
bias-disable;
};
&qup_spi0_default {
pinconf {
pins = "gpio0", "gpio1", "gpio2", "gpio3";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_spi5_default {
pinconf {
pins = "gpio85", "gpio86", "gpio87", "gpio88";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_spi10_default {
pinconf {
pins = "gpio53", "gpio54", "gpio55", "gpio56";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_uart9_default {
pinconf-tx {
pins = "gpio4";
drive-strength = <2>;
bias-disable;
};
&qup_uart9_rx {
drive-strength = <2>;
bias-pull-up;
};
pinconf-rx {
pins = "gpio5";
drive-strength = <2>;
bias-pull-up;
};
&qup_uart9_tx {
drive-strength = <2>;
bias-disable;
};
/* PINCTRL - board-specific pinctrl */
......@@ -1180,243 +1145,153 @@ ap-suspend-l-hog {
output-low;
};
ap_edp_bklten: ap-edp-bklten {
pinmux {
pins = "gpio37";
function = "gpio";
};
pinconf {
pins = "gpio37";
drive-strength = <2>;
bias-disable;
};
ap_edp_bklten: ap-edp-bklten-state {
pins = "gpio37";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
bios_flash_wp_r_l: bios-flash-wp-r-l {
pinmux {
pins = "gpio128";
function = "gpio";
input-enable;
};
pinconf {
pins = "gpio128";
bias-disable;
};
bios_flash_wp_r_l: bios-flash-wp-r-l-state {
pins = "gpio128";
function = "gpio";
input-enable;
bias-disable;
};
ec_ap_int_l: ec-ap-int-l {
pinmux {
pins = "gpio122";
function = "gpio";
input-enable;
};
pinconf {
pins = "gpio122";
bias-pull-up;
};
ec_ap_int_l: ec-ap-int-l-state {
pins = "gpio122";
function = "gpio";
input-enable;
bias-pull-up;
};
edp_brij_en: edp-brij-en {
pinmux {
pins = "gpio102";
function = "gpio";
};
pinconf {
pins = "gpio102";
drive-strength = <2>;
bias-disable;
};
edp_brij_en: edp-brij-en-state {
pins = "gpio102";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
edp_brij_irq: edp-brij-irq {
pinmux {
pins = "gpio10";
function = "gpio";
};
pinconf {
pins = "gpio10";
drive-strength = <2>;
bias-pull-down;
};
edp_brij_irq: edp-brij-irq-state {
pins = "gpio10";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};
en_pp3300_dx_edp: en-pp3300-dx-edp {
pinmux {
pins = "gpio43";
function = "gpio";
};
pinconf {
pins = "gpio43";
drive-strength = <2>;
bias-disable;
};
en_pp3300_dx_edp: en-pp3300-dx-edp-state {
pins = "gpio43";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
h1_ap_int_odl: h1-ap-int-odl {
pinmux {
pins = "gpio129";
function = "gpio";
input-enable;
};
pinconf {
pins = "gpio129";
bias-pull-up;
};
h1_ap_int_odl: h1-ap-int-odl-state {
pins = "gpio129";
function = "gpio";
input-enable;
bias-pull-up;
};
pen_eject_odl: pen-eject-odl {
pinmux {
pins = "gpio119";
function = "gpio";
bias-pull-up;
};
pen_eject_odl: pen-eject-odl-state {
pins = "gpio119";
function = "gpio";
bias-pull-up;
};
pen_irq_l: pen-irq-l {
pinmux {
pins = "gpio24";
function = "gpio";
};
pen_irq_l: pen-irq-l-state {
pins = "gpio24";
function = "gpio";
pinconf {
pins = "gpio24";
/* Has external pullup */
bias-disable;
};
/* Has external pullup */
bias-disable;
};
pen_pdct_l: pen-pdct-l {
pinmux {
pins = "gpio63";
function = "gpio";
};
pinconf {
pins = "gpio63";
pen_pdct_l: pen-pdct-l-state {
pins = "gpio63";
function = "gpio";
/* Has external pullup */
bias-disable;
};
/* Has external pullup */
bias-disable;
};
pen_rst_l: pen-rst-l {
pinmux {
pins = "gpio23";
function = "gpio";
};
pinconf {
pins = "gpio23";
bias-disable;
drive-strength = <2>;
pen_rst_l: pen-rst-l-state {
pins = "gpio23";
function = "gpio";
bias-disable;
drive-strength = <2>;
/*
* The pen driver doesn't currently support
* driving this reset line. By specifying
* output-high here we're relying on the fact
* that this pin has a default pulldown at boot
* (which makes sure the pen was in reset if it
* was powered) and then we set it high here to
* take it out of reset. Better would be if the
* pen driver could control this and we could
* remove "output-high" here.
*/
output-high;
};
/*
* The pen driver doesn't currently support
* driving this reset line. By specifying
* output-high here we're relying on the fact
* that this pin has a default pulldown at boot
* (which makes sure the pen was in reset if it
* was powered) and then we set it high here to
* take it out of reset. Better would be if the
* pen driver could control this and we could
* remove "output-high" here.
*/
output-high;
};
sdc2_clk: sdc2-clk {
pinconf {
pins = "sdc2_clk";
bias-disable;
sdc2_clk: sdc2-clk-state {
pins = "sdc2_clk";
bias-disable;
/*
* It seems that mmc_test reports errors if drive
* strength is not 16.
*/
drive-strength = <16>;
};
/*
* It seems that mmc_test reports errors if drive
* strength is not 16.
*/
drive-strength = <16>;
};
sdc2_cmd: sdc2-cmd {
pinconf {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <16>;
};
sdc2_cmd: sdc2-cmd-state {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <16>;
};
sdc2_data: sdc2-data {
pinconf {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <16>;
};
sdc2_data: sdc2-data-state {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <16>;
};
sd_cd_odl: sd-cd-odl {
pinmux {
pins = "gpio44";
function = "gpio";
};
pinconf {
pins = "gpio44";
bias-pull-up;
};
sd_cd_odl: sd-cd-odl-state {
pins = "gpio44";
function = "gpio";
bias-pull-up;
};
ts_int_l: ts-int-l {
pinmux {
pins = "gpio125";
function = "gpio";
};
pinconf {
pins = "gpio125";
bias-pull-up;
};
ts_int_l: ts-int-l-state {
pins = "gpio125";
function = "gpio";
bias-pull-up;
};
ts_reset_l: ts-reset-l {
pinmux {
pins = "gpio118";
function = "gpio";
};
pinconf {
pins = "gpio118";
bias-disable;
drive-strength = <2>;
};
ts_reset_l: ts-reset-l-state {
pins = "gpio118";
function = "gpio";
bias-disable;
drive-strength = <2>;
};
ap_suspend_l_assert: ap_suspend_l_assert {
config {
pins = "gpio126";
function = "gpio";
bias-disable;
drive-strength = <2>;
output-low;
};
ap_suspend_l_assert: ap-suspend-l-assert-state {
pins = "gpio126";
function = "gpio";
bias-disable;
drive-strength = <2>;
output-low;
};
ap_suspend_l_deassert: ap_suspend_l_deassert {
config {
pins = "gpio126";
function = "gpio";
bias-disable;
drive-strength = <2>;
output-high;
};
ap_suspend_l_deassert: ap-suspend-l-deassert-state {
pins = "gpio126";
function = "gpio";
bias-disable;
drive-strength = <2>;
output-high;
};
};
......
......@@ -825,8 +825,8 @@ &spi2 {
};
&tlmm {
cam0_default: cam0_default {
rst {
cam0_default: cam0-default-state {
rst-pins {
pins = "gpio9";
function = "gpio";
......@@ -834,7 +834,7 @@ rst {
bias-disable;
};
mclk0 {
mclk0-pins {
pins = "gpio13";
function = "cam_mclk";
......@@ -843,8 +843,8 @@ mclk0 {
};
};
cam3_default: cam3_default {
rst {
cam3_default: cam3-default-state {
rst-pins {
function = "gpio";
pins = "gpio21";
......@@ -852,7 +852,7 @@ rst {
bias-disable;
};
mclk3 {
mclk3-pins {
function = "cam_mclk";
pins = "gpio16";
......@@ -861,7 +861,7 @@ mclk3 {
};
};
dsi_sw_sel: dsi-sw-sel {
dsi_sw_sel: dsi-sw-sel-state {
pins = "gpio120";
function = "gpio";
......@@ -870,20 +870,20 @@ dsi_sw_sel: dsi-sw-sel {
output-high;
};
lt9611_irq_pin: lt9611-irq {
lt9611_irq_pin: lt9611-irq-state {
pins = "gpio84";
function = "gpio";
bias-disable;
};
pcie0_default_state: pcie0-default {
clkreq {
pcie0_default_state: pcie0-default-state {
clkreq-pins {
pins = "gpio36";
function = "pci_e0";
bias-pull-up;
};
reset-n {
reset-n-pins {
pins = "gpio35";
function = "gpio";
......@@ -892,7 +892,7 @@ reset-n {
bias-pull-down;
};
wake-n {
wake-n-pins {
pins = "gpio37";
function = "gpio";
......@@ -901,7 +901,7 @@ wake-n {
};
};
pcie0_pwren_state: pcie0-pwren {
pcie0_pwren_state: pcie0-pwren-state {
pins = "gpio90";
function = "gpio";
......@@ -909,8 +909,8 @@ pcie0_pwren_state: pcie0-pwren {
bias-disable;
};
pcie1_default_state: pcie1-default {
perst-n {
pcie1_default_state: pcie1-default-state {
perst-n-pins {
pins = "gpio102";
function = "gpio";
......@@ -918,13 +918,13 @@ perst-n {
bias-disable;
};
clkreq {
clkreq-pins {
pins = "gpio103";
function = "pci_e1";
bias-pull-up;
};
wake-n {
wake-n-pins {
pins = "gpio11";
function = "gpio";
......@@ -932,7 +932,7 @@ wake-n {
bias-pull-up;
};
reset-n {
reset-n-pins {
pins = "gpio75";
function = "gpio";
......@@ -942,8 +942,8 @@ reset-n {
};
};
sdc2_default_state: sdc2-default {
clk {
sdc2_default_state: sdc2-default-state {
clk-pins {
pins = "sdc2_clk";
bias-disable;
......@@ -954,26 +954,26 @@ clk {
drive-strength = <16>;
};
cmd {
cmd-pins {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <10>;
};
data {
data-pins {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <10>;
};
};
sdc2_card_det_n: sd-card-det-n {
sdc2_card_det_n: sd-card-det-n-state {
pins = "gpio126";
function = "gpio";
bias-pull-up;
};
wcd_intr_default: wcd_intr_default {
wcd_intr_default: wcd-intr-default-state {
pins = "gpio54";
function = "gpio";
......@@ -985,6 +985,8 @@ wcd_intr_default: wcd_intr_default {
&uart3 {
label = "LS-UART0";
pinctrl-0 = <&qup_uart3_4pin>;
status = "disabled";
};
......@@ -1130,39 +1132,22 @@ &wifi {
/* PINCTRL - additions to nodes defined in sdm845.dtsi */
&qup_spi2_default {
pinconf {
pins = "gpio27", "gpio28", "gpio29", "gpio30";
drive-strength = <16>;
};
};
&qup_uart3_default {
pinmux {
pins = "gpio41", "gpio42", "gpio43", "gpio44";
function = "qup3";
};
drive-strength = <16>;
};
&qup_i2c10_default {
pinconf {
pins = "gpio55", "gpio56";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_uart9_default {
pinconf-tx {
pins = "gpio4";
drive-strength = <2>;
bias-disable;
};
&qup_uart9_rx {
drive-strength = <2>;
bias-pull-up;
};
pinconf-rx {
pins = "gpio5";
drive-strength = <2>;
bias-pull-up;
};
&qup_uart9_tx {
drive-strength = <2>;
bias-disable;
};
&pm8998_gpios {
......@@ -1171,8 +1156,6 @@ &pm8998_gpios {
/* PINCTRL - additions to nodes defined in sdm845.dtsi */
&qup_spi0_default {
config {
drive-strength = <6>;
bias-disable;
};
drive-strength = <6>;
bias-disable;
};
......@@ -553,48 +553,36 @@ &usb_1_qmpphy {
&tlmm {
gpio-reserved-ranges = <28 4>, <81 4>;
sdc2_clk: sdc2-clk {
pinconf {
pins = "sdc2_clk";
bias-disable;
/*
* It seems that mmc_test reports errors if drive
* strength is not 16 on clk, cmd, and data pins.
*
* TODO: copy-pasted from mtp, try other values
* on these devices.
*/
drive-strength = <16>;
};
sdc2_clk: sdc2-clk-state {
pins = "sdc2_clk";
bias-disable;
/*
* It seems that mmc_test reports errors if drive
* strength is not 16 on clk, cmd, and data pins.
*
* TODO: copy-pasted from mtp, try other values
* on these devices.
*/
drive-strength = <16>;
};
sdc2_cmd: sdc2-cmd {
pinconf {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <16>;
};
sdc2_cmd: sdc2-cmd-state {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <16>;
};
sdc2_data: sdc2-data {
pinconf {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <16>;
};
sdc2_data: sdc2-data-state {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <16>;
};
sd_card_det_n: sd-card-det-n {
pinmux {
pins = "gpio126";
function = "gpio";
};
pinconf {
pins = "gpio126";
bias-pull-up;
};
sd_card_det_n: sd-card-det-n-state {
pins = "gpio126";
function = "gpio";
bias-pull-up;
};
};
......
......@@ -58,7 +58,7 @@ &mss_pil {
};
&tlmm {
thinq_key_default: thinq-key-default {
thinq_key_default: thinq-key-default-state {
pins = "gpio89";
function = "gpio";
......
......@@ -719,68 +719,49 @@ &wifi {
/* PINCTRL - additions to nodes defined in sdm845.dtsi */
&qup_i2c10_default {
pinconf {
pins = "gpio55", "gpio56";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_uart9_default {
pinconf-tx {
pins = "gpio4";
drive-strength = <2>;
bias-disable;
};
&qup_uart9_rx {
drive-strength = <2>;
bias-pull-up;
};
pinconf-rx {
pins = "gpio5";
drive-strength = <2>;
bias-pull-up;
};
&qup_uart9_tx {
drive-strength = <2>;
bias-disable;
};
&tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
sdc2_clk: sdc2-clk {
pinconf {
pins = "sdc2_clk";
bias-disable;
sdc2_clk: sdc2-clk-state {
pins = "sdc2_clk";
bias-disable;
/*
* It seems that mmc_test reports errors if drive
* strength is not 16 on clk, cmd, and data pins.
*/
drive-strength = <16>;
};
/*
* It seems that mmc_test reports errors if drive
* strength is not 16 on clk, cmd, and data pins.
*/
drive-strength = <16>;
};
sdc2_cmd: sdc2-cmd {
pinconf {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <16>;
};
sdc2_cmd: sdc2-cmd-state {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <16>;
};
sdc2_data: sdc2-data {
pinconf {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <16>;
};
sdc2_data: sdc2-data-state {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <16>;
};
sd_card_det_n: sd-card-det-n {
pinmux {
pins = "gpio126";
function = "gpio";
};
pinconf {
pins = "gpio126";
bias-pull-up;
};
sd_card_det_n: sd-card-det-n-state {
pins = "gpio126";
function = "gpio";
bias-pull-up;
};
};
......@@ -474,35 +474,24 @@ &qupv3_id_0 {
status = "okay";
};
&qup_i2c12_default {
mux {
pins = "gpio49", "gpio50";
function = "qup12";
drive-strength = <2>;
bias-disable;
};
&qup_i2c10_default {
drive-strength = <2>;
bias-disable;
};
&qup_i2c10_default {
pinconf {
pins = "gpio55", "gpio56";
drive-strength = <2>;
bias-disable;
};
&qup_i2c12_default {
drive-strength = <2>;
bias-disable;
};
&qup_uart9_default {
pinconf-tx {
pins = "gpio4";
drive-strength = <2>;
bias-disable;
};
&qup_uart9_rx {
drive-strength = <2>;
bias-pull-up;
};
pinconf-rx {
pins = "gpio5";
drive-strength = <2>;
bias-pull-up;
};
&qup_uart9_tx {
drive-strength = <2>;
bias-disable;
};
&uart6 {
......@@ -588,51 +577,41 @@ &usb_1_hsphy {
&tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
tri_state_key_default: tri_state_key_default {
mux {
pins = "gpio40", "gpio42", "gpio26";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
tri_state_key_default: tri-state-key-default-state {
pins = "gpio40", "gpio42", "gpio26";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
ts_default_pins: ts-int {
mux {
pins = "gpio99", "gpio125";
function = "gpio";
drive-strength = <16>;
bias-pull-up;
};
ts_default_pins: ts-int-state {
pins = "gpio99", "gpio125";
function = "gpio";
drive-strength = <16>;
bias-pull-up;
};
panel_reset_pins: panel-reset {
mux {
pins = "gpio6", "gpio25", "gpio26";
function = "gpio";
drive-strength = <8>;
bias-disable;
};
panel_reset_pins: panel-reset-state {
pins = "gpio6", "gpio25", "gpio26";
function = "gpio";
drive-strength = <8>;
bias-disable;
};
panel_te_pin: panel-te {
mux {
pins = "gpio10";
function = "mdp_vsync";
drive-strength = <2>;
bias-disable;
input-enable;
};
panel_te_pin: panel-te-state {
pins = "gpio10";
function = "mdp_vsync";
drive-strength = <2>;
bias-disable;
input-enable;
};
panel_esd_pin: panel-esd {
mux {
pins = "gpio30";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
panel_esd_pin: panel-esd-state {
pins = "gpio30";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
};
......
......@@ -554,18 +554,14 @@ led@5 {
};
};
&qup_uart9_default {
pinconf-rx {
pins = "gpio5";
drive-strength = <2>;
bias-pull-up;
};
&qup_uart9_rx {
drive-strength = <2>;
bias-pull-up;
};
pinconf-tx {
pins = "gpio4";
drive-strength = <2>;
bias-disable;
};
&qup_uart9_tx {
drive-strength = <2>;
bias-disable;
};
&qupv3_id_0 {
......@@ -579,110 +575,62 @@ &qupv3_id_1 {
&tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
sde_dsi_active: sde-dsi-active {
mux {
pins = "gpio6", "gpio11";
function = "gpio";
};
config {
pins = "gpio6", "gpio11";
drive-strength = <8>;
bias-disable;
};
sde_dsi_active: sde-dsi-active-state {
pins = "gpio6", "gpio11";
function = "gpio";
drive-strength = <8>;
bias-disable;
};
sde_dsi_suspend: sde-dsi-suspend {
mux {
pins = "gpio6", "gpio11";
function = "gpio";
};
config {
pins = "gpio6", "gpio11";
drive-strength = <2>;
bias-pull-down;
};
sde_dsi_suspend: sde-dsi-suspend-state {
pins = "gpio6", "gpio11";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};
sde_te_active: sde-te-active {
mux {
pins = "gpio10";
function = "mdp_vsync";
};
config {
pins = "gpio10";
drive-strength = <2>;
bias-pull-down;
};
sde_te_active: sde-te-active-state {
pins = "gpio10";
function = "mdp_vsync";
drive-strength = <2>;
bias-pull-down;
};
sde_te_suspend: sde-te-suspend {
mux {
pins = "gpio10";
function = "mdp_vsync";
};
config {
pins = "gpio10";
drive-strength = <2>;
bias-pull-down;
};
sde_te_suspend: sde-te-suspend-state {
pins = "gpio10";
function = "mdp_vsync";
drive-strength = <2>;
bias-pull-down;
};
ts_int_active: ts-int-active {
mux {
pins = "gpio125";
function = "gpio";
};
config {
pins = "gpio125";
drive-strength = <8>;
bias-pull-up;
input-enable;
};
ts_int_active: ts-int-active-state {
pins = "gpio125";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
input-enable;
};
ts_int_suspend: ts-int-suspend {
mux {
pins = "gpio125";
function = "gpio";
};
config {
pins = "gpio125";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
ts_int_suspend: ts-int-suspend-state {
pins = "gpio125";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
input-enable;
};
ts_reset_active: ts-reset-active {
mux {
pins = "gpio99";
function = "gpio";
};
config {
pins = "gpio99";
drive-strength = <8>;
bias-pull-up;
};
ts_reset_active: ts-reset-active-state {
pins = "gpio99";
function = "gpio";
drive-strength = <8>;
bias-pull-up;
};
ts_reset_suspend: ts-reset-suspend {
mux {
pins = "gpio99";
function = "gpio";
};
config {
pins = "gpio99";
drive-strength = <2>;
bias-pull-down;
};
ts_reset_suspend: ts-reset-suspend-state {
pins = "gpio99";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};
};
......
......@@ -383,19 +383,19 @@ &tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
sdc2_default_state: sdc2-default-state {
clk {
clk-pins {
pins = "sdc2_clk";
drive-strength = <16>;
bias-disable;
};
cmd {
cmd-pins {
pins = "sdc2_cmd";
drive-strength = <10>;
bias-pull-up;
};
data {
data-pins {
pins = "sdc2_data";
drive-strength = <10>;
bias-pull-up;
......
......@@ -440,33 +440,33 @@ codec {
&tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
sdc2_default_state: sdc2-default {
clk {
sdc2_default_state: sdc2-default-state {
clk-pins {
pins = "sdc2_clk";
bias-disable;
drive-strength = <16>;
};
cmd {
cmd-pins {
pins = "sdc2_cmd";
bias-pull-up;
drive-strength = <10>;
};
data {
data-pins {
pins = "sdc2_data";
bias-pull-up;
drive-strength = <10>;
};
};
sdc2_card_det_n: sd-card-det-n {
sdc2_card_det_n: sd-card-det-n-state {
pins = "gpio126";
function = "gpio";
bias-pull-up;
};
wcd_intr_default: wcd_intr_default {
wcd_intr_default: wcd-intr-default-state {
pins = "gpio54";
function = "gpio";
......
......@@ -565,24 +565,21 @@ &qupv3_id_1 {
};
&qup_i2c14_default {
pinconf {
pins = "gpio33", "gpio34";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
ts_reset_default: ts-reset-default {
ts_reset_default: ts-reset-default-state {
pins = "gpio99";
function = "gpio";
drive-strength = <16>;
output-high;
};
ts_int_default: ts-int-default {
ts_int_default: ts-int-default-state {
pins = "gpio125";
function = "gpio";
bias-pull-down;
......@@ -590,14 +587,14 @@ ts_int_default: ts-int-default {
input-enable;
};
ts_reset_sleep: ts-reset-sleep {
ts_reset_sleep: ts-reset-sleep-state {
pins = "gpio99";
function = "gpio";
bias-disable;
drive-strength = <2>;
};
ts_int_sleep: ts-int-sleep {
ts_int_sleep: ts-int-sleep-state {
pins = "gpio125";
function = "gpio";
bias-pull-down;
......@@ -605,21 +602,21 @@ ts_int_sleep: ts-int-sleep {
input-enable;
};
sde_dsi_active: sde-dsi-active {
sde_dsi_active: sde-dsi-active-state {
pins = "gpio6", "gpio10";
function = "gpio";
drive-strength = <8>;
bias-disable;
};
sde_dsi_suspend: sde-dsi-suspend {
sde_dsi_suspend: sde-dsi-suspend-state {
pins = "gpio6", "gpio10";
function = "gpio";
drive-strength = <2>;
bias-pull-down;
};
wcd_intr_default: wcd-intr-default {
wcd_intr_default: wcd-intr-default-state {
pins = "gpio54";
function = "gpio";
input-enable;
......
This diff is collapsed.
......@@ -479,41 +479,13 @@ &mss_pil {
};
&qup_i2c10_default {
pinconf {
pins = "gpio55", "gpio56";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_i2c12_default {
pinmux {
drive-strength = <2>;
bias-disable;
};
};
&qup_uart6_default {
pinmux {
pins = "gpio45", "gpio46", "gpio47", "gpio48";
function = "qup6";
};
cts {
pins = "gpio45";
bias-pull-down;
};
rts-tx {
pins = "gpio46", "gpio47";
drive-strength = <2>;
bias-disable;
};
rx {
pins = "gpio48";
bias-pull-up;
};
drive-strength = <2>;
bias-disable;
};
&qupv3_id_0 {
......@@ -621,13 +593,14 @@ codec {
&tlmm {
gpio-reserved-ranges = <0 4>, <81 4>;
sn65dsi86_pin_active: sn65dsi86-enable {
sn65dsi86_pin_active: sn65dsi86-enable-state {
pins = "gpio96";
function = "gpio";
drive-strength = <2>;
bias-disable;
};
i2c3_hid_active: i2c2-hid-active {
i2c3_hid_active: i2c2-hid-active-state {
pins = "gpio37";
function = "gpio";
......@@ -636,7 +609,7 @@ i2c3_hid_active: i2c2-hid-active {
drive-strength = <2>;
};
i2c5_hid_active: i2c5-hid-active {
i2c5_hid_active: i2c5-hid-active-state {
pins = "gpio125";
function = "gpio";
......@@ -645,7 +618,7 @@ i2c5_hid_active: i2c5-hid-active {
drive-strength = <2>;
};
i2c11_hid_active: i2c11-hid-active {
i2c11_hid_active: i2c11-hid-active-state {
pins = "gpio92";
function = "gpio";
......@@ -654,7 +627,7 @@ i2c11_hid_active: i2c11-hid-active {
drive-strength = <2>;
};
wcd_intr_default: wcd_intr_default {
wcd_intr_default: wcd-intr-default-state {
pins = "gpio54";
function = "gpio";
......@@ -663,7 +636,7 @@ wcd_intr_default: wcd_intr_default {
drive-strength = <2>;
};
lid_pin_active: lid-pin {
lid_pin_active: lid-pin-state {
pins = "gpio124";
function = "gpio";
......@@ -671,7 +644,7 @@ lid_pin_active: lid-pin {
bias-disable;
};
mode_pin_active: mode-pin {
mode_pin_active: mode-pin-state {
pins = "gpio95";
function = "gpio";
......@@ -681,6 +654,8 @@ mode_pin_active: mode-pin {
};
&uart6 {
pinctrl-names = "default";
pinctrl-0 = <&qup_uart6_4pin>;
status = "okay";
bluetooth {
......
......@@ -399,49 +399,18 @@ &mss_pil {
};
&qup_i2c10_default {
pinconf {
pins = "gpio55", "gpio56";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_i2c11_default {
pinconf {
pins = "gpio31", "gpio32";
drive-strength = <2>;
bias-disable;
};
drive-strength = <2>;
bias-disable;
};
&qup_i2c12_default {
pinmux {
drive-strength = <2>;
bias-disable;
};
};
&qup_uart6_default {
pinmux {
pins = "gpio45", "gpio46", "gpio47", "gpio48";
function = "qup6";
};
cts {
pins = "gpio45";
bias-pull-down;
};
rts-tx {
pins = "gpio46", "gpio47";
drive-strength = <2>;
bias-disable;
};
rx {
pins = "gpio48";
bias-pull-up;
};
drive-strength = <2>;
bias-disable;
};
&qupv3_id_0 {
......@@ -549,59 +518,41 @@ codec {
&tlmm {
gpio-reserved-ranges = <0 6>, <85 4>;
pen_irq_l: pen-irq-l {
pinmux {
pins = "gpio119";
function = "gpio";
};
pinconf {
pins = "gpio119";
bias-disable;
};
pen_irq_l: pen-irq-l-state {
pins = "gpio119";
function = "gpio";
bias-disable;
};
pen_pdct_l: pen-pdct-l {
pinmux {
pins = "gpio124";
function = "gpio";
};
pinconf {
pins = "gpio124";
bias-disable;
drive-strength = <2>;
output-high;
};
pen_pdct_l: pen-pdct-l-state {
pins = "gpio124";
function = "gpio";
bias-disable;
drive-strength = <2>;
output-high;
};
pen_rst_l: pen-rst-l {
pinmux {
pins = "gpio21";
function = "gpio";
};
pinconf {
pins = "gpio21";
bias-disable;
drive-strength = <2>;
/*
* The pen driver doesn't currently support
* driving this reset line. By specifying
* output-high here we're relying on the fact
* that this pin has a default pulldown at boot
* (which makes sure the pen was in reset if it
* was powered) and then we set it high here to
* take it out of reset. Better would be if the
* pen driver could control this and we could
* remove "output-high" here.
*/
output-high;
};
pen_rst_l: pen-rst-l-state {
pins = "gpio21";
function = "gpio";
bias-disable;
drive-strength = <2>;
/*
* The pen driver doesn't currently support
* driving this reset line. By specifying
* output-high here we're relying on the fact
* that this pin has a default pulldown at boot
* (which makes sure the pen was in reset if it
* was powered) and then we set it high here to
* take it out of reset. Better would be if the
* pen driver could control this and we could
* remove "output-high" here.
*/
output-high;
};
wcd_intr_default: wcd_intr_default {
wcd_intr_default: wcd-intr-default-state {
pins = "gpio54";
function = "gpio";
......@@ -612,6 +563,8 @@ wcd_intr_default: wcd_intr_default {
};
&uart6 {
pinctrl-names = "default";
pinctrl-0 = <&qup_uart6_4pin>;
status = "okay";
bluetooth {
......
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