ARM: ux500: move GPIO key configuration to device tree
This moves over the configuration of the GPIO keys (used for proximity sensor and Hall effect sensor) from the static pin configuration file to the device tree. As part of the exercise, implement the GPIO keys properly in a per-UIB file as this setup actually differs with each UIB. Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
@@ -18,17 +18,6 @@
|
||||
reg = <0x00000000 0x20000000>;
|
||||
};
|
||||
|
||||
gpio_keys {
|
||||
compatible = "gpio-keys";
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
button@1 {
|
||||
linux,code = <11>;
|
||||
label = "SFH7741 Proximity Sensor";
|
||||
};
|
||||
};
|
||||
|
||||
soc {
|
||||
usb_per5@a03e0000 {
|
||||
pinctrl-names = "default", "sleep";
|
||||
|
Reference in New Issue
Block a user