arm64: dts: mediatek: mt8390-genio-700-evk: enable pcie
Subsystems (2)
PATCH 1/1 arm64: dts: mediatek: mt8390-genio-700-evk: enable pcie
Enable PCIE, PCIEPHY and related Pinctrls for mt8390-genio-700-evk board.
Signed-off-by Macpaul Lin <[email protected]>
--- .../dts/mediatek/mt8390-genio-700-evk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)
Changes for v1:
- This patch depends on the pcie patch of mt8188.dtsi
[1] https://lore.kernel.org/all/[email protected]/
arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts +19 -0
@@ -393,6 +393,16 @@ &mt6359codec { mediatek,mic-type-1 = <3>; /* DCC */ }; +&pcie { + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pins_default>; + status = "okay"; +}; + +&pciephy { + status = "okay"; +}; + &pio { audio_default_pins: audio-default-pins { pins-cmd-dat {
@@ -758,6 +768,15 @@ pins-rst { }; }; + pcie_pins_default: pcie-default { + mux { + pinmux = <PINMUX_GPIO47__FUNC_I1_WAKEN>, + <PINMUX_GPIO48__FUNC_O_PERSTN>, + <PINMUX_GPIO49__FUNC_B1_CLKREQN>; + bias-pull-up; + }; + }; + rt1715_int_pins: rt1715-int-pins { pins_cmd0_dat { pinmux = <PINMUX_GPIO12__FUNC_B_GPIO12>;
Signature · 1 line
2.45.2
Quoted 4 lines · Macpaul Lin
Enable PCIE, PCIEPHY and related Pinctrls for mt8390-genio-700-evk board.
Signed-off-by Macpaul Lin <[email protected]>
Reviewed-by Matthias Brugger <[email protected]>
Quoted 45 lines
--- .../dts/mediatek/mt8390-genio-700-evk.dts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+)Changes for v1:
- This patch depends on the pcie patch ofmt8188.dtsi[1] https://lore.kernel.org/all/[email protected]/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts +19
-0@@ -393,6 +393,16 @@ &mt6359codec { mediatek,mic-type-1 = <3>; /* DCC */ }; +&pcie { + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pins_default>; + status = "okay"; +}; + +&pciephy { + status = "okay"; +}; + &pio { audio_default_pins: audio-default-pins { pins-cmd-dat {@@ -758,6 +768,15 @@ pins-rst { }; }; + pcie_pins_default: pcie-default { + mux { + pinmux = <PINMUX_GPIO47__FUNC_I1_WAKEN>, + <PINMUX_GPIO48__FUNC_O_PERSTN>, + <PINMUX_GPIO49__FUNC_B1_CLKREQN>; + bias-pull-up; + }; + }; + rt1715_int_pins: rt1715-int-pins { pins_cmd0_dat { pinmux = <PINMUX_GPIO12__FUNC_B_GPIO12>;
Il 07/10/24 12:07, Macpaul Lin ha scritto:
Quoted 4 lines
Enable PCIE, PCIEPHY and related Pinctrls for mt8390-genio-700-evk board.
Signed-off-by Macpaul Lin <[email protected]>
Reviewed-by AngeloGioacchino Del Regno <[email protected]>
Quoted 4 lines · Macpaul Lin
Enable PCIE, PCIEPHY and related Pinctrls for mt8390-genio-700-evk board.
Applied to mediatek-next, thanks!
[1/1] arm64: dts: mediatek: mt8390-genio-700-evk: enable pcie
(no commit info)
Cheers,
Angelo