ARM: shmobile: kzm9g-reference: Add PCF8575 GPIO extender to DT
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Tue, 26 Nov 2013 01:21:18 +0000 (02:21 +0100)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 10 Dec 2013 08:27:16 +0000 (17:27 +0900)
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/boot/dts/sh73a0-kzm9g-reference.dts

index 12fdfaa..d58877d 100644 (file)
        pinctrl-0 = <&i2c3_pins>;
        pinctrl-names = "default";
        status = "okay";
+
+       pcf8575: gpio@20 {
+               compatible = "nxp,pcf8575";
+               reg = <0x20>;
+               interrupt-parent = <&irqpin2>;
+               interrupts = <3 IRQ_TYPE_EDGE_FALLING>;
+               gpio-controller;
+               #gpio-cells = <2>;
+               interrupt-controller;
+               #interrupt-cells = <2>;
+       };
 };
 
 &mmcif {