]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM64: dts: gxbb: add i2c bus
authorJerome Brunet <jbrunet@baylibre.com>
Wed, 14 Sep 2016 10:06:08 +0000 (12:06 +0200)
committerKevin Hilman <khilman@baylibre.com>
Wed, 14 Sep 2016 17:48:36 +0000 (10:48 -0700)
Add nodes for i2c bus on gxbb based platforms.
On the OdroidC2 (I2C A) and P200 (I2C B), the pull-up resistor are
present directly on the board. This indicates that these pins are
dedicated to i2c.

Signed-off-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts

index 233703529201ccdbd2a81225d9dbbb044afe4307..e6e3491d48a5ae97f877e4b9159b549a994a30b3 100644 (file)
@@ -92,3 +92,9 @@
        pinctrl-0 = <&remote_input_ao_pins>;
        pinctrl-names = "default";
 };
+
+&i2c_A {
+       status = "okay";
+       pinctrl-0 = <&i2c_a_pins>;
+       pinctrl-names = "default";
+};
index 62979076e2508c212954ec177a135303e9392655..03e3d76626ddc45c1f35b95725c768e9221c8498 100644 (file)
@@ -50,3 +50,9 @@
        compatible = "amlogic,p200", "amlogic,meson-gxbb";
        model = "Amlogic Meson GXBB P200 Development Board";
 };
+
+&i2c_B {
+       status = "okay";
+       pinctrl-0 = <&i2c_b_pins>;
+       pinctrl-names = "default";
+};