1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2017 Stefan Wahren <stefan.wahren@i2se.com>
7 #include "bcm2835.dtsi"
8 #include "bcm2835-rpi.dtsi"
9 #include "bcm283x-rpi-usb-otg.dtsi"
10 #include "bcm283x-rpi-wifi-bt.dtsi"
13 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
14 model = "Raspberry Pi Zero W";
17 device_type = "memory";
22 /* 8250 auxiliary UART instead of pl011 */
23 stdout-path = "serial1:115200n8";
28 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
34 shutdown-gpios = <&gpio 45 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",
77 /* Used by BT module */
89 "CAM_GPIO1", /* GPIO40 */
92 "WIFI_CLK", /* GPIO43 */
93 "CAM_GPIO0", /* GPIO44 */
105 pinctrl-0 = <&gpioout &alt0>;
109 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
110 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
115 pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&sdhost_gpio48>;
126 pinctrl-names = "default";
127 pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>;
131 pinctrl-names = "default";
132 pinctrl-0 = <&uart1_gpio14>;
137 reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;