#include #include / { gpio-keys { compatible = "gpio-keys"; camera_focus { label = "Camera Focus"; gpios = <&gpio TEGRA_GPIO(Q, 2) GPIO_ACTIVE_LOW>; linux,code = ; }; power { label = "Power"; gpios = <&gpio TEGRA_GPIO(Q, 0) GPIO_ACTIVE_LOW>; linux,code = ; gpio-key,wakeup; }; volume_down { label = "Volume Down"; gpios = <&gpio TEGRA_GPIO(Q, 7) GPIO_ACTIVE_LOW>; linux,code = ; }; volume_up { label = "Volume Up"; gpios = <&gpio TEGRA_GPIO(Q, 6) GPIO_ACTIVE_LOW>; linux,code = ; }; sw_table_mode { label = "SW Table Mode"; gpios = <&gpio TEGRA_GPIO(W, 3) GPIO_ACTIVE_HIGH>; linux,code = ; linux,input-type = ; gpio-key,wakeup; }; sw_lid { label = "SW LID"; gpios = <&gpio TEGRA_GPIO(R, 4) GPIO_ACTIVE_LOW>; linux,code = ; linux,input-type = ; gpio-key,wakeup; debounce-interval = <200>; }; }; };