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/CF-WR800N.dts | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'target/linux/ramips/dts/CF-WR800N.dts') diff --git a/target/linux/ramips/dts/CF-WR800N.dts b/target/linux/ramips/dts/CF-WR800N.dts index 9fcab02..b66df86 100644 --- a/target/linux/ramips/dts/CF-WR800N.dts +++ b/target/linux/ramips/dts/CF-WR800N.dts @@ -2,10 +2,11 @@ #include "mt7620n.dtsi" +#include #include / { - compatible = "cf-wr800n", "ralink,mt7620n-soc"; + compatible = "comfast,cf-wr800n", "ralink,mt7620n-soc"; model = "Comfast CF-WR800N"; chosen { @@ -17,17 +18,17 @@ ethernet { label = "cf-wr800n:white:ethernet"; - gpios = <&gpio2 4 1>; + gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; }; wifi { label = "cf-wr800n:white:wifi"; - gpios = <&gpio3 0 1>; + gpios = <&gpio3 0 GPIO_ACTIVE_LOW>; }; wps { label = "cf-wr800n:white:wps"; - gpios = <&gpio1 15 1>; + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; }; @@ -39,7 +40,7 @@ reset { label = "reset"; - gpios = <&gpio0 2 1>; + gpios = <&gpio0 2 GPIO_ACTIVE_LOW>; linux,code = ; }; }; -- cgit v1.1