Commit Graph

6 Commits

Author SHA1 Message Date
Phil Elwell
8e1110a580 ARM: dts: Enable USB by default on CM4S
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
2022-08-23 15:59:05 +01:00
Phil Elwell
c6a2e267b3 ARM: dts: Permanently disable hdmi1 and ddc1 on CM4S
CM4S has no HDMI1 output, so it is advisable to disable the controller
and its I2C interface in software. This is ordinarily done by setting
their status properties to "disabled", but the vc4-kms-v3d(-pi4)
overlay enables both HDMIs and DDCs as part of the transfer of control
from the VPU.

Knobble the CM4S dts in such a way that the overlay applies
successfully but the hdmi1 and ddc1 nodes remain disabled by changing
the compatible string to something unrecognised.

See: https://github.com/raspberrypi/linux/issues/4857

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
2022-02-03 12:13:07 +00:00
Nicolai Buchwitz
47f4b4a24c keep disabled node hdmi1 in devicetree
The second hdmi port on cm4s is disabled by default (default from
bcm2711-rpi.dtsi) and therefore it is not necessary to remove it in the
specific cm4s overlay (as done in 64328ab674)
2022-02-02 15:48:09 +00:00
Dave Stevenson
131f132203 dtoverlays: Add option to select camera as on CAM0 of CM
Parameterise the overlays so that they can have an optional
cam0 parameter to switch to i2c_vc and csi0.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
2021-12-15 14:06:55 +00:00
Dave Stevenson
85379336c1 ARM: dts: bcm2711-cm4s Correct i2c0mux to use 0/1 and 28/29 & 2 regulators
CM4S follows CM1/3, so based on the documentation cameras/displays
connect to 0/1 and 28/29, not 0/1 and 44/45.

Likewise the camera regulator controls are independent as on CM1/3.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
2021-12-15 14:06:55 +00:00
peterharperuk
64328ab674 ARM: dts: Create bcm2711-rpi-cm4s.dts (#4761)
Signed-off-by: Peter Harper <peter.harper@raspberrypi.com>
2021-12-13 14:00:35 +00:00