It allows to multiplex debug uart onto usb port, using i2c command.

Signed-off-by: Dzmitry Sankouski <dsankou...@gmail.com>

Cc: Caleb Connolly <caleb.conno...@linaro.org>
Cc: Dzmitry Sankouski <dsankou...@gmail.com>
Cc: Simon Glass <s...@chromium.org>
Cc: Sumit Garg <sumit.g...@linaro.org>
Cc: Tom Rini <tr...@konsulko.com>
Cc: Vladimir Zapolskiy <vladimir.zapols...@linaro.org>
---

 arch/arm/dts/starqltechn.dts | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/arch/arm/dts/starqltechn.dts b/arch/arm/dts/starqltechn.dts
index 539c1b51ca..5b04c3219d 100644
--- a/arch/arm/dts/starqltechn.dts
+++ b/arch/arm/dts/starqltechn.dts
@@ -23,6 +23,16 @@
                stdout-path = "serial0:921600n8";
        };
 
+       i2c14 {
+               compatible = "i2c-gpio";
+               pinctrl-names = "default";
+               pinctrl-0 =  <&muic_i2c>;
+               scl-gpios = <&tlmm 34 0>;
+               sda-gpios = <&tlmm 33 0>;
+               i2c-gpio,delay-us = <2>;
+               status = "okay";
+       };
+
        memory@80000000 {
                device_type = "memory";
                reg = <0 0x80000000 0 0xfe1c0000>;
@@ -59,7 +69,7 @@
 };
 
 &tlmm {
-       muic-i2c-n {
+       muic_i2c: muic-i2c-n {
                pins = "gpio33", "gpio34";
                drive-strength = <0x2>;
                function = "gpio";
-- 
2.39.2

Reply via email to