From 70b192f57358f753842cbe1f8f82e26e8c6f9e1e Mon Sep 17 00:00:00 2001 From: "L. D. Pinney" Date: Sat, 29 Jul 2017 10:14:07 +0800 Subject: ramips: update device tree source files Use the GPIO dt-bindings macros and add compatible strings in the ramips device tree source files. Signed-off-by: L. D. Pinney Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/AR670W.dts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'target/linux/ramips/dts/AR670W.dts') diff --git a/target/linux/ramips/dts/AR670W.dts b/target/linux/ramips/dts/AR670W.dts index 3d26c3b6ff..3759f4a8c4 100644 --- a/target/linux/ramips/dts/AR670W.dts +++ b/target/linux/ramips/dts/AR670W.dts @@ -2,10 +2,11 @@ #include "rt2880.dtsi" +#include #include / { - compatible = "AR670W", "ralink,rt2880-soc"; + compatible = "airlink101,ar670w", "ralink,rt2880-soc"; model = "Airlink101 AR670W"; cfi@bdc00000 { @@ -38,12 +39,12 @@ status { label = "ar670w:green:power"; - gpios = <&gpio0 7 1>; + gpios = <&gpio0 7 GPIO_ACTIVE_LOW>; }; wpsblue { label = "ar670w:blue:wps"; - gpios = <&gpio0 13 1>; + gpios = <&gpio0 13 GPIO_ACTIVE_LOW>; }; }; @@ -55,13 +56,13 @@ wps { label = "wps"; - gpios = <&gpio0 0 1>; + gpios = <&gpio0 0 GPIO_ACTIVE_LOW>; linux,code = ; }; reset { label = "reset"; - gpios = <&gpio0 9 1>; + gpios = <&gpio0 9 GPIO_ACTIVE_LOW>; linux,code = ; }; }; -- cgit v1.2.3