mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
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>
This commit is contained in:
parent
dd5c56cd06
commit
7b4e7a4ff1
3 changed files with 46 additions and 0 deletions
|
@ -1114,6 +1114,14 @@
|
|||
#address-cells = <2>;
|
||||
};
|
||||
|
||||
&csi0 {
|
||||
interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
&csi1 {
|
||||
interrupts = <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>;
|
||||
};
|
||||
|
||||
&cma {
|
||||
/*
|
||||
* arm64 reserves the CMA by default somewhere in ZONE_DMA32,
|
||||
|
|
|
@ -26,6 +26,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
&csi0 {
|
||||
clocks = <&clocks BCM2835_CLOCK_CAM0>,
|
||||
<&firmware_clocks 4>;
|
||||
clock-names = "lp", "vpu";
|
||||
power-domains = <&power RPI_POWER_DOMAIN_UNICAM0>;
|
||||
};
|
||||
|
||||
&csi1 {
|
||||
clocks = <&clocks BCM2835_CLOCK_CAM1>,
|
||||
<&firmware_clocks 4>;
|
||||
clock-names = "lp", "vpu";
|
||||
power-domains = <&power RPI_POWER_DOMAIN_UNICAM1>;
|
||||
};
|
||||
|
||||
&gpio {
|
||||
gpioout: gpioout {
|
||||
brcm,pins = <6>;
|
||||
|
|
|
@ -454,6 +454,30 @@
|
|||
status = "disabled";
|
||||
};
|
||||
|
||||
csi0: csi@7e800000 {
|
||||
compatible = "brcm,bcm2835-unicam";
|
||||
reg = <0x7e800000 0x800>,
|
||||
<0x7e802000 0x4>;
|
||||
reg-names = "unicam", "cmi";
|
||||
interrupts = <2 6>;
|
||||
brcm,num-data-lanes = <2>;
|
||||
status = "disabled";
|
||||
port {
|
||||
};
|
||||
};
|
||||
|
||||
csi1: csi@7e801000 {
|
||||
compatible = "brcm,bcm2835-unicam";
|
||||
reg = <0x7e801000 0x800>,
|
||||
<0x7e802004 0x4>;
|
||||
reg-names = "unicam", "cmi";
|
||||
interrupts = <2 7>;
|
||||
brcm,num-data-lanes = <4>;
|
||||
status = "disabled";
|
||||
port {
|
||||
};
|
||||
};
|
||||
|
||||
i2c1: i2c@7e804000 {
|
||||
compatible = "brcm,bcm2835-i2c";
|
||||
reg = <0x7e804000 0x1000>;
|
||||
|
|
Loading…
Add table
Reference in a new issue