ipq806x: reorganize nand_pins mux definition

It's wrong set the mux to bias-disable. The best way to
do this is by creating a separate group and disable the
specific pins.

By documentation, any subgroup with no bias definition
is ignored so the mux definition is useless.
Rework the definition by sremoving the mux subgroup and
set the remaining subgroup with the mux function and
drive-strength

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
master
Ansuel Smith 5 years ago committed by Álvaro Fernández Rojas
parent 5ba02d10ed
commit 411ad3727a

@ -66,24 +66,27 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -45,24 +45,27 @@
}; };
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -76,24 +76,27 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -76,24 +76,27 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -77,24 +77,27 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -81,24 +81,27 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -504,11 +504,9 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", "gpio37", pins = "gpio34", "gpio35", "gpio36", "gpio37",
"gpio38", "gpio39", "gpio40", "gpio41", "gpio38";
"gpio42", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
@ -516,12 +514,16 @@
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", "gpio43", pins = "gpio40", "gpio41", "gpio42", "gpio43",
"gpio44", "gpio45", "gpio46", "gpio47"; "gpio44", "gpio45", "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -473,12 +473,9 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
@ -486,6 +483,8 @@
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
@ -493,6 +492,8 @@
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

@ -70,24 +70,27 @@
}; };
nand_pins: nand_pins { nand_pins: nand_pins {
mux { disable {
pins = "gpio34", "gpio35", "gpio36", pins = "gpio34", "gpio35", "gpio36",
"gpio37", "gpio38", "gpio39", "gpio37", "gpio38";
"gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45",
"gpio46", "gpio47";
function = "nand"; function = "nand";
drive-strength = <10>; drive-strength = <10>;
bias-disable; bias-disable;
}; };
pullups { pullups {
pins = "gpio39"; pins = "gpio39";
function = "nand";
drive-strength = <10>;
bias-pull-up; bias-pull-up;
}; };
hold { hold {
pins = "gpio40", "gpio41", "gpio42", pins = "gpio40", "gpio41", "gpio42",
"gpio43", "gpio44", "gpio45", "gpio43", "gpio44", "gpio45",
"gpio46", "gpio47"; "gpio46", "gpio47";
function = "nand";
drive-strength = <10>;
bias-bus-hold; bias-bus-hold;
}; };
}; };

Loading…
Cancel
Save