diff --git a/target/linux/ramips/dts/SK-WB8.dts b/target/linux/ramips/dts/SK-WB8.dts index 171e837c6a..87adc9ae1d 100644 --- a/target/linux/ramips/dts/SK-WB8.dts +++ b/target/linux/ramips/dts/SK-WB8.dts @@ -1,8 +1,8 @@ /dts-v1/; #include "mt7621.dtsi" - #include +#include / { model = "SamKnows Whitebox 8"; @@ -21,12 +21,12 @@ wps { label = "sk-wb8:green:wps"; - gpios = <&gpio1 14 1>; + gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; }; usb { label = "sk-wb8:green:usb"; - gpios = <&gpio1 15 1>; + gpios = <&gpio1 15 GPIO_ACTIVE_LOW>; }; }; @@ -37,12 +37,12 @@ poll-interval = <20>; wps { label = "wps"; - gpios = <&gpio1 11 1>; + gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; linux,code = ; }; reset { label = "reset"; - gpios = <&gpio1 9 1>; + gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; linux,code = ; }; }; @@ -78,12 +78,7 @@ partition@50000 { label = "firmware"; - reg = <0x50000 0x7b0000>; - }; - - partition@e30000 { - label = "recovery"; - reg = <0xe30000 0x1d0000>; + reg = <0x50000 0xfb0000>; }; };