3 #include "bcm2710.dtsi"
4 #include "bcm2709-rpi.dtsi"
5 #include "bcm283x-rpi-lan7515.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-plus", "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_3bplus_1p0_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 {
145 brcm,pins = <32 33 30 31>;
146 brcm,function = <BCM2835_FSEL_ALT5>; /* alt5=UART1 */
147 brcm,pull = <0 2 2 0>;
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 = "raspberrypi,firmware-gpio";
176 gpio-line-names = "BT_ON",
189 pinctrl-names = "default";
190 pinctrl-0 = <&uart0_pins &bt_pins>;
195 pinctrl-names = "default";
196 pinctrl-0 = <&uart1_pins>;
201 pinctrl-names = "default";
202 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
203 cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
206 compatible = "spidev";
208 #address-cells = <1>;
210 spi-max-frequency = <125000000>;
214 compatible = "spidev";
216 #address-cells = <1>;
218 spi-max-frequency = <125000000>;
223 clock-frequency = <100000>;
227 pinctrl-names = "default";
228 pinctrl-0 = <&i2c1_pins>;
229 clock-frequency = <100000>;
233 clock-frequency = <100000>;
237 pinctrl-names = "default";
238 pinctrl-0 = <&i2s_pins>;
242 gpios = <&gpio 29 GPIO_ACTIVE_HIGH>;
243 default-state = "off";
244 linux,default-trigger = "mmc0";
250 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
251 default-state = "off";
252 linux,default-trigger = "default-on";
257 hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
261 pinctrl-names = "default";
262 pinctrl-0 = <&audio_pins>;
266 microchip,eee-enabled;
267 microchip,tx-lpi-timer = <600>; /* non-aggressive*/
268 microchip,downshift-after = <2>;
272 gpio = <&expgpio 5 GPIO_ACTIVE_HIGH>;
275 cam0_reg: &cam_dummy_reg {
280 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'}";
282 act_led_gpio = <&led_act>,"gpios:4";
283 act_led_activelow = <&led_act>,"gpios:8";
284 act_led_trigger = <&led_act>,"linux,default-trigger";
286 pwr_led_gpio = <&led_pwr>,"gpios:4";
287 pwr_led_activelow = <&led_pwr>,"gpios:8";
288 pwr_led_trigger = <&led_pwr>,"linux,default-trigger";
290 eee = <ð_phy>,"microchip,eee-enabled?";
291 tx_lpi_timer = <ð_phy>,"microchip,tx-lpi-timer:0";
292 eth_led0 = <ð_phy>,"microchip,led-modes:0";
293 eth_led1 = <ð_phy>,"microchip,led-modes:4";
294 eth_downshift_after = <ð_phy>,"microchip,downshift-after:0";
295 eth_max_speed = <ð_phy>,"max-speed:0";