ARM: dts: omap3-gta04: add pinmux for bmp085 EOC interrupt
authorH. Nikolaus Schaller <hns@goldelico.com>
Tue, 31 Jul 2018 07:11:11 +0000 (09:11 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 7 Sep 2018 17:10:51 +0000 (10:10 -0700)
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/omap3-gta04.dtsi

index ca818d3..b22e359 100644 (file)
                >;
        };
 
+       bmp085_pins: pinmux_bmp085_pins {
+               pinctrl-single,pins = <
+                       OMAP3_CORE1_IOPAD(0x2136, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio113 */
+               >;
+       };
+
        bma180_pins: pinmux_bma180_pins {
                pinctrl-single,pins = <
                        OMAP3_CORE1_IOPAD(0x213a, PIN_INPUT_PULLUP | MUX_MODE4) /* gpio115 */
        bmp085@77 {
                compatible = "bosch,bmp085";
                reg = <0x77>;
+               pinctrl-names = "default";
+               pinctrl-0 = <&bmp085_pins>;
                interrupt-parent = <&gpio4>;
                interrupts = <17 IRQ_TYPE_EDGE_RISING>; /* GPIO_113 */
        };