Skip to content

Commit

Permalink
Merge pull request #18 from humanoid2050/odroidxu4-v4.2
Browse files Browse the repository at this point in the history
enable power button on odroid XU4
  • Loading branch information
tobetter authored Oct 17, 2017
2 parents 2bd5324 + d46da10 commit bd5887d
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions arch/arm/boot/dts/exynos5422-odroidxu4.dts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,34 @@
gpioleds {
/delete-node/ redled;
};

pinctrl@13400000 {
key_pullnone: key-pullnone {
samsung,pins = "gpx0-3";
samsung,pin-pud = <0>;
};
};


gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
poll-interval = <100>;
pinctrl-names = "default";
pinctrl-0 = <&key_pullnone>;

button@1 {
label = "gpio-keys: KEY_POWER";
interrupts = <3 0 0>;
interrupt-parent = <&gpx0>;
linux,code = <116>;
gpios = <&gpx0 3 0xf>;
gpio-key,wakeup = <1>;
};
};


};

&usbdrd_dwc3_1 {
Expand Down

0 comments on commit bd5887d

Please sign in to comment.