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 "bcm2835-rpi-common.dtsi"
10 #include "bcm283x-rpi-led-deprecated.dtsi"
11 #include "bcm283x-rpi-usb-otg.dtsi"
12 #include "bcm283x-rpi-wifi-bt.dtsi"
15 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
16 model = "Raspberry Pi Zero W";
19 device_type = "memory";
24 /* 8250 auxiliary UART instead of pl011 */
25 stdout-path = "serial1:115200n8";
30 shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
35 * This is based on the official GPU firmware DT blob.
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",
72 /* Used by BT module */
84 "CAM_GPIO1", /* GPIO40 */
87 "WIFI_CLK", /* GPIO43 */
88 "CAM_GPIO0", /* GPIO44 */
100 pinctrl-0 = <&gpioout &alt0>;
104 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
105 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
110 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
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>;