mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-25 19:42:19 +00:00
The firmware has support for updating overrides with the correct GPIO settings for the camera GPIOs, but the wrong device tree setup ended up being merged. Correct the DT configuration so that the firmware does set it up correctly. Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.org>
167 lines
3.3 KiB
Plaintext
167 lines
3.3 KiB
Plaintext
/* Downstream bcm283x.dtsi diff */
|
|
#include <dt-bindings/power/raspberrypi-power.h>
|
|
|
|
/ {
|
|
chosen {
|
|
bootargs = "";
|
|
/delete-property/ stdout-path;
|
|
};
|
|
|
|
soc: soc {
|
|
|
|
watchdog: watchdog@7e100000 {
|
|
/* Add alias */
|
|
};
|
|
|
|
random: rng@7e104000 {
|
|
/* Add alias */
|
|
};
|
|
|
|
gpio@7e200000 { /* gpio */
|
|
interrupts = <2 17>, <2 18>;
|
|
|
|
dpi_18bit_gpio0: dpi_18bit_gpio0 {
|
|
brcm,pins = <0 1 2 3 4 5 6 7 8 9 10 11
|
|
12 13 14 15 16 17 18 19
|
|
20 21>;
|
|
brcm,function = <BCM2835_FSEL_ALT2>;
|
|
};
|
|
};
|
|
|
|
serial@7e201000 { /* uart0 */
|
|
/* Enable CTS bug workaround */
|
|
cts-event-workaround;
|
|
};
|
|
|
|
i2s@7e203000 { /* i2s */
|
|
#sound-dai-cells = <0>;
|
|
reg = <0x7e203000 0x24>;
|
|
clocks = <&clocks BCM2835_CLOCK_PCM>;
|
|
};
|
|
|
|
spi0: spi@7e204000 {
|
|
/* Add alias */
|
|
dmas = <&dma 6>, <&dma 7>;
|
|
dma-names = "tx", "rx";
|
|
};
|
|
|
|
pixelvalve0: pixelvalve@7e206000 {
|
|
/* Add alias */
|
|
status = "disabled";
|
|
};
|
|
|
|
pixelvalve1: pixelvalve@7e207000 {
|
|
/* Add alias */
|
|
status = "disabled";
|
|
};
|
|
|
|
dpi: dpi@7e208000 {
|
|
compatible = "brcm,bcm2835-dpi";
|
|
reg = <0x7e208000 0x8c>;
|
|
clocks = <&clocks BCM2835_CLOCK_VPU>,
|
|
<&clocks BCM2835_CLOCK_DPI>;
|
|
clock-names = "core", "pixel";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
/delete-node/ sdhci@7e300000;
|
|
|
|
mmc: mmc@7e300000 {
|
|
compatible = "brcm,bcm2835-mmc", "brcm,bcm2835-sdhci";
|
|
reg = <0x7e300000 0x100>;
|
|
interrupts = <2 30>;
|
|
clocks = <&clocks BCM2835_CLOCK_EMMC>;
|
|
dmas = <&dma 11>;
|
|
dma-names = "rx-tx";
|
|
brcm,overclock-50 = <0>;
|
|
status = "disabled";
|
|
};
|
|
|
|
hvs: hvs@7e400000 {
|
|
/* Add alias */
|
|
status = "disabled";
|
|
};
|
|
|
|
firmwarekms: firmwarekms@7e600000 {
|
|
compatible = "raspberrypi,rpi-firmware-kms";
|
|
/* SMI interrupt reg */
|
|
reg = <0x7e600000 0x100>;
|
|
interrupts = <2 16>;
|
|
brcm,firmware = <&firmware>;
|
|
status = "disabled";
|
|
};
|
|
|
|
smi: smi@7e600000 {
|
|
compatible = "brcm,bcm2835-smi";
|
|
reg = <0x7e600000 0x100>;
|
|
interrupts = <2 16>;
|
|
clocks = <&clocks BCM2835_CLOCK_SMI>;
|
|
assigned-clocks = <&clocks BCM2835_CLOCK_SMI>;
|
|
assigned-clock-rates = <125000000>;
|
|
dmas = <&dma 4>;
|
|
dma-names = "rx-tx";
|
|
status = "disabled";
|
|
};
|
|
|
|
pixelvalve2: pixelvalve@7e807000 {
|
|
/* Add alias */
|
|
status = "disabled";
|
|
};
|
|
|
|
hdmi@7e902000 { /* hdmi */
|
|
status = "disabled";
|
|
};
|
|
|
|
usb@7e980000 { /* usb */
|
|
compatible = "brcm,bcm2708-usb";
|
|
reg = <0x7e980000 0x10000>,
|
|
<0x7e006000 0x1000>;
|
|
interrupts = <2 0>,
|
|
<1 9>;
|
|
};
|
|
|
|
v3d@7ec00000 { /* vd3 */
|
|
compatible = "brcm,vc4-v3d";
|
|
power-domains = <&power RPI_POWER_DOMAIN_V3D>;
|
|
status = "disabled";
|
|
};
|
|
|
|
axiperf: axiperf {
|
|
compatible = "brcm,bcm2835-axiperf";
|
|
reg = <0x7e009800 0x100>,
|
|
<0x7ee08000 0x100>;
|
|
firmware = <&firmware>;
|
|
status = "disabled";
|
|
};
|
|
};
|
|
|
|
vdd_5v0_reg: fixedregulator_5v0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "5v0";
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
vdd_3v3_reg: fixedregulator_3v3 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "3v3";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
regulator-always-on;
|
|
};
|
|
|
|
__overrides__ {
|
|
cam0-pwdn-ctrl;
|
|
cam0-pwdn;
|
|
cam0-led-ctrl;
|
|
cam0-led;
|
|
};
|
|
};
|
|
|
|
&vc4 {
|
|
status = "disabled";
|
|
};
|