Skip to contentSkip to conversation

arm64: dts: mediatek: mt8390-genio-700-evk: enable pcie

PATCH Applied Macpaul Lin 3 participants 4 messages Oct 7, 2024 – Oct 14, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: mediatek: mt8390-genio-700-evk: enable pcie

Enable PCIE, PCIEPHY and related Pinctrls for mt8390-genio-700-evk board.

---
 .../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
index 3e77f59f2c74..bb68665f0b2d 100644
@@ -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
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Macpaul Lin

Enable PCIE, PCIEPHY and related Pinctrls for mt8390-genio-700-evk board.

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 of mt8188.dtsi

    [1] https://lore.kernel.org/all/[email protected]/
arch/arm64/boot/dts/mediatek/mt8390-genio-700-evk.dts +19 -0
index 3e77f59f2c74..bb68665f0b2d 100644
@@ -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>;
maintainer Applied
#3 lore raw
In reply to Macpaul Lin
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