summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi
diff options
context:
space:
mode:
authorStefan Wahren <wahrenst@gmx.net>2019-10-06 15:41:25 +0200
committerStefan Wahren <wahrenst@gmx.net>2019-10-10 19:14:13 +0200
commit7dbe8c62ceeb8898d2c12d95c0714306d1cfba25 (patch)
treecac11b128c01907595f5ace05ffe01967d04ba56 /arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi
parentdt-bindings: arm: bcm2835: Add Raspberry Pi 4 to DT schema (diff)
downloadlinux-7dbe8c62ceeb8898d2c12d95c0714306d1cfba25.tar.xz
linux-7dbe8c62ceeb8898d2c12d95c0714306d1cfba25.zip
ARM: dts: Add minimal Raspberry Pi 4 support
This adds minimal support for the new Raspberry Pi 4 without the fancy stuff like GENET, PCIe, xHCI, 40 bit DMA and V3D. The RPi 4 is available in 3 different variants (1, 2 and 4 GB RAM), so leave the memory size to zero and let the bootloader take care of it. The DWC2 is still usable as peripheral via the USB-C port. Other differences to the Raspberry Pi 3: - additional GIC 400 Interrupt controller - new thermal IP and HWRNG - additional MMC interface (emmc2) - additional UART, I2C, SPI and PWM interfaces - clock stretching bug in I2C IP has been fixed Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Acked-by: Eric Anholt <eric@anholt.net> Acked-by: Florian Fanelli <f.fainelli@gmail.com>
Diffstat (limited to 'arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi')
-rw-r--r--arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi b/arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi
new file mode 100644
index 000000000000..0ff0e9e25327
--- /dev/null
+++ b/arch/arm/boot/dts/bcm283x-rpi-usb-peripheral.dtsi
@@ -0,0 +1,7 @@
+// SPDX-License-Identifier: GPL-2.0
+&usb {
+ dr_mode = "peripheral";
+ g-rx-fifo-size = <256>;
+ g-np-tx-fifo-size = <32>;
+ g-tx-fifo-size = <256 256 512 512 512 768 768>;
+};