Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <theo.lebrun@bootlin.com>
Acked-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>

authored by

Théo Lebrun and committed by
Thomas Bogendoerfer
e235f026 bc860760

+30
+30
arch/mips/boot/dts/mobileye/eyeq5.dtsi
··· 275 275 cdns,phy-dll-delay-sdclk-hsmmc = <32>; 276 276 cdns,phy-dll-delay-strobe = <32>; 277 277 }; 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 + }; 278 308 }; 279 309 }; 280 310