|
@@ -144,26 +144,26 @@
|
|
|
|
|
|
led@1 {
|
|
led@1 {
|
|
label = "evmsk:green:usr0";
|
|
label = "evmsk:green:usr0";
|
|
- gpios = <&gpio1 4 0>;
|
|
|
|
|
|
+ gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
default-state = "off";
|
|
};
|
|
};
|
|
|
|
|
|
led@2 {
|
|
led@2 {
|
|
label = "evmsk:green:usr1";
|
|
label = "evmsk:green:usr1";
|
|
- gpios = <&gpio1 5 0>;
|
|
|
|
|
|
+ gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
|
|
default-state = "off";
|
|
default-state = "off";
|
|
};
|
|
};
|
|
|
|
|
|
led@3 {
|
|
led@3 {
|
|
label = "evmsk:green:mmc0";
|
|
label = "evmsk:green:mmc0";
|
|
- gpios = <&gpio1 6 0>;
|
|
|
|
|
|
+ gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "mmc0";
|
|
linux,default-trigger = "mmc0";
|
|
default-state = "off";
|
|
default-state = "off";
|
|
};
|
|
};
|
|
|
|
|
|
led@4 {
|
|
led@4 {
|
|
label = "evmsk:green:heartbeat";
|
|
label = "evmsk:green:heartbeat";
|
|
- gpios = <&gpio1 7 0>;
|
|
|
|
|
|
+ gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
|
|
linux,default-trigger = "heartbeat";
|
|
linux,default-trigger = "heartbeat";
|
|
default-state = "off";
|
|
default-state = "off";
|
|
};
|
|
};
|
|
@@ -177,26 +177,26 @@
|
|
switch@1 {
|
|
switch@1 {
|
|
label = "button0";
|
|
label = "button0";
|
|
linux,code = <0x100>;
|
|
linux,code = <0x100>;
|
|
- gpios = <&gpio2 3 0>;
|
|
|
|
|
|
+ gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
|
|
switch@2 {
|
|
switch@2 {
|
|
label = "button1";
|
|
label = "button1";
|
|
linux,code = <0x101>;
|
|
linux,code = <0x101>;
|
|
- gpios = <&gpio2 2 0>;
|
|
|
|
|
|
+ gpios = <&gpio2 2 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
|
|
|
|
switch@3 {
|
|
switch@3 {
|
|
label = "button2";
|
|
label = "button2";
|
|
linux,code = <0x102>;
|
|
linux,code = <0x102>;
|
|
- gpios = <&gpio0 30 0>;
|
|
|
|
|
|
+ gpios = <&gpio0 30 GPIO_ACTIVE_HIGH>;
|
|
gpio-key,wakeup;
|
|
gpio-key,wakeup;
|
|
};
|
|
};
|
|
|
|
|
|
switch@4 {
|
|
switch@4 {
|
|
label = "button3";
|
|
label = "button3";
|
|
linux,code = <0x103>;
|
|
linux,code = <0x103>;
|
|
- gpios = <&gpio2 5 0>;
|
|
|
|
|
|
+ gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|
|
};
|