[PATCH] arm64: dts: mediatek: mt8390-genio-700-evk: enable pcie
Matthias Brugger
matthias.bgg at gmail.com
Mon Oct 7 07:08:48 PDT 2024
On 07/10/2024 12:07, Macpaul Lin wrote:
> Enable PCIE, PCIEPHY and related Pinctrls for mt8390-genio-700-evk
> board.
>
> Signed-off-by: Macpaul Lin <macpaul.lin at mediatek.com>
Reviewed-by: Matthias Brugger <matthias.bgg at gmail.com>
> ---
> .../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/20241004081218.55962-3-fshao@chromium.org/
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
> index 3e77f59f2c74..bb68665f0b2d 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
> +++ b/arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts
> @@ -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>;
More information about the Linux-mediatek
mailing list