3 #include "bcm2710.dtsi"
4 #include "bcm2709-rpi.dtsi"
5 #include "bcm283x-rpi-smsc9514.dtsi"
6 #include "bcm283x-rpi-csi1-2lane.dtsi"
7 #include "bcm283x-rpi-i2c0mux_0_44.dtsi"
8 #include "bcm271x-rpi-bt.dtsi"
9 #include "bcm283x-rpi-led-deprecated.dtsi"
12 compatible = "raspberrypi,3-model-b", "brcm,bcm2837";
13 model = "Raspberry Pi 3 Model B";
16 bootargs = "coherent_pool=1M 8250.nr_uarts=1 snd_bcm2835.enable_headphones=0";
28 * Taken from rpi_SCH_3b_1p2_reduced.pdf and
29 * the official GPU firmware DT blob.
32 * "NC" = not connected (no rail from the SoC)
33 * "FOO" = GPIO line named "FOO" on the schematic
34 * "FOO_N" = GPIO line named "FOO" on schematic, active low
36 gpio-line-names = "ID_SDA",
67 /* Used by BT module */
95 spi0_pins: spi0_pins {
96 brcm,pins = <9 10 11>;
97 brcm,function = <4>; /* alt0 */
100 spi0_cs_pins: spi0_cs_pins {
102 brcm,function = <1>; /* output */
116 brcm,pins = <18 19 20 21>;
117 brcm,function = <4>; /* alt0 */
120 sdio_pins: sdio_pins {
121 brcm,pins = <34 35 36 37 38 39>;
122 brcm,function = <7>; // alt3 = SD1
123 brcm,pull = <0 2 2 2 2 2>;
128 brcm,function = <4>; /* alt0:GPCLK2 */
132 uart0_pins: uart0_pins {
134 brcm,function = <7>; /* alt3=UART0 */
138 uart1_pins: uart1_pins {
144 uart1_bt_pins: uart1_bt_pins {
146 brcm,function = <BCM2835_FSEL_ALT5>; /* alt5=UART1 */
150 audio_pins: audio_pins {
158 pinctrl-names = "default";
159 pinctrl-0 = <&sdio_pins>;
162 #address-cells = <1>;
167 compatible = "brcm,bcm4329-fmac";
173 compatible = "brcm,bcm2835-virtgpio";
176 firmware = <&firmware>;
184 compatible = "raspberrypi,firmware-gpio";
187 gpio-line-names = "BT_ON",
200 pinctrl-names = "default";
201 pinctrl-0 = <&uart0_pins &bt_pins>;
206 pinctrl-names = "default";
207 pinctrl-0 = <&uart1_pins>;
212 max-speed = <921600>;
216 pinctrl-names = "default";
217 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
218 cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
221 compatible = "spidev";
223 #address-cells = <1>;
225 spi-max-frequency = <125000000>;
229 compatible = "spidev";
231 #address-cells = <1>;
233 spi-max-frequency = <125000000>;
238 clock-frequency = <100000>;
242 pinctrl-names = "default";
243 pinctrl-0 = <&i2c1_pins>;
244 clock-frequency = <100000>;
248 clock-frequency = <100000>;
252 pinctrl-names = "default";
253 pinctrl-0 = <&i2s_pins>;
257 gpios = <&virtgpio 0 GPIO_ACTIVE_HIGH>;
258 default-state = "off";
259 linux,default-trigger = "mmc0";
265 gpios = <&expgpio 7 GPIO_ACTIVE_HIGH>;
266 default-state = "off";
267 linux,default-trigger = "input";
272 hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LOW>;
276 pinctrl-names = "default";
277 pinctrl-0 = <&audio_pins>;
281 gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>;
284 cam0_reg: &cam_dummy_reg {
289 audio = <&chosen>,"bootargs{on='snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1',off='snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_hdmi=0'}";
291 act_led_gpio = <&led_act>,"gpios:4";
292 act_led_activelow = <&led_act>,"gpios:8";
293 act_led_trigger = <&led_act>,"linux,default-trigger";
295 pwr_led_gpio = <&led_pwr>,"gpios:4";
296 pwr_led_activelow = <&led_pwr>,"gpios:8";
297 pwr_led_trigger = <&led_pwr>,"linux,default-trigger";