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"
8 #include "bcm283x-rpi-led-deprecated.dtsi"
11 compatible = "raspberrypi,model-zero-w", "brcm,bcm2835";
12 model = "Raspberry Pi Zero W";
15 bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0";
27 * This is based on the official GPU firmware DT blob.
30 * "NC" = not connected (no rail from the SoC)
31 * "FOO" = GPIO line named "FOO" on the schematic
32 * "FOO_N" = GPIO line named "FOO" on schematic, active low
34 gpio-line-names = "ID_SDA",
65 /* Used by BT module */
77 "CAM_GPIO1", /* GPIO40 */
80 "WIFI_CLK", /* GPIO43 */
81 "CAM_GPIO0", /* GPIO44 */
93 spi0_pins: spi0_pins {
94 brcm,pins = <9 10 11>;
95 brcm,function = <4>; /* alt0 */
98 spi0_cs_pins: spi0_cs_pins {
100 brcm,function = <1>; /* output */
114 brcm,pins = <18 19 20 21>;
115 brcm,function = <4>; /* alt0 */
118 sdio_pins: sdio_pins {
119 brcm,pins = <34 35 36 37 38 39>;
120 brcm,function = <7>; /* ALT3 = SD1 */
121 brcm,pull = <0 2 2 2 2 2>;
126 brcm,function = <4>; /* alt0:GPCLK2 */
127 brcm,pull = <0>; /* none */
130 uart0_pins: uart0_pins {
131 brcm,pins = <30 31 32 33>;
132 brcm,function = <7>; /* alt3=UART0 */
133 brcm,pull = <2 0 0 2>; /* up none none up */
136 uart1_pins: uart1_pins {
142 uart1_bt_pins: uart1_bt_pins {
143 brcm,pins = <32 33 30 31>;
144 brcm,function = <BCM2835_FSEL_ALT5>; /* alt5=UART1 */
145 brcm,pull = <0 2 2 0>;
148 audio_pins: audio_pins {
155 pinctrl-names = "default";
156 pinctrl-0 = <&sdio_pins>;
159 #address-cells = <1>;
164 compatible = "brcm,bcm4329-fmac";
169 pinctrl-names = "default";
170 pinctrl-0 = <&uart0_pins &bt_pins>;
175 pinctrl-names = "default";
176 pinctrl-0 = <&uart1_pins>;
181 pinctrl-names = "default";
182 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
183 cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
186 compatible = "spidev";
188 #address-cells = <1>;
190 spi-max-frequency = <125000000>;
194 compatible = "spidev";
196 #address-cells = <1>;
198 spi-max-frequency = <125000000>;
203 clock-frequency = <100000>;
207 pinctrl-names = "default";
208 pinctrl-0 = <&i2c1_pins>;
209 clock-frequency = <100000>;
213 clock-frequency = <100000>;
217 pinctrl-names = "default";
218 pinctrl-0 = <&i2s_pins>;
222 gpios = <&gpio 47 GPIO_ACTIVE_LOW>;
223 default-state = "off";
224 linux,default-trigger = "actpwr";
228 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
232 pinctrl-names = "default";
233 pinctrl-0 = <&audio_pins>;
237 gpio = <&gpio 44 GPIO_ACTIVE_HIGH>;
240 cam0_reg: &cam_dummy_reg {
245 i2c_csi_dsi0: &i2c0 {};
249 audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_hdmi=0'}";
251 act_led_gpio = <&led_act>,"gpios:4";
252 act_led_activelow = <&led_act>,"gpios:8";
253 act_led_trigger = <&led_act>,"linux,default-trigger";