diff options
author | Cem Tenruh <c.tenruh@phytec.de> | 2023-06-16 11:50:11 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2023-07-18 09:52:41 +0800 |
commit | cd3b83270a9b08cffd3bcca47b08783c8be778a3 (patch) | |
tree | b9235edd21a61fef9e827ad2311f3ce9386dd2fd /arch/arm64/boot/dts | |
parent | c933945fad116d062725b55c0de49867c431e1c0 (diff) | |
download | lwn-cd3b83270a9b08cffd3bcca47b08783c8be778a3.tar.gz lwn-cd3b83270a9b08cffd3bcca47b08783c8be778a3.zip |
arm64: dts: imx8mm-phyboard-polis: Add i2c4 sda-/scl-gpios
Add i2c4 sda-/scl-gpios with the corresponding pinmux entries.
Signed-off-by: Cem Tenruh <c.tenruh@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts')
-rw-r--r-- | arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts index e6cc87cfe7a1..14e3172843bc 100644 --- a/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts +++ b/arch/arm64/boot/dts/freescale/imx8mm-phyboard-polis-rdk.dts @@ -191,8 +191,11 @@ &i2c4 { clock-frequency = <400000>; - pinctrl-names = "default"; + pinctrl-names = "default", "gpio"; pinctrl-0 = <&pinctrl_i2c4>; + pinctrl-1 = <&pinctrl_i2c4_gpio>; + sda-gpios = <&gpio5 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; + scl-gpios = <&gpio5 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; }; /* PCIe */ @@ -376,6 +379,13 @@ >; }; + pinctrl_i2c4_gpio: i2c4gpiogrp { + fsl,pins = < + MX8MM_IOMUXC_I2C4_SCL_GPIO5_IO20 0x1e2 + MX8MM_IOMUXC_I2C4_SDA_GPIO5_IO21 0x1e2 + >; + }; + pinctrl_leds: leds1grp { fsl,pins = < MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x16 |