1 From 188bd7c0085ac5b3d966aa899c6be644907157ea Mon Sep 17 00:00:00 2001
2 From: Phil Elwell <phil@raspberrypi.org>
3 Date: Mon, 12 Aug 2019 15:48:39 +0100
4 Subject: [PATCH] ARM: dts: bcm2711-rpi-4-b: I2C aliases and pulls
6 The I2C interface nodes need aliases to give them fixed bus numbers,
7 and setting the pulls on the GPIOs (particularly 9-13) increases the
8 chances of the bus working with weak or absent external pulls.
10 See: https://www.raspberrypi.org/forums/posting.php?mode=reply&f=107&t=248439
12 Signed-off-by: Phil Elwell <phil@raspberrypi.org>
14 arch/arm/boot/dts/bcm2711-rpi-4-b.dts | 10 ++++++++++
15 1 file changed, 10 insertions(+)
17 --- a/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
18 +++ b/arch/arm/boot/dts/bcm2711-rpi-4-b.dts
27 /delete-property/ ethernet;
28 /delete-property/ intc;
33 brcm,function = <BCM2835_FSEL_ALT0>;
34 + brcm,pull = <BCM2835_PUD_UP>;
39 brcm,function = <BCM2835_FSEL_ALT0>;
40 + brcm,pull = <BCM2835_PUD_UP>;
45 brcm,function = <BCM2835_FSEL_ALT5>;
46 + brcm,pull = <BCM2835_PUD_UP>;
51 brcm,function = <BCM2835_FSEL_ALT5>;
52 + brcm,pull = <BCM2835_PUD_UP>;
57 brcm,function = <BCM2835_FSEL_ALT5>;
58 + brcm,pull = <BCM2835_PUD_UP>;
63 brcm,function = <BCM2835_FSEL_ALT5>;
64 + brcm,pull = <BCM2835_PUD_UP>;