Commit e235f026 authored by Théo Lebrun's avatar Théo Lebrun Committed by Thomas Bogendoerfer
Browse files

MIPS: mobileye: eyeq5: add two GPIO bank nodes



This platform uses the same GPIO controller as Nomadik. It however has
its own pinconf & pinmux controller. EyeQ5 is the first platform to use
gpio-nomadik independently from pinctrl-nomadik.

Signed-off-by: default avatarThéo Lebrun <theo.lebrun@bootlin.com>
Acked-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent bc860760
Loading
Loading
Loading
Loading
+30 −0
Original line number Diff line number Diff line
@@ -275,6 +275,36 @@ emmc: sdhci@2200000 {
			cdns,phy-dll-delay-sdclk-hsmmc = <32>;
			cdns,phy-dll-delay-strobe = <32>;
		};

		gpio0: gpio@1400000 {
			compatible = "mobileye,eyeq5-gpio";
			reg = <0x0 0x1400000 0x0 0x1000>;
			gpio-bank = <0>;
			ngpios = <29>;
			interrupt-parent = <&gic>;
			interrupts = <GIC_SHARED 14 IRQ_TYPE_LEVEL_HIGH>;
			gpio-controller;
			#gpio-cells = <2>;
			gpio-ranges = <&olb 0 0 29>;
			interrupt-controller;
			#interrupt-cells = <2>;
			resets = <&olb 0 26>;
		};

		gpio1: gpio@1500000 {
			compatible = "mobileye,eyeq5-gpio";
			reg = <0x0 0x1500000 0x0 0x1000>;
			gpio-bank = <1>;
			ngpios = <23>;
			interrupt-parent = <&gic>;
			interrupts = <GIC_SHARED 14 IRQ_TYPE_LEVEL_HIGH>;
			gpio-controller;
			#gpio-cells = <2>;
			gpio-ranges = <&olb 0 29 23>;
			interrupt-controller;
			#interrupt-cells = <2>;
			resets = <&olb 0 26>;
		};
	};
};