pinctrl: add driver for MT8518
Add Pinctrl driver for MediaTek MT8518 SoC.
diff --git a/arch/arm/dts/mt8518.dtsi b/arch/arm/dts/mt8518.dtsi
index 9f56122..c2d17fd 100644
--- a/arch/arm/dts/mt8518.dtsi
+++ b/arch/arm/dts/mt8518.dtsi
@@ -65,7 +65,14 @@
reset-on-timeout;
};
-
+ pinctrl: pinctrl@10005000 {
+ compatible = "mediatek,mt8518-pinctrl";
+ reg = <0x10005000 0x1000>;
+ gpio: gpio-controller {
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+ };
mmc0: mmc@11120000 {
compatible = "mediatek,mt8516-mmc";