Commit f26b260c69f1d92940f82b3d6674a7b70a967dfc

Authored by Georgii Staroselskii
Committed by Bin Meng
1 parent 355c9b757e

x86: dts: edison: configure I2C#6 pins

Now that we have the pinctrl driver for Merrifield in place we can make
use of it and set I2C#6 pins appropriately.

Initial configuration came from the firmware.  Which quite likely has
been used in the phones, where that is not part of Atom peripheral, is
in use. Thus we need to override the leftover.

Signed-off-by: Georgii Staroselskii <georgii.staroselskii@emlid.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>

Showing 1 changed file with 22 additions and 0 deletions Side-by-side Diff

arch/x86/dts/edison.dts
... ... @@ -90,5 +90,27 @@
90 90 compatible = "intel,reset-tangier";
91 91 u-boot,dm-pre-reloc;
92 92 };
  93 +
  94 + pinctrl {
  95 + compatible = "intel,pinctrl-tangier";
  96 + reg = <0xff0c0000 0x8000>;
  97 +
  98 + /*
  99 + * Initial configuration came from the firmware.
  100 + * Which quite likely has been used in the phones, where I2C #8,
  101 + * that is not part of Atom peripheral, is in use.
  102 + * Thus we need to override the leftover.
  103 + */
  104 + i2c6_scl@0 {
  105 + pad-offset = <111>;
  106 + mode-func = <1>;
  107 + protected;
  108 + };
  109 + i2c6_sda@0 {
  110 + pad-offset = <112>;
  111 + mode-func = <1>;
  112 + protected;
  113 + };
  114 + };
93 115 };