2 * Copyright (C) 2017 Stefan Wahren <stefan.wahren@i2se.com>
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
13 #include "bcm2835.dtsi"
14 #include "bcm2835-rpi.dtsi"
15 #include "bcm283x-rpi-usb-otg.dtsi"
18 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
19 model = "Raspberry Pi Zero W";
22 /* 8250 auxiliary UART instead of pl011 */
23 stdout-path = "serial1:115200n8";
28 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
32 wifi_pwrseq: wifi-pwrseq {
33 compatible = "mmc-pwrseq-simple";
34 pinctrl-names = "default";
36 reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
42 * This is based on the official GPU firmware DT blob.
45 * "NC" = not connected (no rail from the SoC)
46 * "FOO" = GPIO line named "FOO" on the schematic
47 * "FOO_N" = GPIO line named "FOO" on schematic, active low
49 gpio-line-names = "GPIO0",
80 /* Used by BT module */
92 "CAM_GPIO1", /* GPIO40 */
95 "WIFI_CLK", /* GPIO43 */
96 "CAM_GPIO0", /* GPIO44 */
100 /* Used by SD Card */
108 pinctrl-0 = <&gpioout &alt0>;
112 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
117 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
121 #address-cells = <1>;
123 pinctrl-names = "default";
124 pinctrl-0 = <&emmc_gpio34 &gpclk2_gpio43>;
125 mmc-pwrseq = <&wifi_pwrseq>;
131 compatible = "brcm,bcm4329-fmac";
136 pinctrl-names = "default";
137 pinctrl-0 = <&uart0_gpio32 &uart0_ctsrts_gpio30>;
141 compatible = "brcm,bcm43438-bt";
142 max-speed = <2000000>;
143 shutdown-gpios = <&gpio 45 GPIO_ACTIVE_HIGH>;
148 pinctrl-names = "default";
149 pinctrl-0 = <&uart1_gpio14>;