xref: /freebsd-src/sys/contrib/device-tree/src/arm/broadcom/bcm2711-rpi-400.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2f126890aSEmmanuel Vadot/dts-v1/;
3f126890aSEmmanuel Vadot#include "bcm2711-rpi-4-b.dts"
4f126890aSEmmanuel Vadot
5f126890aSEmmanuel Vadot/ {
6f126890aSEmmanuel Vadot	compatible = "raspberrypi,400", "brcm,bcm2711";
7f126890aSEmmanuel Vadot	model = "Raspberry Pi 400";
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot	chosen {
10f126890aSEmmanuel Vadot		/* 8250 auxiliary UART instead of pl011 */
11f126890aSEmmanuel Vadot		stdout-path = "serial1:115200n8";
12f126890aSEmmanuel Vadot	};
13f126890aSEmmanuel Vadot
14f126890aSEmmanuel Vadot	gpio-poweroff {
15f126890aSEmmanuel Vadot		compatible = "gpio-poweroff";
16f126890aSEmmanuel Vadot		gpios = <&expgpio 5 GPIO_ACTIVE_HIGH>;
17f126890aSEmmanuel Vadot	};
18f126890aSEmmanuel Vadot};
19f126890aSEmmanuel Vadot
20f126890aSEmmanuel Vadot&expgpio {
21f126890aSEmmanuel Vadot	gpio-line-names = "BT_ON",
22f126890aSEmmanuel Vadot			  "WL_ON",
23f126890aSEmmanuel Vadot			  "PWR_LED_OFF",
24f126890aSEmmanuel Vadot			  "GLOBAL_RESET",
25f126890aSEmmanuel Vadot			  "VDD_SD_IO_SEL",
26f126890aSEmmanuel Vadot			  "GLOBAL_SHUTDOWN",
27f126890aSEmmanuel Vadot			  "SD_PWR_ON",
28f126890aSEmmanuel Vadot			  "SHUTDOWN_REQUEST";
29f126890aSEmmanuel Vadot};
30f126890aSEmmanuel Vadot
31f126890aSEmmanuel Vadot&genet_mdio {
32f126890aSEmmanuel Vadot	clock-frequency = <1950000>;
33*7d0873ebSEmmanuel Vadot	/delete-node/ leds;
34f126890aSEmmanuel Vadot};
35f126890aSEmmanuel Vadot
36f126890aSEmmanuel Vadot&led_pwr {
37f126890aSEmmanuel Vadot	gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
38f126890aSEmmanuel Vadot};
39f126890aSEmmanuel Vadot
4084943d6fSEmmanuel Vadot/delete-node/ &led_act;
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot&pm {
43f126890aSEmmanuel Vadot	/delete-property/ system-power-controller;
44f126890aSEmmanuel Vadot};
45