3 #include "bcm2708.dtsi"
4 #include "bcm2708-rpi.dtsi"
5 #include "bcm283x-rpi-csi1-2lane.dtsi"
6 #include "bcm283x-rpi-i2c0mux_0_28.dtsi"
7 #include "bcm2708-rpi-bt.dtsi"
10 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
11 model = "Raspberry Pi Zero W";
14 bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1";
26 * This is based on the official GPU firmware DT blob.
29 * "NC" = not connected (no rail from the SoC)
30 * "FOO" = GPIO line named "FOO" on the schematic
31 * "FOO_N" = GPIO line named "FOO" on schematic, active low
33 gpio-line-names = "ID_SDA",
64 /* Used by BT module */
76 "CAM_GPIO1", /* GPIO40 */
79 "WIFI_CLK", /* GPIO43 */
80 "CAM_GPIO0", /* GPIO44 */
92 spi0_pins: spi0_pins {
93 brcm,pins = <9 10 11>;
94 brcm,function = <4>; /* alt0 */
97 spi0_cs_pins: spi0_cs_pins {
99 brcm,function = <1>; /* output */
113 brcm,pins = <18 19 20 21>;
114 brcm,function = <4>; /* alt0 */
117 sdio_pins: sdio_pins {
118 brcm,pins = <34 35 36 37 38 39>;
119 brcm,function = <7>; /* ALT3 = SD1 */
120 brcm,pull = <0 2 2 2 2 2>;
125 brcm,function = <4>; /* alt0:GPCLK2 */
126 brcm,pull = <0>; /* none */
129 uart0_pins: uart0_pins {
130 brcm,pins = <30 31 32 33>;
131 brcm,function = <7>; /* alt3=UART0 */
132 brcm,pull = <2 0 0 2>; /* up none none up */
135 uart1_pins: uart1_pins {
141 audio_pins: audio_pins {
148 pinctrl-names = "default";
149 pinctrl-0 = <&sdio_pins>;
152 #address-cells = <1>;
157 compatible = "brcm,bcm4329-fmac";
162 pinctrl-names = "default";
163 pinctrl-0 = <&uart0_pins &bt_pins>;
168 pinctrl-names = "default";
169 pinctrl-0 = <&uart1_pins>;
174 pinctrl-names = "default";
175 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
176 cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
179 compatible = "spidev";
181 #address-cells = <1>;
183 spi-max-frequency = <125000000>;
187 compatible = "spidev";
189 #address-cells = <1>;
191 spi-max-frequency = <125000000>;
196 clock-frequency = <100000>;
200 pinctrl-names = "default";
201 pinctrl-0 = <&i2c1_pins>;
202 clock-frequency = <100000>;
206 clock-frequency = <100000>;
210 pinctrl-names = "default";
211 pinctrl-0 = <&i2s_pins>;
217 linux,default-trigger = "actpwr";
218 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
223 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&audio_pins>;
229 brcm,disable-headphones = <1>;
233 gpio = <&gpio 44 GPIO_ACTIVE_HIGH>;
236 cam0_reg: &cam_dummy_reg {
241 act_led_gpio = <&act_led>,"gpios:4";
242 act_led_activelow = <&act_led>,"gpios:8";
243 act_led_trigger = <&act_led>,"linux,default-trigger";