Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: bcm2835: Add Unicam CSI nodes

Add both MIPI CSI-2 nodes in the bcm283x tree and take care of the
Raspberry Pi / BCM2711 specific in the related files.

Signed-off-by: Jean-Michel Hautbois <jeanmichel.hautbois@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/20240424153542.32503-6-laurent.pinchart@ideasonboard.com
Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>

authored by

Jean-Michel Hautbois and committed by
Florian Fainelli
7b4e7a4f dd5c56cd

+46
+8
arch/arm/boot/dts/broadcom/bcm2711.dtsi
··· 1114 1114 #address-cells = <2>; 1115 1115 }; 1116 1116 1117 + &csi0 { 1118 + interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 1119 + }; 1120 + 1121 + &csi1 { 1122 + interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 1123 + }; 1124 + 1117 1125 &cma { 1118 1126 /* 1119 1127 * arm64 reserves the CMA by default somewhere in ZONE_DMA32,
+14
arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi
··· 26 26 }; 27 27 }; 28 28 29 + &csi0 { 30 + clocks = <&clocks BCM2835_CLOCK_CAM0>, 31 + <&firmware_clocks 4>; 32 + clock-names = "lp", "vpu"; 33 + power-domains = <&power RPI_POWER_DOMAIN_UNICAM0>; 34 + }; 35 + 36 + &csi1 { 37 + clocks = <&clocks BCM2835_CLOCK_CAM1>, 38 + <&firmware_clocks 4>; 39 + clock-names = "lp", "vpu"; 40 + power-domains = <&power RPI_POWER_DOMAIN_UNICAM1>; 41 + }; 42 + 29 43 &gpio { 30 44 gpioout: gpioout { 31 45 brcm,pins = <6>;
+24
arch/arm/boot/dts/broadcom/bcm283x.dtsi
··· 454 454 status = "disabled"; 455 455 }; 456 456 457 + csi0: csi@7e800000 { 458 + compatible = "brcm,bcm2835-unicam"; 459 + reg = <0x7e800000 0x800>, 460 + <0x7e802000 0x4>; 461 + reg-names = "unicam", "cmi"; 462 + interrupts = <2 6>; 463 + brcm,num-data-lanes = <2>; 464 + status = "disabled"; 465 + port { 466 + }; 467 + }; 468 + 469 + csi1: csi@7e801000 { 470 + compatible = "brcm,bcm2835-unicam"; 471 + reg = <0x7e801000 0x800>, 472 + <0x7e802004 0x4>; 473 + reg-names = "unicam", "cmi"; 474 + interrupts = <2 7>; 475 + brcm,num-data-lanes = <4>; 476 + status = "disabled"; 477 + port { 478 + }; 479 + }; 480 + 457 481 i2c1: i2c@7e804000 { 458 482 compatible = "brcm,bcm2835-i2c"; 459 483 reg = <0x7e804000 0x1000>;