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-led-deprecated.dtsi"
10 #include "bcm283x-rpi-usb-otg.dtsi"
11 #include "bcm283x-rpi-wifi-bt.dtsi"
14 compatible = "raspberrypi,model-zero-2-w", "brcm,bcm2837";
15 model = "Raspberry Pi Zero 2 W";
18 device_type = "memory";
23 /* 8250 auxiliary UART instead of pl011 */
24 stdout-path = "serial1:115200n8";
29 shutdown-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
34 * This is based on the official GPU firmware DT blob.
37 * "NC" = not connected (no rail from the SoC)
38 * "FOO" = GPIO line named "FOO" on the schematic
39 * "FOO_N" = GPIO line named "FOO" on schematic, active low
41 gpio-line-names = "ID_SDA",
82 "CAM_GPIO0", /* GPIO40 */
85 "WIFI_CLK", /* GPIO43 */
98 pinctrl-names = "default";
99 pinctrl-0 = <&gpioout &alt0>;
103 hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
104 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
109 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
113 pinctrl-names = "default";
114 pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>;
118 pinctrl-names = "default";
119 pinctrl-0 = <&sdhost_gpio48>;
125 pinctrl-names = "default";
126 pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>;
130 pinctrl-names = "default";
131 pinctrl-0 = <&uart1_gpio14>;
136 reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;