ARM: ux500: register the tc35892 GPIO on the TVK UIB
[firefly-linux-kernel-4.4.55.git] / arch / arm / boot / dts / ste-href-tvk1281618.dtsi
index 89e1485a38509916669b3686edab6b7761982446..76d3ef13175f4d40ff9fb4ef3cbe0e8a287504ce 100644 (file)
 / {
        soc {
                /* Add Synaptics touch screen, TC35892 keypad etc here */
+               i2c@80004000 {
+                       tc3589x@44 {
+                               compatible = "tc3589x";
+                               reg = <0x44>;
+                               interrupt-parent = <&gpio6>;
+                               interrupts = <26 IRQ_TYPE_EDGE_RISING>;
+
+                               interrupt-controller;
+                               #interrupt-cells = <2>;
+
+                               tc3589x_gpio {
+                                       compatible = "tc3589x-gpio";
+                                       interrupts = <0 IRQ_TYPE_EDGE_RISING>;
+
+                                       interrupt-controller;
+                                       #interrupt-cells = <2>;
+                                       gpio-controller;
+                                       #gpio-cells = <2>;
+                               };
+                       };
+               };
        };
 };