3 #include "bcm2710.dtsi"
4 #include "bcm2709-rpi.dtsi"
5 #include "bcm283x-rpi-csi1-2lane.dtsi"
6 #include "bcm283x-rpi-i2c0mux_0_44.dtsi"
7 #include "bcm2708-rpi-bt.dtsi"
10 compatible = "raspberrypi,model-zero-2-w", "brcm,bcm2837";
11 model = "Raspberry Pi Zero 2 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 */
82 "SMPS_SCL", /* GPIO46 */
83 "SMPS_SDA", /* GPIO47 */
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 */
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";
163 fw_base = "brcm/brcmfmac43436-sdio";
168 fw_base = "brcm/brcmfmac43436s-sdio";
175 pinctrl-names = "default";
176 pinctrl-0 = <&uart0_pins &bt_pins>;
181 pinctrl-names = "default";
182 pinctrl-0 = <&uart1_pins>;
187 pinctrl-names = "default";
188 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
189 cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
192 compatible = "spidev";
194 #address-cells = <1>;
196 spi-max-frequency = <125000000>;
200 compatible = "spidev";
202 #address-cells = <1>;
204 spi-max-frequency = <125000000>;
209 clock-frequency = <100000>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&i2c1_pins>;
215 clock-frequency = <100000>;
219 clock-frequency = <100000>;
223 pinctrl-names = "default";
224 pinctrl-0 = <&i2s_pins>;
230 linux,default-trigger = "actpwr";
231 gpios = <&gpio 29 GPIO_ACTIVE_LOW>;
236 hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
240 pinctrl-names = "default";
241 pinctrl-0 = <&audio_pins>;
242 brcm,disable-headphones = <1>;
246 shutdown-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
250 shutdown-gpios = <&gpio 42 GPIO_ACTIVE_HIGH>;
254 gpio = <&gpio 40 GPIO_ACTIVE_HIGH>;
257 cam0_reg: &cam_dummy_reg {
262 act_led_gpio = <&act_led>,"gpios:4";
263 act_led_activelow = <&act_led>,"gpios:8";
264 act_led_trigger = <&act_led>,"linux,default-trigger";