From a18513281fa7ce8913fb91ebb4501460f0cb2db9 Mon Sep 17 00:00:00 2001 From: Josep Orga Date: Thu, 16 Apr 2020 21:31:53 +0200 Subject: [PATCH] =?utf8?q?ARM:=20imx6ull-somdevices-C8P1.dtsi:=20=09=C2=B7?= =?utf8?q?=20Changed=20to=20I2C2.=20=09=C2=B7=20Changed=20GPIOs=20of=20LED?= =?utf8?q?s=20and=20Keys=20(removed=20pinctrl=5Fkeys).=20=09=C2=B7=20Chang?= =?utf8?q?ed=20EEPROM=20configuration.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Josep Orga --- arch/arm/boot/dts/imx6ull-somdevices-C8P1.dts | 27 ++++++------------- 1 file changed, 8 insertions(+), 19 deletions(-) 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 - >; }; }; -- 2.17.1