From: Josep Orga Date: Thu, 16 Apr 2020 19:31:53 +0000 (+0200) Subject: ARM: imx6ull-somdevices-C8P1.dtsi: X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=a18513281fa7ce8913fb91ebb4501460f0cb2db9;p=linux.git ARM: imx6ull-somdevices-C8P1.dtsi: · Changed to I2C2. · Changed GPIOs of LEDs and Keys (removed pinctrl_keys). · Changed EEPROM configuration. Signed-off-by: Josep Orga --- diff --git a/arch/arm/boot/dts/imx6ull-somdevices-C8P1.dts b/arch/arm/boot/dts/imx6ull-somdevices-C8P1.dts index 5ae05364a51d..b11f201cda87 100644 --- a/arch/arm/boot/dts/imx6ull-somdevices-C8P1.dts +++ b/arch/arm/boot/dts/imx6ull-somdevices-C8P1.dts @@ -16,7 +16,7 @@ }; led3 { label = "blue"; - gpios = <&gpio1 5 GPIO_ACTIVE_HIGH>; + gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>; default-state = "on"; }; led4 { @@ -29,11 +29,10 @@ 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 = ; gpio-key,wakeup; }; @@ -45,7 +44,7 @@ }; button2 { label = "BUTTON_CH"; - gpios = <&gpio3 4 GPIO_ACTIVE_LOW>; //button_ch + gpios = <&gpio1 25 GPIO_ACTIVE_LOW>; //button_ch linux,code = ; gpio-key,wakeup; }; @@ -56,7 +55,7 @@ gpio-key,wakeup; }; button4 { - label = "BUTTON_SHUTDOWN"; + label = "BUTTON_SHUTDOWN"; //OK gpios = <&gpio4 12 GPIO_ACTIVE_LOW>; //button_shutdown linux,code = ; gpio-key,wakeup; @@ -102,7 +101,7 @@ status = "disabled"; }; -&i2c1 { +&i2c2 { pcf8563@51 { compatible = "nxp,pcf8563"; reg = <0x51>; @@ -113,26 +112,16 @@ 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 - >; }; };