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-host.dtsi"
18 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
19 model = "Raspberry Pi Zero W";
21 /* Needed by firmware to properly init UARTs */
23 uart0 = "/soc/serial@7e201000";
24 uart1 = "/soc/serial@7e215040";
25 serial0 = "/soc/serial@7e201000";
26 serial1 = "/soc/serial@7e215040";
31 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
35 wifi_pwrseq: wifi-pwrseq {
36 compatible = "mmc-pwrseq-simple";
37 pinctrl-names = "default";
39 reset-gpios = <&gpio 41 GPIO_ACTIVE_LOW>;
45 * This is based on the official GPU firmware DT blob.
48 * "NC" = not connected (no rail from the SoC)
49 * "FOO" = GPIO line named "FOO" on the schematic
50 * "FOO_N" = GPIO line named "FOO" on schematic, active low
52 gpio-line-names = "GPIO0",
93 "CAM_GPIO1", /* GPIO40 */
96 "WIFI_CLK", /* GPIO43 */
97 "CAM_GPIO0", /* GPIO44 */
101 /* Used by SD Card */
109 pinctrl-0 = <&gpioout &alt0>;
113 brcm,function = <BCM2835_FSEL_GPIO_OUT>;
118 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
122 #address-cells = <1>;
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_gpio14>;