MIPS: Octeon: Clean up GPIO definitions in dlink_dsr-1000n.dts.
authorAaro Koskinen <aaro.koskinen@iki.fi>
Sat, 4 Jun 2016 21:18:19 +0000 (00:18 +0300)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 2 Aug 2016 12:00:17 +0000 (14:00 +0200)
Clean up GPIO definitions in dlink_dsr-1000n.dts.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Cc: linux-mips@linux-mips.org
Cc: devicetree@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/13465/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts

index d6bc994f736f3ff3cb1b88941cd83bcb5a50e4fa..a20c5b65ed45a746eb94cc0015cc7b57d15f2a8d 100644 (file)
@@ -9,6 +9,7 @@
  */
 
 /include/ "octeon_3xxx.dtsi"
+#include <dt-bindings/gpio/gpio.h>
 
 / {
        model = "dlink,dsr-1000n";
 
                usb1 {
                        label = "usb1";
-                       gpios = <&gpio 9 1>; /* Active low */
+                       gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
                };
 
                usb2 {
                        label = "usb2";
-                       gpios = <&gpio 10 1>; /* Active low */
+                       gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
                };
        };