1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2022 Stefan Wahren <stefan.wahren@i2se.com>
7 #include "bcm2837.dtsi"
8 #include "bcm2836-rpi.dtsi"
9 #include "bcm283x-rpi-usb-otg.dtsi"
10 #include "bcm283x-rpi-wifi-bt.dtsi"
13 compatible = "raspberrypi,model-zero-2-w", "brcm,bcm2837";
14 model = "Raspberry Pi Zero 2 W";
17 device_type = "memory";
22 /* 8250 auxiliary UART instead of pl011 */
23 stdout-path = "serial1:115200n8";
28 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
34 shutdown-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
39 * This is based on the official GPU firmware DT blob.
42 * "NC" = not connected (no rail from the SoC)
43 * "FOO" = GPIO line named "FOO" on the schematic
44 * "FOO_N" = GPIO line named "FOO" on schematic, active low
46 gpio-line-names = "ID_SDA",
87 "CAM_GPIO0", /* GPIO40 */
90 "WIFI_CLK", /* GPIO43 */
103 pinctrl-0 = <&gpioout &alt0>;
107 hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
108 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
113 pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&sdhost_gpio48>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>;
129 pinctrl-names = "default";
130 pinctrl-0 = <&uart1_gpio14>;
135 reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;