1 From 4bee3f9e285007ccf77ca9916fff3d93fc4d8a80 Mon Sep 17 00:00:00 2001
2 From: Weijie Gao <weijie.gao@mediatek.com>
3 Date: Tue, 2 Mar 2021 15:43:27 +0800
4 Subject: [PATCH 08/21] dts: mt7629: enable JTAG pins by default
6 The EPHY LEDs belongs to the built-in FE switch of MT7629, which is barely
7 used. These LED pins on reference boards are used as JTAG socket. So it's
8 a good idea to change the default state to JTAG, and this will make it
9 convenience for debugging.
11 Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
13 arch/arm/dts/mt7629-rfb.dts | 10 ++++++++++
14 arch/arm/dts/mt7629.dtsi | 6 ++++++
15 2 files changed, 16 insertions(+)
17 --- a/arch/arm/dts/mt7629-rfb.dts
18 +++ b/arch/arm/dts/mt7629-rfb.dts
23 + state_default: pinmux_conf {
24 + u-boot,dm-pre-reloc;
28 + groups = "ephy_leds_jtag";
29 + u-boot,dm-pre-reloc;
33 snfi_pins: snfi-pins {
36 --- a/arch/arm/dts/mt7629.dtsi
37 +++ b/arch/arm/dts/mt7629.dtsi
39 compatible = "mediatek,mt7629-pinctrl";
40 reg = <0x10217000 0x8000>;
42 + pinctrl-names = "default";
43 + pinctrl-0 = <&state_default>;
45 + state_default: pinmux_conf {
48 gpio: gpio-controller {