Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6769b93c authored by Yingjoe Chen's avatar Yingjoe Chen Committed by Matthias Brugger
Browse files

arm64: dts: mt8173: Fixup pinctrl nodes



The 8173 pinctrl node doesn't follow dts convention. Fix them.
Also add a comment to explain pinctrl register usage to make it
more clear.

Signed-off-by: default avatarYingjoe Chen <yingjoe.chen@mediatek.com>
Reviewed-by: default avatarDaniel Kurtz <djkurtz@chromium.org>
Signed-off-by: default avatarMatthias Brugger <matthias.bgg@gmail.com>
parent b787f68c
Loading
Loading
Loading
Loading
+13 −9
Original line number Diff line number Diff line
@@ -106,14 +106,13 @@
		compatible = "simple-bus";
		ranges;

		syscfg_pctl_a: syscfg_pctl_a@10005000 {
			compatible = "mediatek,mt8173-pctl-a-syscfg", "syscon";
			reg = <0 0x10005000 0 0x1000>;
		};

		pio: pinctrl@0x10005000 {
		/*
		 * Pinctrl access register at 0x10005000 through regmap.
		 * Register 0x1000b000 is used by EINT.
		 */
		pio: pinctrl@10005000 {
			compatible = "mediatek,mt8173-pinctrl";
			reg = <0 0x1000B000 0 0x1000>;
			reg = <0 0x1000b000 0 0x1000>;
			mediatek,pctl-regmap = <&syscfg_pctl_a>;
			pins-are-numbered;
			gpio-controller;
@@ -125,6 +124,11 @@
				     <GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>;
		};

		syscfg_pctl_a: syscfg_pctl_a@10005000 {
			compatible = "mediatek,mt8173-pctl-a-syscfg", "syscon";
			reg = <0 0x10005000 0 0x1000>;
		};

		sysirq: intpol-controller@10200620 {
			compatible = "mediatek,mt8173-sysirq",
					"mediatek,mt6577-sysirq";