dts: mt7629: enable JTAG pins by default

The EPHY LEDs belongs to the built-in FE switch of MT7629, which is barely
used. These LED pins on reference boards are used as JTAG socket. So it's
a good idea to change the default state to JTAG, and this will make it
convenience for debugging.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
This commit is contained in:
Weijie Gao 2021-03-05 10:27:46 +08:00 committed by Tom Rini
parent e21599ed00
commit e8b98f0270
2 changed files with 16 additions and 0 deletions

View File

@ -36,6 +36,16 @@
};
&pinctrl {
state_default: pinmux_conf {
u-boot,dm-pre-reloc;
mux {
function = "jtag";
groups = "ephy_leds_jtag";
u-boot,dm-pre-reloc;
};
};
snfi_pins: snfi-pins {
mux {
function = "flash";

View File

@ -152,6 +152,12 @@
compatible = "mediatek,mt7629-pinctrl";
reg = <0x10217000 0x8000>;
pinctrl-names = "default";
pinctrl-0 = <&state_default>;
state_default: pinmux_conf {
};
gpio: gpio-controller {
gpio-controller;
#gpio-cells = <2>;