ipq5018: update bt_debug fixup

This changes disable mdio 1 if bt_debug set.

Signed-off-by: Vandhiadevan Karunamoorthy <vkarunam@codeaurora.org>
Change-Id: Ic960edb10ce52a7db0133406de36d502ebc1017f
This commit is contained in:
Vandhiadevan Karunamoorthy 2020-09-04 11:57:59 +05:30
parent c1ece2b859
commit 53ea88f717

View file

@ -1639,7 +1639,7 @@ void fdt_fixup_bt_debug(void *blob)
if ((gd->bd->bi_arch_number == MACH_TYPE_IPQ5018_AP_MP02_1) ||
(gd->bd->bi_arch_number == MACH_TYPE_IPQ5018_DB_MP02_1)) {
node = fdt_path_offset(blob, "/soc/pinctrl@1000000/btss_pins");
if (node) {
if (node >= 0) {
phandle = fdtdec_get_int(blob, node, "phandle", 0);
snprintf(node_name,
sizeof(node_name),
@ -1649,6 +1649,8 @@ void fdt_fixup_bt_debug(void *blob)
parse_fdt_fixup("/soc/bt@7000000%pinctrl-names%?btss_pins", blob);
parse_fdt_fixup(node_name, blob);
}
parse_fdt_fixup("/soc/mdio@90000/%delete%status", blob);
parse_fdt_fixup("/soc/mdio@90000/%status%?disabled", blob);
}
parse_fdt_fixup("/soc/serial@78b0000/%status%?ok", blob);