arm64: dts: mediatek: Declare drive-strength numerically

On some devicetrees, the drive-strength property gets assigned a
MTK_DRIVE_(x)_mA definition, which matches with (x).

For example, MTK_DRIVE_8mA equals to 8 and MTK_DRIVE_30mA equals
to 30.

Also keeping in mind that the drive-strength property is, by
(binding) definition, taking a number in milliamperes unit,
change all devicetrees to avoid the usage of any MTK_DRIVE_(x)
definition.
Reviewed-by: default avatarChen-Yu Tsai <wenst@chromium.org>
Link: https://lore.kernel.org/r/20240620101656.1096374-2-angelogioacchino.delregno@collabora.comSigned-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
parent df768350
...@@ -137,7 +137,7 @@ tx_pins { ...@@ -137,7 +137,7 @@ tx_pins {
<MT2712_PIN_74_GBE_TXD0__FUNC_GBE_TXD0>, <MT2712_PIN_74_GBE_TXD0__FUNC_GBE_TXD0>,
<MT2712_PIN_75_GBE_TXC__FUNC_GBE_TXC>, <MT2712_PIN_75_GBE_TXC__FUNC_GBE_TXC>,
<MT2712_PIN_76_GBE_TXEN__FUNC_GBE_TXEN>; <MT2712_PIN_76_GBE_TXEN__FUNC_GBE_TXEN>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
rx_pins { rx_pins {
pinmux = <MT2712_PIN_78_GBE_RXD3__FUNC_GBE_RXD3>, pinmux = <MT2712_PIN_78_GBE_RXD3__FUNC_GBE_RXD3>,
...@@ -151,7 +151,7 @@ rx_pins { ...@@ -151,7 +151,7 @@ rx_pins {
mdio_pins { mdio_pins {
pinmux = <MT2712_PIN_85_GBE_MDC__FUNC_GBE_MDC>, pinmux = <MT2712_PIN_85_GBE_MDC__FUNC_GBE_MDC>,
<MT2712_PIN_86_GBE_MDIO__FUNC_GBE_MDIO>; <MT2712_PIN_86_GBE_MDIO__FUNC_GBE_MDIO>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
input-enable; input-enable;
}; };
}; };
......
...@@ -288,25 +288,25 @@ pins-cmd-dat { ...@@ -288,25 +288,25 @@ pins-cmd-dat {
<PINMUX_GPIO161__FUNC_MSDC0_DAT7>, <PINMUX_GPIO161__FUNC_MSDC0_DAT7>,
<PINMUX_GPIO162__FUNC_MSDC0_CMD>; <PINMUX_GPIO162__FUNC_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO163__FUNC_MSDC0_CLK>; pinmux = <PINMUX_GPIO163__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
pins-rst { pins-rst {
pinmux = <PINMUX_GPIO165__FUNC_MSDC0_RSTB>; pinmux = <PINMUX_GPIO165__FUNC_MSDC0_RSTB>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_10>; bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
}; };
pins-ds { pins-ds {
pinmux = <PINMUX_GPIO164__FUNC_MSDC0_DSL>; pinmux = <PINMUX_GPIO164__FUNC_MSDC0_DSL>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
}; };
......
...@@ -213,14 +213,14 @@ pins_cmd_dat { ...@@ -213,14 +213,14 @@ pins_cmd_dat {
<MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_DAT3>, <MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_DAT3>,
<MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CMD>; <MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_4mA>; drive-strength = <4>;
bias-pull-up = <MTK_PUPD_SET_R1R0_10>; bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
}; };
pins_clk { pins_clk {
pinmux = <MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CLK>; pinmux = <MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CLK>;
bias-pull-down; bias-pull-down;
drive-strength = <MTK_DRIVE_4mA>; drive-strength = <4>;
}; };
pins_insert { pins_insert {
...@@ -241,13 +241,13 @@ pins_cmd_dat { ...@@ -241,13 +241,13 @@ pins_cmd_dat {
<MT8173_PIN_64_MSDC0_DAT7__FUNC_MSDC0_DAT7>, <MT8173_PIN_64_MSDC0_DAT7__FUNC_MSDC0_DAT7>,
<MT8173_PIN_66_MSDC0_CMD__FUNC_MSDC0_CMD>; <MT8173_PIN_66_MSDC0_CMD__FUNC_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_2mA>; drive-strength = <2>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins_clk { pins_clk {
pinmux = <MT8173_PIN_65_MSDC0_CLK__FUNC_MSDC0_CLK>; pinmux = <MT8173_PIN_65_MSDC0_CLK__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_2mA>; drive-strength = <2>;
bias-pull-down = <MTK_PUPD_SET_R1R0_01>; bias-pull-down = <MTK_PUPD_SET_R1R0_01>;
}; };
...@@ -265,13 +265,13 @@ pins_cmd_dat { ...@@ -265,13 +265,13 @@ pins_cmd_dat {
<MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_DAT3>, <MT8173_PIN_76_MSDC1_DAT3__FUNC_MSDC1_DAT3>,
<MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CMD>; <MT8173_PIN_78_MSDC1_CMD__FUNC_MSDC1_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_4mA>; drive-strength = <4>;
bias-pull-up = <MTK_PUPD_SET_R1R0_10>; bias-pull-up = <MTK_PUPD_SET_R1R0_10>;
}; };
pins_clk { pins_clk {
pinmux = <MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CLK>; pinmux = <MT8173_PIN_77_MSDC1_CLK__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_4mA>; drive-strength = <4>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
}; };
......
...@@ -19,6 +19,6 @@ &qca_wifi { ...@@ -19,6 +19,6 @@ &qca_wifi {
&mmc1_pins_uhs { &mmc1_pins_uhs {
pins-clk { pins-clk {
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
}; };
}; };
...@@ -19,6 +19,6 @@ &qca_wifi { ...@@ -19,6 +19,6 @@ &qca_wifi {
&mmc1_pins_uhs { &mmc1_pins_uhs {
pins-clk { pins-clk {
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
}; };
}; };
...@@ -66,16 +66,16 @@ pins-wifi-enable { ...@@ -66,16 +66,16 @@ pins-wifi-enable {
&mmc1_pins_default { &mmc1_pins_default {
pins-cmd-dat { pins-cmd-dat {
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
}; };
pins-clk { pins-clk {
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
}; };
}; };
&mmc1_pins_uhs { &mmc1_pins_uhs {
pins-clk { pins-clk {
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
}; };
}; };
......
...@@ -488,7 +488,7 @@ pins-bus { ...@@ -488,7 +488,7 @@ pins-bus {
<PINMUX_GPIO172__FUNC_TDM_DATA1_2ND>, <PINMUX_GPIO172__FUNC_TDM_DATA1_2ND>,
<PINMUX_GPIO173__FUNC_TDM_DATA2_2ND>, <PINMUX_GPIO173__FUNC_TDM_DATA2_2ND>,
<PINMUX_GPIO10__FUNC_TDM_DATA3>; /*8ch-i2s to it6505*/ <PINMUX_GPIO10__FUNC_TDM_DATA3>; /*8ch-i2s to it6505*/
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
}; };
}; };
...@@ -502,7 +502,7 @@ pins-bus { ...@@ -502,7 +502,7 @@ pins-bus {
<PINMUX_GPIO10__FUNC_GPIO10>; <PINMUX_GPIO10__FUNC_GPIO10>;
input-enable; input-enable;
bias-pull-down; bias-pull-down;
drive-strength = <MTK_DRIVE_2mA>; drive-strength = <2>;
}; };
}; };
...@@ -673,14 +673,14 @@ pins-cmd-dat { ...@@ -673,14 +673,14 @@ pins-cmd-dat {
<PINMUX_GPIO34__FUNC_MSDC1_DAT1>, <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
<PINMUX_GPIO33__FUNC_MSDC1_DAT2>, <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO30__FUNC_MSDC1_DAT3>; <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
input-enable; input-enable;
mediatek,pull-up-adv = <10>; mediatek,pull-up-adv = <10>;
}; };
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
mediatek,pull-down-adv = <10>; mediatek,pull-down-adv = <10>;
input-enable; input-enable;
}; };
......
...@@ -350,14 +350,14 @@ pins_cmd_dat { ...@@ -350,14 +350,14 @@ pins_cmd_dat {
<PINMUX_GPIO34__FUNC_MSDC1_DAT1>, <PINMUX_GPIO34__FUNC_MSDC1_DAT1>,
<PINMUX_GPIO33__FUNC_MSDC1_DAT2>, <PINMUX_GPIO33__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO30__FUNC_MSDC1_DAT3>; <PINMUX_GPIO30__FUNC_MSDC1_DAT3>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
input-enable; input-enable;
mediatek,pull-up-adv = <10>; mediatek,pull-up-adv = <10>;
}; };
pins_clk { pins_clk {
pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>; pinmux = <PINMUX_GPIO29__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
mediatek,pull-down-adv = <10>; mediatek,pull-down-adv = <10>;
input-enable; input-enable;
}; };
......
...@@ -305,14 +305,14 @@ pins-txd { ...@@ -305,14 +305,14 @@ pins-txd {
<PINMUX_GPIO78__FUNC_GBE_TXD2>, <PINMUX_GPIO78__FUNC_GBE_TXD2>,
<PINMUX_GPIO79__FUNC_GBE_TXD1>, <PINMUX_GPIO79__FUNC_GBE_TXD1>,
<PINMUX_GPIO80__FUNC_GBE_TXD0>; <PINMUX_GPIO80__FUNC_GBE_TXD0>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
pins-cc { pins-cc {
pinmux = <PINMUX_GPIO85__FUNC_GBE_TXC>, pinmux = <PINMUX_GPIO85__FUNC_GBE_TXC>,
<PINMUX_GPIO88__FUNC_GBE_TXEN>, <PINMUX_GPIO88__FUNC_GBE_TXEN>,
<PINMUX_GPIO87__FUNC_GBE_RXDV>, <PINMUX_GPIO87__FUNC_GBE_RXDV>,
<PINMUX_GPIO86__FUNC_GBE_RXC>; <PINMUX_GPIO86__FUNC_GBE_RXC>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
pins-rxd { pins-rxd {
pinmux = <PINMUX_GPIO81__FUNC_GBE_RXD3>, pinmux = <PINMUX_GPIO81__FUNC_GBE_RXD3>,
...@@ -377,7 +377,7 @@ pins { ...@@ -377,7 +377,7 @@ pins {
mmc0_default_pins: mmc0-default-pins { mmc0_default_pins: mmc0-default-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>; pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -392,13 +392,13 @@ pins-cmd-dat { ...@@ -392,13 +392,13 @@ pins-cmd-dat {
<PINMUX_GPIO116__FUNC_MSDC0_DAT7>, <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
<PINMUX_GPIO121__FUNC_MSDC0_CMD>; <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins-rst { pins-rst {
pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>; pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -406,7 +406,7 @@ pins-rst { ...@@ -406,7 +406,7 @@ pins-rst {
mmc0_uhs_pins: mmc0-uhs-pins { mmc0_uhs_pins: mmc0-uhs-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>; pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -421,19 +421,19 @@ pins-cmd-dat { ...@@ -421,19 +421,19 @@ pins-cmd-dat {
<PINMUX_GPIO116__FUNC_MSDC0_DAT7>, <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
<PINMUX_GPIO121__FUNC_MSDC0_CMD>; <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins-ds { pins-ds {
pinmux = <PINMUX_GPIO127__FUNC_MSDC0_DSL>; pinmux = <PINMUX_GPIO127__FUNC_MSDC0_DSL>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
pins-rst { pins-rst {
pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>; pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -441,7 +441,7 @@ pins-rst { ...@@ -441,7 +441,7 @@ pins-rst {
mmc1_default_pins: mmc1-default-pins { mmc1_default_pins: mmc1-default-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>; pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -452,7 +452,7 @@ pins-cmd-dat { ...@@ -452,7 +452,7 @@ pins-cmd-dat {
<PINMUX_GPIO114__FUNC_MSDC1_DAT2>, <PINMUX_GPIO114__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO115__FUNC_MSDC1_DAT3>; <PINMUX_GPIO115__FUNC_MSDC1_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
...@@ -465,7 +465,7 @@ pins-insert { ...@@ -465,7 +465,7 @@ pins-insert {
mmc1_uhs_pins: mmc1-uhs-pins { mmc1_uhs_pins: mmc1-uhs-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>; pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -476,7 +476,7 @@ pins-cmd-dat { ...@@ -476,7 +476,7 @@ pins-cmd-dat {
<PINMUX_GPIO114__FUNC_MSDC1_DAT2>, <PINMUX_GPIO114__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO115__FUNC_MSDC1_DAT3>; <PINMUX_GPIO115__FUNC_MSDC1_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
......
...@@ -308,7 +308,7 @@ cmd-dat-pins { ...@@ -308,7 +308,7 @@ cmd-dat-pins {
mmc1_uhs_pins: mmc1-uhs-pins { mmc1_uhs_pins: mmc1-uhs-pins {
clk-pins { clk-pins {
pinmux = <MT8365_PIN_88_MSDC1_CLK__FUNC_MSDC1_CLK>; pinmux = <MT8365_PIN_88_MSDC1_CLK__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -319,7 +319,7 @@ cmd-dat-pins { ...@@ -319,7 +319,7 @@ cmd-dat-pins {
<MT8365_PIN_92_MSDC1_DAT3__FUNC_MSDC1_DAT3>, <MT8365_PIN_92_MSDC1_DAT3__FUNC_MSDC1_DAT3>,
<MT8365_PIN_87_MSDC1_CMD__FUNC_MSDC1_CMD>; <MT8365_PIN_87_MSDC1_CMD__FUNC_MSDC1_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
......
...@@ -383,13 +383,13 @@ pins-cc { ...@@ -383,13 +383,13 @@ pins-cc {
<PINMUX_GPIO140__FUNC_I0_GBE_RXC>, <PINMUX_GPIO140__FUNC_I0_GBE_RXC>,
<PINMUX_GPIO141__FUNC_I0_GBE_RXDV>, <PINMUX_GPIO141__FUNC_I0_GBE_RXDV>,
<PINMUX_GPIO142__FUNC_O_GBE_TXEN>; <PINMUX_GPIO142__FUNC_O_GBE_TXEN>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
pins-mdio { pins-mdio {
pinmux = <PINMUX_GPIO143__FUNC_O_GBE_MDC>, pinmux = <PINMUX_GPIO143__FUNC_O_GBE_MDC>,
<PINMUX_GPIO144__FUNC_B1_GBE_MDIO>; <PINMUX_GPIO144__FUNC_B1_GBE_MDIO>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
input-enable; input-enable;
}; };
...@@ -404,7 +404,7 @@ pins-rxd { ...@@ -404,7 +404,7 @@ pins-rxd {
<PINMUX_GPIO136__FUNC_I0_GBE_RXD2>, <PINMUX_GPIO136__FUNC_I0_GBE_RXD2>,
<PINMUX_GPIO137__FUNC_I0_GBE_RXD1>, <PINMUX_GPIO137__FUNC_I0_GBE_RXD1>,
<PINMUX_GPIO138__FUNC_I0_GBE_RXD0>; <PINMUX_GPIO138__FUNC_I0_GBE_RXD0>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
pins-txd { pins-txd {
...@@ -412,7 +412,7 @@ pins-txd { ...@@ -412,7 +412,7 @@ pins-txd {
<PINMUX_GPIO132__FUNC_O_GBE_TXD2>, <PINMUX_GPIO132__FUNC_O_GBE_TXD2>,
<PINMUX_GPIO133__FUNC_O_GBE_TXD1>, <PINMUX_GPIO133__FUNC_O_GBE_TXD1>,
<PINMUX_GPIO134__FUNC_O_GBE_TXD0>; <PINMUX_GPIO134__FUNC_O_GBE_TXD0>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
}; };
...@@ -520,7 +520,7 @@ pins { ...@@ -520,7 +520,7 @@ pins {
mmc0_default_pins: mmc0-default-pins { mmc0_default_pins: mmc0-default-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO157__FUNC_B1_MSDC0_CLK>; pinmux = <PINMUX_GPIO157__FUNC_B1_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -535,13 +535,13 @@ pins-cmd-dat { ...@@ -535,13 +535,13 @@ pins-cmd-dat {
<PINMUX_GPIO151__FUNC_B1_MSDC0_DAT7>, <PINMUX_GPIO151__FUNC_B1_MSDC0_DAT7>,
<PINMUX_GPIO156__FUNC_B1_MSDC0_CMD>; <PINMUX_GPIO156__FUNC_B1_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins-rst { pins-rst {
pinmux = <PINMUX_GPIO155__FUNC_O_MSDC0_RSTB>; pinmux = <PINMUX_GPIO155__FUNC_O_MSDC0_RSTB>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -549,7 +549,7 @@ pins-rst { ...@@ -549,7 +549,7 @@ pins-rst {
mmc0_uhs_pins: mmc0-uhs-pins { mmc0_uhs_pins: mmc0-uhs-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO157__FUNC_B1_MSDC0_CLK>; pinmux = <PINMUX_GPIO157__FUNC_B1_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -564,19 +564,19 @@ pins-cmd-dat { ...@@ -564,19 +564,19 @@ pins-cmd-dat {
<PINMUX_GPIO151__FUNC_B1_MSDC0_DAT7>, <PINMUX_GPIO151__FUNC_B1_MSDC0_DAT7>,
<PINMUX_GPIO156__FUNC_B1_MSDC0_CMD>; <PINMUX_GPIO156__FUNC_B1_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins-ds { pins-ds {
pinmux = <PINMUX_GPIO162__FUNC_B0_MSDC0_DSL>; pinmux = <PINMUX_GPIO162__FUNC_B0_MSDC0_DSL>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
pins-rst { pins-rst {
pinmux = <PINMUX_GPIO155__FUNC_O_MSDC0_RSTB>; pinmux = <PINMUX_GPIO155__FUNC_O_MSDC0_RSTB>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -584,7 +584,7 @@ pins-rst { ...@@ -584,7 +584,7 @@ pins-rst {
mmc1_default_pins: mmc1-default-pins { mmc1_default_pins: mmc1-default-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO164__FUNC_B1_MSDC1_CLK>; pinmux = <PINMUX_GPIO164__FUNC_B1_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -595,7 +595,7 @@ pins-cmd-dat { ...@@ -595,7 +595,7 @@ pins-cmd-dat {
<PINMUX_GPIO167__FUNC_B1_MSDC1_DAT2>, <PINMUX_GPIO167__FUNC_B1_MSDC1_DAT2>,
<PINMUX_GPIO168__FUNC_B1_MSDC1_DAT3>; <PINMUX_GPIO168__FUNC_B1_MSDC1_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
...@@ -608,7 +608,7 @@ pins-insert { ...@@ -608,7 +608,7 @@ pins-insert {
mmc1_uhs_pins: mmc1-uhs-pins { mmc1_uhs_pins: mmc1-uhs-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO164__FUNC_B1_MSDC1_CLK>; pinmux = <PINMUX_GPIO164__FUNC_B1_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -619,7 +619,7 @@ pins-cmd-dat { ...@@ -619,7 +619,7 @@ pins-cmd-dat {
<PINMUX_GPIO167__FUNC_B1_MSDC1_DAT2>, <PINMUX_GPIO167__FUNC_B1_MSDC1_DAT2>,
<PINMUX_GPIO168__FUNC_B1_MSDC1_DAT3>; <PINMUX_GPIO168__FUNC_B1_MSDC1_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -627,7 +627,7 @@ pins-cmd-dat { ...@@ -627,7 +627,7 @@ pins-cmd-dat {
mmc2_default_pins: mmc2-default-pins { mmc2_default_pins: mmc2-default-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO170__FUNC_B1_MSDC2_CLK>; pinmux = <PINMUX_GPIO170__FUNC_B1_MSDC2_CLK>;
drive-strength = <MTK_DRIVE_4mA>; drive-strength = <4>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -638,7 +638,7 @@ pins-cmd-dat { ...@@ -638,7 +638,7 @@ pins-cmd-dat {
<PINMUX_GPIO173__FUNC_B1_MSDC2_DAT2>, <PINMUX_GPIO173__FUNC_B1_MSDC2_DAT2>,
<PINMUX_GPIO174__FUNC_B1_MSDC2_DAT3>; <PINMUX_GPIO174__FUNC_B1_MSDC2_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
...@@ -650,7 +650,7 @@ pins-pcm { ...@@ -650,7 +650,7 @@ pins-pcm {
mmc2_uhs_pins: mmc2-uhs-pins { mmc2_uhs_pins: mmc2-uhs-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO170__FUNC_B1_MSDC2_CLK>; pinmux = <PINMUX_GPIO170__FUNC_B1_MSDC2_CLK>;
drive-strength = <MTK_DRIVE_4mA>; drive-strength = <4>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -661,7 +661,7 @@ pins-cmd-dat { ...@@ -661,7 +661,7 @@ pins-cmd-dat {
<PINMUX_GPIO173__FUNC_B1_MSDC2_DAT2>, <PINMUX_GPIO173__FUNC_B1_MSDC2_DAT2>,
<PINMUX_GPIO174__FUNC_B1_MSDC2_DAT3>; <PINMUX_GPIO174__FUNC_B1_MSDC2_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -678,7 +678,7 @@ mmc2_dat1_pins: mmc2-dat1-pins { ...@@ -678,7 +678,7 @@ mmc2_dat1_pins: mmc2-dat1-pins {
pins-dat1 { pins-dat1 {
pinmux = <PINMUX_GPIO172__FUNC_B1_MSDC2_DAT1>; pinmux = <PINMUX_GPIO172__FUNC_B1_MSDC2_DAT1>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
......
...@@ -475,7 +475,7 @@ pins-cc { ...@@ -475,7 +475,7 @@ pins-cc {
<PINMUX_GPIO86__FUNC_GBE_RXC>, <PINMUX_GPIO86__FUNC_GBE_RXC>,
<PINMUX_GPIO87__FUNC_GBE_RXDV>, <PINMUX_GPIO87__FUNC_GBE_RXDV>,
<PINMUX_GPIO88__FUNC_GBE_TXEN>; <PINMUX_GPIO88__FUNC_GBE_TXEN>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
pins-mdio { pins-mdio {
...@@ -502,7 +502,7 @@ pins-txd { ...@@ -502,7 +502,7 @@ pins-txd {
<PINMUX_GPIO78__FUNC_GBE_TXD2>, <PINMUX_GPIO78__FUNC_GBE_TXD2>,
<PINMUX_GPIO79__FUNC_GBE_TXD1>, <PINMUX_GPIO79__FUNC_GBE_TXD1>,
<PINMUX_GPIO80__FUNC_GBE_TXD0>; <PINMUX_GPIO80__FUNC_GBE_TXD0>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
}; };
}; };
...@@ -567,7 +567,7 @@ pins { ...@@ -567,7 +567,7 @@ pins {
pinmux = <PINMUX_GPIO12__FUNC_SDA2>, pinmux = <PINMUX_GPIO12__FUNC_SDA2>,
<PINMUX_GPIO13__FUNC_SCL2>; <PINMUX_GPIO13__FUNC_SCL2>;
bias-pull-up = <MTK_PULL_SET_RSEL_111>; bias-pull-up = <MTK_PULL_SET_RSEL_111>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
}; };
}; };
...@@ -582,7 +582,7 @@ pins { ...@@ -582,7 +582,7 @@ pins {
mmc0_default_pins: mmc0-default-pins { mmc0_default_pins: mmc0-default-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>; pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -597,13 +597,13 @@ pins-cmd-dat { ...@@ -597,13 +597,13 @@ pins-cmd-dat {
<PINMUX_GPIO116__FUNC_MSDC0_DAT7>, <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
<PINMUX_GPIO121__FUNC_MSDC0_CMD>; <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins-rst { pins-rst {
pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>; pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
drive-strength = <MTK_DRIVE_6mA>; drive-strength = <6>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -611,7 +611,7 @@ pins-rst { ...@@ -611,7 +611,7 @@ pins-rst {
mmc0_uhs_pins: mmc0-uhs-pins { mmc0_uhs_pins: mmc0-uhs-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>; pinmux = <PINMUX_GPIO122__FUNC_MSDC0_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -626,19 +626,19 @@ pins-cmd-dat { ...@@ -626,19 +626,19 @@ pins-cmd-dat {
<PINMUX_GPIO116__FUNC_MSDC0_DAT7>, <PINMUX_GPIO116__FUNC_MSDC0_DAT7>,
<PINMUX_GPIO121__FUNC_MSDC0_CMD>; <PINMUX_GPIO121__FUNC_MSDC0_CMD>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
pins-ds { pins-ds {
pinmux = <PINMUX_GPIO127__FUNC_MSDC0_DSL>; pinmux = <PINMUX_GPIO127__FUNC_MSDC0_DSL>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
pins-rst { pins-rst {
pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>; pinmux = <PINMUX_GPIO120__FUNC_MSDC0_RSTB>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -646,7 +646,7 @@ pins-rst { ...@@ -646,7 +646,7 @@ pins-rst {
mmc1_default_pins: mmc1-default-pins { mmc1_default_pins: mmc1-default-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>; pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -657,7 +657,7 @@ pins-cmd-dat { ...@@ -657,7 +657,7 @@ pins-cmd-dat {
<PINMUX_GPIO114__FUNC_MSDC1_DAT2>, <PINMUX_GPIO114__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO115__FUNC_MSDC1_DAT3>; <PINMUX_GPIO115__FUNC_MSDC1_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
...@@ -665,7 +665,7 @@ pins-cmd-dat { ...@@ -665,7 +665,7 @@ pins-cmd-dat {
mmc1_uhs_pins: mmc1-uhs-pins { mmc1_uhs_pins: mmc1-uhs-pins {
pins-clk { pins-clk {
pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>; pinmux = <PINMUX_GPIO111__FUNC_MSDC1_CLK>;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-down = <MTK_PUPD_SET_R1R0_10>; bias-pull-down = <MTK_PUPD_SET_R1R0_10>;
}; };
...@@ -676,7 +676,7 @@ pins-cmd-dat { ...@@ -676,7 +676,7 @@ pins-cmd-dat {
<PINMUX_GPIO114__FUNC_MSDC1_DAT2>, <PINMUX_GPIO114__FUNC_MSDC1_DAT2>,
<PINMUX_GPIO115__FUNC_MSDC1_DAT3>; <PINMUX_GPIO115__FUNC_MSDC1_DAT3>;
input-enable; input-enable;
drive-strength = <MTK_DRIVE_8mA>; drive-strength = <8>;
bias-pull-up = <MTK_PUPD_SET_R1R0_01>; bias-pull-up = <MTK_PUPD_SET_R1R0_01>;
}; };
}; };
......
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