};
};
- keys {
- compatible = "gpio-keys";
- pinctrl-names = "default";
-
- button0 {
- label = "BUTTON_-";
- gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; //button_-
- linux,code = <KEY_F1>;
- gpio-key,wakeup;
- };
- button1 {
- label = "BUTTON_+";
- gpios = <&gpio4 13 GPIO_ACTIVE_LOW>; //button_+
- linux,code = <KEY_F2>;
- gpio-key,wakeup;
- };
- button2 {
- label = "BUTTON_CH";
- gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; //button_ch
- linux,code = <KEY_F3>;
- gpio-key,wakeup;
- };
- button3 {
- label = "BUTTON_RESTORE";
- gpios = <&gpio4 16 GPIO_ACTIVE_LOW>; //button_restore
- linux,code = <KEY_F4>;
- gpio-key,wakeup;
- };
- button4 {
- label = "BUTTON_SHUTDOWN";
- gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; //button_shutdown
- linux,code = <KEY_F5>;
- gpio-key,wakeup;
- };
- };
-
sound {
compatible = "somdevices,imx6ul-sgtl5000",
"simple-audio-card";
#sound-dai-cells = <0>;
status = "okay";
};
-
-&uart2 {
- status = "disabled";
-};