Skip to content

Commit 68ef9b1

Browse files
pelwellpopcornmix
authored andcommitted
ARM: dts: bcm2711: Tidy the HDMI I2C aliases
The bcm2711 vc3-kms-v3d overlay enables the I2C instances used for EDID data. Give these distinct I2C interface numbers (20 & 21) to clearly separate them from other regular I2C blocks (1, 3-6) and the mux on I2C0 (10+). The 2711 DTS tree no longer includes i2c2, so the explicit deletion can be removed. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent a2a29bc commit 68ef9b1

3 files changed

Lines changed: 6 additions & 24 deletions

File tree

‎arch/arm/boot/dts/bcm2711-rpi-4-b.dts‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,11 +351,12 @@
351351
mmc0 = &emmc2;
352352
mmc1 = &mmcnr;
353353
mmc2 = &sdhost;
354-
/delete-property/ i2c2;
355354
i2c3 = &i2c3;
356355
i2c4 = &i2c4;
357356
i2c5 = &i2c5;
358357
i2c6 = &i2c6;
358+
i2c20 = &ddc0;
359+
i2c21 = &ddc1;
359360
spi3 = &spi3;
360361
spi4 = &spi4;
361362
spi5 = &spi5;
@@ -561,13 +562,6 @@
561562
pinctrl-0 = <&i2s_pins>;
562563
};
563564

564-
/ {
565-
__overrides__ {
566-
/delete-property/ i2c2_baudrate;
567-
/delete-property/ i2c2_iknowwhatimdoing;
568-
};
569-
};
570-
571565
// =============================================
572566
// Board specific stuff here
573567

‎arch/arm/boot/dts/bcm2711-rpi-400.dts‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,12 @@
348348
mmc0 = &emmc2;
349349
mmc1 = &mmcnr;
350350
mmc2 = &sdhost;
351-
/delete-property/ i2c2;
352351
i2c3 = &i2c3;
353352
i2c4 = &i2c4;
354353
i2c5 = &i2c5;
355354
i2c6 = &i2c6;
355+
i2c20 = &ddc0;
356+
i2c21 = &ddc1;
356357
spi3 = &spi3;
357358
spi4 = &spi4;
358359
spi5 = &spi5;
@@ -558,13 +559,6 @@
558559
pinctrl-0 = <&i2s_pins>;
559560
};
560561

561-
/ {
562-
__overrides__ {
563-
/delete-property/ i2c2_baudrate;
564-
/delete-property/ i2c2_iknowwhatimdoing;
565-
};
566-
};
567-
568562
// =============================================
569563
// Board specific stuff here
570564

‎arch/arm/boot/dts/bcm2711-rpi-cm4.dts‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -363,11 +363,12 @@
363363
mmc0 = &emmc2;
364364
mmc1 = &mmcnr;
365365
mmc2 = &sdhost;
366-
/delete-property/ i2c2;
367366
i2c3 = &i2c3;
368367
i2c4 = &i2c4;
369368
i2c5 = &i2c5;
370369
i2c6 = &i2c6;
370+
i2c20 = &ddc0;
371+
i2c21 = &ddc1;
371372
spi3 = &spi3;
372373
spi4 = &spi4;
373374
spi5 = &spi5;
@@ -573,13 +574,6 @@
573574
pinctrl-0 = <&i2s_pins>;
574575
};
575576

576-
/ {
577-
__overrides__ {
578-
/delete-property/ i2c2_baudrate;
579-
/delete-property/ i2c2_iknowwhatimdoing;
580-
};
581-
};
582-
583577
// =============================================
584578
// Board specific stuff here
585579

0 commit comments

Comments
 (0)