diff options
author | Jerome Brunet <jbrunet@baylibre.com> | 2016-09-14 06:06:08 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2016-09-14 13:48:36 -0400 |
commit | cb700f4935dbd65aedfaabb0f5799eb14e5ebb60 (patch) | |
tree | 4220485d8175f501656595ae9f749e9b20e9ef8c | |
parent | 1befc626c175871d3a95a9b7dc51956a66e8760a (diff) |
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>
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts | 6 |
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 233703529201..e6e3491d48a5 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 @@ | |||
92 | pinctrl-0 = <&remote_input_ao_pins>; | 92 | pinctrl-0 = <&remote_input_ao_pins>; |
93 | pinctrl-names = "default"; | 93 | pinctrl-names = "default"; |
94 | }; | 94 | }; |
95 | |||
96 | &i2c_A { | ||
97 | status = "okay"; | ||
98 | pinctrl-0 = <&i2c_a_pins>; | ||
99 | pinctrl-names = "default"; | ||
100 | }; | ||
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-p200.dts index 62979076e250..03e3d76626dd 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 @@ | |||
50 | compatible = "amlogic,p200", "amlogic,meson-gxbb"; | 50 | compatible = "amlogic,p200", "amlogic,meson-gxbb"; |
51 | model = "Amlogic Meson GXBB P200 Development Board"; | 51 | model = "Amlogic Meson GXBB P200 Development Board"; |
52 | }; | 52 | }; |
53 | |||
54 | &i2c_B { | ||
55 | status = "okay"; | ||
56 | pinctrl-0 = <&i2c_b_pins>; | ||
57 | pinctrl-names = "default"; | ||
58 | }; | ||