};
led3 {
label = "blue";
- gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>;
+ gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
default-state = "on";
};
led4 {
keys {
compatible = "gpio-keys";
pinctrl-names = "default";
- pinctrl-0 = <&pinctrl_keys>;
button0 {
label = "BUTTON_-";
- gpios = <&gpio1 1 GPIO_ACTIVE_LOW>; //button_-
+ gpios = <&gpio1 2 GPIO_ACTIVE_LOW>; //button_-
linux,code = <KEY_F1>;
gpio-key,wakeup;
};
};
button2 {
label = "BUTTON_CH";
- gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; //button_ch
+ gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; //button_ch
linux,code = <KEY_F3>;
gpio-key,wakeup;
};
gpio-key,wakeup;
};
button4 {
- label = "BUTTON_SHUTDOWN";
+ label = "BUTTON_SHUTDOWN"; //OK
gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; //button_shutdown
linux,code = <KEY_F5>;
gpio-key,wakeup;
status = "disabled";
};
-&i2c1 {
+&i2c2 {
pcf8563@51 {
compatible = "nxp,pcf8563";
reg = <0x51>;
compatible = "fsl,sgtl5000";
reg = <0x0a>;
#sound-dai-cells = <0>;
- VDDA-supply = <®_sd1_vmmc>;
- VDDIO-supply = <®_sd1_vmmc>;
+ VDDA-supply = <&sw3_reg>;
+ VDDIO-supply = <&sw3_reg>;
clocks = <&clks IMX6UL_CLK_SAI2>;
clock-names = "mclk";
wlf,shared-lrclk;
};
- /*TODO: Check if 24AA025E48T-I/OT can be set
eeprom@53 {
- compatible = "microchip,24c512";
+ compatible = "microchip,24c02";
reg = <0x53>;
- };*/
-};
-
-&iomuxc {
- pinctrl_keys: keys {
- fsl,pins = <
- MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x1b0b0 //GPIO02
- MX6UL_PAD_UART2_TX_DATA__GPIO1_IO20 0x1b0b0 //IN_2
- >;
};
};