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

ARM: dts: Add Raspberry Pi 400 support

The Raspberry Pi 400 is like a Pi 4 B designed into a keyboard. But there
are some minor differences:

- higher CPU clock rate (1.8 GHz)
- different Wifi chip (BCM43456)
- power off is now handled via GPIO
- no ACT LED

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Link: https://lore.kernel.org/r/1622981777-5023-7-git-send-email-stefan.wahren@i2se.com
Signed-off-by: Nicolas Saenz Julienne <nsaenz@kernel.org>

authored by

Stefan Wahren and committed by
Nicolas Saenz Julienne
1c701acc 5f30dacf

+46
+1
arch/arm/boot/dts/Makefile
··· 88 88 bcm2837-rpi-3-b.dtb \ 89 89 bcm2837-rpi-3-b-plus.dtb \ 90 90 bcm2837-rpi-cm3-io3.dtb \ 91 + bcm2711-rpi-400.dtb \ 91 92 bcm2711-rpi-4-b.dtb \ 92 93 bcm2835-rpi-zero.dtb \ 93 94 bcm2835-rpi-zero-w.dtb
+45
arch/arm/boot/dts/bcm2711-rpi-400.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /dts-v1/; 3 + #include "bcm2711-rpi-4-b.dts" 4 + 5 + / { 6 + compatible = "raspberrypi,400", "brcm,bcm2711"; 7 + model = "Raspberry Pi 400"; 8 + 9 + chosen { 10 + /* 8250 auxiliary UART instead of pl011 */ 11 + stdout-path = "serial1:115200n8"; 12 + }; 13 + 14 + leds { 15 + /delete-node/ led-act; 16 + 17 + led-pwr { 18 + gpios = <&gpio 42 GPIO_ACTIVE_HIGH>; 19 + }; 20 + }; 21 + 22 + gpio-poweroff { 23 + compatible = "gpio-poweroff"; 24 + gpios = <&expgpio 5 GPIO_ACTIVE_HIGH>; 25 + }; 26 + }; 27 + 28 + &expgpio { 29 + gpio-line-names = "BT_ON", 30 + "WL_ON", 31 + "", 32 + "GLOBAL_RESET", 33 + "VDD_SD_IO_SEL", 34 + "CAM_GPIO", 35 + "SD_PWR_ON", 36 + "SD_OC_N"; 37 + }; 38 + 39 + &genet_mdio { 40 + clock-frequency = <1950000>; 41 + }; 42 + 43 + &pm { 44 + /delete-property/ system-power-controller; 45 + };