Skip to content

Commit

Permalink
ARM64: dts: gxbb: add i2c bus
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jerome Brunet authored and Kevin Hilman committed Sep 14, 2016
1 parent 1befc62 commit cb700f4
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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";
};

0 comments on commit cb700f4

Please sign in to comment.