Skip to content

Commit e235f02

Browse files
tlebtsbogend
authored andcommitted
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: Théo Lebrun <[email protected]> Acked-by: Gregory CLEMENT <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
1 parent bc86076 commit e235f02

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

arch/mips/boot/dts/mobileye/eyeq5.dtsi

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,36 @@
275275
cdns,phy-dll-delay-sdclk-hsmmc = <32>;
276276
cdns,phy-dll-delay-strobe = <32>;
277277
};
278+
279+
gpio0: gpio@1400000 {
280+
compatible = "mobileye,eyeq5-gpio";
281+
reg = <0x0 0x1400000 0x0 0x1000>;
282+
gpio-bank = <0>;
283+
ngpios = <29>;
284+
interrupt-parent = <&gic>;
285+
interrupts = <GIC_SHARED 14 IRQ_TYPE_LEVEL_HIGH>;
286+
gpio-controller;
287+
#gpio-cells = <2>;
288+
gpio-ranges = <&olb 0 0 29>;
289+
interrupt-controller;
290+
#interrupt-cells = <2>;
291+
resets = <&olb 0 26>;
292+
};
293+
294+
gpio1: gpio@1500000 {
295+
compatible = "mobileye,eyeq5-gpio";
296+
reg = <0x0 0x1500000 0x0 0x1000>;
297+
gpio-bank = <1>;
298+
ngpios = <23>;
299+
interrupt-parent = <&gic>;
300+
interrupts = <GIC_SHARED 14 IRQ_TYPE_LEVEL_HIGH>;
301+
gpio-controller;
302+
#gpio-cells = <2>;
303+
gpio-ranges = <&olb 0 29 23>;
304+
interrupt-controller;
305+
#interrupt-cells = <2>;
306+
resets = <&olb 0 26>;
307+
};
278308
};
279309
};
280310

0 commit comments

Comments
 (0)