]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: dts: allwinner: h616: Add r_i2c pinctrl nodes
authorChris Morgan <macromorgan@hotmail.com>
Wed, 10 Jul 2024 23:17:16 +0000 (18:17 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Wed, 9 Oct 2024 23:43:51 +0000 (00:43 +0100)
Add pinctrl nodes for the r_i2c node. Without the pinmux defined the
r_i2c bus may fail to work, possibly if the bootloader uses rsb mode
for the PMIC.

Fixes: 0d17c8651188 ("arm64: dts: allwinner: Add Allwinner H616 .dtsi file")
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
Fixes: 0d17c8651188 ("arm64: dts: allwinner: Add Allwinner H616 .dtsi file")
Link: https://lore.kernel.org/r/20240710231718.106894-3-macroalpha82@gmail.com
Signed-off-by: Chen-Yu Tsai <wens@csie.org>
[ upstream commit: 7c9ea4ab76176f65f4f55aa144f9145a4bccaacb ]

(cherry-picked from commit 1665557aa57c2140d014d68dfe1a1f92f9baac82)
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
dts/upstream/src/arm64/allwinner/sun50i-h616.dtsi

index b29ce7321317b647733cb3db108a4b935a5dda9a..e88c1fbac6acc8226b63701e6559caafae9b0901 100644 (file)
                        dmas = <&dma 48>, <&dma 48>;
                        dma-names = "rx", "tx";
                        resets = <&r_ccu RST_R_APB2_I2C>;
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&r_i2c_pins>;
                        status = "disabled";
                        #address-cells = <1>;
                        #size-cells = <0>;