Commit be25ff5c10a7f8292f461599d406d08fa7a89e69

Authored by Leonid Lobachev
Committed by Ji Luo
1 parent 98a6ffadea

MA-14518 AIY: Enable i2c2 and i2c3 in u-boot.

Enable i2c2 and i2c3 for AIY.

Change-Id: I984e2e76e7c8929cc62088b6838c81f5dc838568

Showing 1 changed file with 15 additions and 2 deletions Side-by-side Diff

arch/arm/dts/fsl-imx8mq-aiy.dts
1 1 /*
2   - * Copyright 2018 NXP
  2 + * Copyright 2019 NXP
3 3 *
4 4 * This program is free software; you can redistribute it and/or
5 5 * modify it under the terms of the GNU General Public License
... ... @@ -187,6 +187,12 @@
187 187 >;
188 188 };
189 189  
  190 + pinctrl_i2c3: i2c3grp {
  191 + fsl,pins = <
  192 + MX8MQ_IOMUXC_I2C3_SCL_I2C3_SCL 0x4000007f
  193 + MX8MQ_IOMUXC_I2C3_SDA_I2C3_SDA 0x4000007f
  194 + >;
  195 + };
190 196  
191 197 pinctrl_pcie0: pcie0grp {
192 198 fsl,pins = <
... ... @@ -568,7 +574,14 @@
568 574 clock-frequency = <100000>;
569 575 pinctrl-names = "default";
570 576 pinctrl-0 = <&pinctrl_i2c2>;
571   - status = "disabled";
  577 + status = "okay";
  578 +};
  579 +
  580 +&i2c3 {
  581 + clock-frequency = <100000>;
  582 + pinctrl-names = "default";
  583 + pinctrl-0 = <&pinctrl_i2c3>;
  584 + status = "okay";
572 585 };
573 586  
574 587 &pcie0{