From: Aaro Koskinen Date: Sat, 4 Jun 2016 21:18:19 +0000 (+0300) Subject: MIPS: Octeon: Clean up GPIO definitions in dlink_dsr-1000n.dts. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e1b7d0e2854cb5f5c5a9850e00c290109c5a0b69;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 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 --- 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 d6bc994f736f..a20c5b65ed45 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 / { 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>; }; };