aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/Y1S.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/ramips/dts/Y1S.dts')
-rw-r--r--target/linux/ramips/dts/Y1S.dts22
1 files changed, 11 insertions, 11 deletions
diff --git a/target/linux/ramips/dts/Y1S.dts b/target/linux/ramips/dts/Y1S.dts
index cfa5e2123a..07719c25e5 100644
--- a/target/linux/ramips/dts/Y1S.dts
+++ b/target/linux/ramips/dts/Y1S.dts
@@ -3,7 +3,7 @@
#include "Y1.dtsi"
/ {
- compatible = "lenovo,Y1S", "ralink,mt7620a-soc";
+ compatible = "lenovo,y1s", "lenovo,y1", "ralink,mt7620a-soc";
model = "Lenovo Y1S";
gpio_export {
@@ -13,17 +13,17 @@
usb0 {
gpio-export,name = "usb0";
gpio-export,output = <1>; // GPIOF_OUT_INIT_HIGH
- gpios = <&gpio2 14 0>; // GPIO2:40+14=GPIO 54
+ gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>; // GPIO2:40+14=GPIO 54
};
usb1 {
gpio-export,name = "usb1";
gpio-export,output = <1>;
- gpios = <&gpio2 15 0>;
+ gpios = <&gpio2 15 GPIO_ACTIVE_HIGH>;
};
usb2 {
gpio-export,name = "usb2";
gpio-export,output = <1>;
- gpios = <&gpio2 16 0>;
+ gpios = <&gpio2 16 GPIO_ACTIVE_HIGH>;
};
};
@@ -32,37 +32,37 @@
power1 {
label = "y1s:yellow:power";
- gpios = <&gpio0 14 1>;
+ gpios = <&gpio0 14 GPIO_ACTIVE_LOW>;
};
power2 {
label = "y1s:blue:power";
- gpios = <&gpio0 9 1>;
+ gpios = <&gpio0 9 GPIO_ACTIVE_LOW>;
};
wlan1 {
label = "y1s:yellow:wifi";
- gpios = <&gpio3 0 1>;
+ gpios = <&gpio3 0 GPIO_ACTIVE_LOW>;
};
wlan2 {
label = "y1s:blue:wifi";
- gpios = <&gpio2 10 1>;
+ gpios = <&gpio2 10 GPIO_ACTIVE_LOW>;
};
usb1 {
label = "y1s:yellow:usb";
- gpios = <&gpio2 13 1>;
+ gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
};
usb2 {
label = "y1s:blue:usb";
- gpios = <&gpio2 12 1>;
+ gpios = <&gpio2 12 GPIO_ACTIVE_LOW>;
};
internet {
label = "y1s:blue:internet";
- gpios = <&gpio2 11 1>;
+ gpios = <&gpio2 11 GPIO_ACTIVE_LOW>;
};
};
};