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 * "FOO" = GPIO line named "FOO" on the schematic
43 * "FOO_N" = GPIO line named "FOO" on schematic, active low
45 gpio-line-names = "ID_SDA",
76 /* Used by BT module */
88 "CAM_GPIO1", /* GPIO40 */
91 "WIFI_CLK", /* GPIO43 */
92 "CAM_GPIO0", /* GPIO44 */
104 pinctrl-0 = <&gpioout &alt0>;
108 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
109 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
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>;