diff options
author | Aaro Koskinen <aaro.koskinen@iki.fi> | 2016-06-05 00:18:19 +0300 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2016-08-02 14:00:17 +0200 |
commit | e1b7d0e2854cb5f5c5a9850e00c290109c5a0b69 (patch) | |
tree | db0402ef64adcf0b8dbd01c7f5bce0e017d902fc /arch | |
parent | 86bee12f88ac466af718eb26739f5671fdc7cf18 (diff) | |
download | op-kernel-dev-e1b7d0e2854cb5f5c5a9850e00c290109c5a0b69.zip op-kernel-dev-e1b7d0e2854cb5f5c5a9850e00c290109c5a0b69.tar.gz |
MIPS: Octeon: Clean up GPIO definitions in dlink_dsr-1000n.dts.
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts b/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts index d6bc994..a20c5b6 100644 --- a/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts +++ b/arch/mips/boot/dts/cavium-octeon/dlink_dsr-1000n.dts @@ -9,6 +9,7 @@ */ /include/ "octeon_3xxx.dtsi" +#include <dt-bindings/gpio/gpio.h> / { model = "dlink,dsr-1000n"; @@ -63,12 +64,12 @@ 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>; }; }; |