New Products


Notice

 
How to modify GPIO Key function of 7420-UFSeMM
 Author : HOWCHIP
Date : 16-01-06 11:14   Read : 2,086  
Please modify "arch/arm64/boot/dts/exynos7420-exsom7420_rev2_0.dts" as following

pinctrl@10580000 {
gpa1_pull_up: gpa1_pull_up {
samsung,pins = "gpa1-2", "gpa1-3", "gpa1-4";
samsung,pin-function = <0xf>;
samsung,pin-pud = <3>;
samsung,pin-drv = <0>;
};
attn_irq: attn-irq {
samsung,pins = "gpa0-3";
samsung,pin-function = <0xf>;
samsung,pin-pud = <0>;
samsung,pin-drv = <0>;
};
attn_input: attn-input {
samsung,pins = "gpa0-3";
samsung,pin-function = <0>;
samsung,pin-pud = <1>;
samsung,pin-drv = <0>;
};
chg_irq: chg-irq {
samsung,pins = "gpa0-0";
samsung,pin-function = <0>;
samsung,pin-pud = <3>;
samsung,pin-drv = <3>;
};
};

gpio_keys {
compatible = "gpio-keys";
#address-cells = <1>;
#size-cells = <0>;
pinctrl-names = "default";
pinctrl-0 = <&gpa1_pull_up>;
button@1 {
label = "gpio-keys: KEY_HOMEPAGE";
interrupts = <2 0 0>;
interrupt-parent = <&gpa1>;
linux,code = <172>;
gpios = <&gpa1 2 0xf>;
gpio-key,wakeup = <1>;
};
button@2 {
label = "gpio-keys: KEY_VOLUMEUP";
interrupts = <3 0 0>;
interrupt-parent = <&gpa1>;
linux,code = <115>;
gpios = <&gpa1 3 0xf>;
};
button@3 {
label = "gpio-keys: KEY_VOLUMEDOWN";
interrupts = <4 0 0>;
interrupt-parent = <&gpa1>;
linux,code = <114>;
gpios = <&gpa1 4 0xf>;
};
};

   
 


Copyright © 2011: UNIBEST INC. The Howchip.com is owend by Unibest Inc.


고객센터

Email : howchip@howchip.com

Tel : 031-8017-0905, Fax: 031-8017-0906

유니베스트(주)

(16827)경기도 용인시 수지구 신수로 767, A동 1403호 (동천동 분당수지U-Tower)

대표이사 : 배수태, 통신판매업신고 : 2012-경기성남-0822호