exynos_rgt {
compatible = "samsung,exynos-rgt";
};
+
+ gpio_keys {
+ status = "okay";
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&key_voldown &key_volup &key_power>;
+ button@1 {
+ label = "gpio-keys: KEY_VOLUMEDOWN";
+ linux,code = <114>;
+ gpios = <&gpa1 6 0xf>;
+ };
+ button@2 {
+ label = "gpio-keys: KEY_VOLUMEUP";
+ linux,code = <115>;
+ gpios = <&gpa1 5 0xf>;
+ };
+ button@3 {
+ label = "gpio-keys: KEY_POWER";
+ linux,code = <116>;
+ gpios = <&gpa1 7 0xf>;
+ gpio-key,wakeup = <1>;
+ };
+ };
+
+ pinctrl@11850000 {
+ key_voldown: key-voldown {
+ samsung,pins = "gpa1-6";
+ samsung,pin-function = <0xf>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
+ key_volup: key-volup {
+ samsung,pins = "gpa1-5";
+ samsung,pin-function = <0xf>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+
+ key_power: key-power {
+ samsung,pins = "gpa1-7";
+ samsung,pin-function = <0xf>;
+ samsung,pin-pud = <0>;
+ samsung,pin-drv = <0>;
+ };
+ };
};
&pinctrl_0 {