summaryrefslogtreecommitdiffstats
path: root/arch/arm64
diff options
context:
space:
mode:
authorJerome Brunet <jbrunet@baylibre.com>2016-09-14 12:06:08 +0200
committerKevin Hilman <khilman@baylibre.com>2016-09-14 10:48:36 -0700
commitcb700f4935dbd65aedfaabb0f5799eb14e5ebb60 (patch)
tree4220485d8175f501656595ae9f749e9b20e9ef8c /arch/arm64
parent1befc626c175871d3a95a9b7dc51956a66e8760a (diff)
downloadop-kernel-dev-cb700f4935dbd65aedfaabb0f5799eb14e5ebb60.zip
op-kernel-dev-cb700f4935dbd65aedfaabb0f5799eb14e5ebb60.tar.gz
ARM64: dts: gxbb: add i2c bus
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>
Diffstat (limited to 'arch/arm64')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts6
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts6
2 files changed, 12 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
index 2337035..e6e3491 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts
@@ -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";
+};
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
index 6297907..03e3d76 100644
--- a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts
@@ -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";
+};
OpenPOWER on IntegriCloud