|
@@ -68,7 +68,7 @@
|
|
|
slot@0 {
|
|
|
reg = <0>;
|
|
|
bus-width = <4>;
|
|
|
- cd-gpios = <&pioD 10 0>;
|
|
|
+ cd-gpios = <&pioD 10 GPIO_ACTIVE_HIGH>;
|
|
|
};
|
|
|
};
|
|
|
|
|
@@ -81,8 +81,8 @@
|
|
|
slot@0 {
|
|
|
reg = <0>;
|
|
|
bus-width = <4>;
|
|
|
- cd-gpios = <&pioD 11 0>;
|
|
|
- wp-gpios = <&pioD 29 0>;
|
|
|
+ cd-gpios = <&pioD 11 GPIO_ACTIVE_HIGH>;
|
|
|
+ wp-gpios = <&pioD 29 GPIO_ACTIVE_HIGH>;
|
|
|
};
|
|
|
};
|
|
|
|
|
@@ -139,8 +139,8 @@
|
|
|
usb0: ohci@00700000 {
|
|
|
status = "okay";
|
|
|
num-ports = <2>;
|
|
|
- atmel,vbus-gpio = <&pioD 1 1
|
|
|
- &pioD 3 1>;
|
|
|
+ atmel,vbus-gpio = <&pioD 1 GPIO_ACTIVE_LOW
|
|
|
+ &pioD 3 GPIO_ACTIVE_LOW>;
|
|
|
};
|
|
|
|
|
|
usb1: ehci@00800000 {
|
|
@@ -153,19 +153,19 @@
|
|
|
|
|
|
d8 {
|
|
|
label = "d8";
|
|
|
- gpios = <&pioD 30 0>;
|
|
|
+ gpios = <&pioD 30 GPIO_ACTIVE_HIGH>;
|
|
|
linux,default-trigger = "heartbeat";
|
|
|
};
|
|
|
|
|
|
d6 {
|
|
|
label = "d6";
|
|
|
- gpios = <&pioD 0 1>;
|
|
|
+ gpios = <&pioD 0 GPIO_ACTIVE_LOW>;
|
|
|
linux,default-trigger = "nand-disk";
|
|
|
};
|
|
|
|
|
|
d7 {
|
|
|
label = "d7";
|
|
|
- gpios = <&pioD 31 1>;
|
|
|
+ gpios = <&pioD 31 GPIO_ACTIVE_LOW>;
|
|
|
linux,default-trigger = "mmc0";
|
|
|
};
|
|
|
};
|
|
@@ -175,45 +175,45 @@
|
|
|
|
|
|
left_click {
|
|
|
label = "left_click";
|
|
|
- gpios = <&pioB 6 1>;
|
|
|
+ gpios = <&pioB 6 GPIO_ACTIVE_LOW>;
|
|
|
linux,code = <272>;
|
|
|
gpio-key,wakeup;
|
|
|
};
|
|
|
|
|
|
right_click {
|
|
|
label = "right_click";
|
|
|
- gpios = <&pioB 7 1>;
|
|
|
+ gpios = <&pioB 7 GPIO_ACTIVE_LOW>;
|
|
|
linux,code = <273>;
|
|
|
gpio-key,wakeup;
|
|
|
};
|
|
|
|
|
|
left {
|
|
|
label = "Joystick Left";
|
|
|
- gpios = <&pioB 14 1>;
|
|
|
+ gpios = <&pioB 14 GPIO_ACTIVE_LOW>;
|
|
|
linux,code = <105>;
|
|
|
};
|
|
|
|
|
|
right {
|
|
|
label = "Joystick Right";
|
|
|
- gpios = <&pioB 15 1>;
|
|
|
+ gpios = <&pioB 15 GPIO_ACTIVE_LOW>;
|
|
|
linux,code = <106>;
|
|
|
};
|
|
|
|
|
|
up {
|
|
|
label = "Joystick Up";
|
|
|
- gpios = <&pioB 16 1>;
|
|
|
+ gpios = <&pioB 16 GPIO_ACTIVE_LOW>;
|
|
|
linux,code = <103>;
|
|
|
};
|
|
|
|
|
|
down {
|
|
|
label = "Joystick Down";
|
|
|
- gpios = <&pioB 17 1>;
|
|
|
+ gpios = <&pioB 17 GPIO_ACTIVE_LOW>;
|
|
|
linux,code = <108>;
|
|
|
};
|
|
|
|
|
|
enter {
|
|
|
label = "Joystick Press";
|
|
|
- gpios = <&pioB 18 1>;
|
|
|
+ gpios = <&pioB 18 GPIO_ACTIVE_LOW>;
|
|
|
linux,code = <28>;
|
|
|
};
|
|
|
};
|