diff options
author | Jernej Skrabec <jernej.skrabec@gmail.com> | 2021-11-21 12:50:02 +0100 |
---|---|---|
committer | Maxime Ripard <maxime@cerno.tech> | 2021-11-22 10:03:20 +0100 |
commit | f7e47d85f3f5913bcf508589c8dabbfbd3f4fe56 (patch) | |
tree | 0486f718d6e68c188a847725ede1ed915f7c93a4 /arch/arm64/boot/dts/allwinner | |
parent | e927f53f7dd9b3cd389696161b72c8c079770941 (diff) | |
download | linux-f7e47d85f3f5913bcf508589c8dabbfbd3f4fe56.tar.bz2 |
arm64: dts: allwinner: h6: tanix-tx6: Add I2C node
Tanix TX6 has a LED display driven by FD650.
Currently there is no Linux driver nor any binding for it. However, we
can at least provide I2C node in DT, so user space scripts or programs
can manually control it.
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://lore.kernel.org/r/20211121115002.693329-1-jernej.skrabec@gmail.com
Diffstat (limited to 'arch/arm64/boot/dts/allwinner')
-rw-r--r-- | arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts index 6c10ff7f4b1c..7c37aa4c60cb 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6-tanix-tx6.dts @@ -32,6 +32,14 @@ }; }; + /* used for FD650 LED display driver */ + i2c { + compatible = "i2c-gpio"; + sda-gpios = <&pio 7 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH6 */ + scl-gpios = <&pio 7 5 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; /* PH5 */ + i2c-gpio,delay-us = <5>; + }; + reg_vcc1v8: regulator-vcc1v8 { compatible = "regulator-fixed"; regulator-name = "vcc1v8"; |