4 /memreserve/ 0x08000000 0x02000000;
7 #include "bcm2710.dtsi"
8 #include "bcm2709-rpi.dtsi"
9 #include "bcm283x-rpi-lan7515.dtsi"
10 #include "bcm283x-rpi-csi1-2lane.dtsi"
11 #include <dt-bindings/input/input.h>
14 compatible = "raspberrypi,3-model-b-plus", "brcm,bcm2837";
15 model = "Raspberry Pi 3 Model B+";
18 bootargs = "coherent_pool=1M 8250.nr_uarts=1";
27 rpi_backlight: rpi_backlight {
28 compatible = "raspberrypi,rpi-backlight";
29 firmware = <&firmware>;
33 rpi_ft5406: rpi_ft5406 {
34 compatible = "rpi,rpi-ft5406";
35 firmware = <&firmware>;
40 compatible = "gpio-keys";
44 linux,code = <KEY_VOLUMEUP>;
45 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
49 lable = "volume-down";
50 linux,code = <KEY_VOLUMEDOWN>;
51 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
55 lable = "fastforward";
56 linux,code = <KEY_FASTFORWARD>;
57 gpios = <&gpio 6 GPIO_ACTIVE_LOW>;
62 linux,code = <KEY_REWIND>;
63 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
68 linux,code = <KEY_PLAYPAUSE>;
69 gpios = <&gpio 25 GPIO_ACTIVE_LOW>;
75 spi0_pins: spi0_pins {
76 brcm,pins = <9 10 11>;
77 brcm,function = <4>; /* alt0 */
80 spi0_cs_pins: spi0_cs_pins {
82 brcm,function = <1>; /* output */
96 brcm,pins = <18 19 20 21>;
97 brcm,function = <4>; /* alt0 */
100 sdio_pins: sdio_pins {
101 brcm,pins = <34 35 36 37 38 39>;
102 brcm,function = <7>; // alt3 = SD1
103 brcm,pull = <0 2 2 2 2 2>;
108 brcm,function = <4>; /* alt0:GPCLK2 */
112 uart0_pins: uart0_pins {
114 brcm,function = <7>; /* alt3=UART0 */
118 uart1_pins: uart1_pins {
124 audio_pins: audio_pins {
129 /* Needs to describe gpio settings at config.txt */
130 key_volume_up: key_volume_up {
132 brcm,function = <1>; /* BCM2835_FSEL_GPIO_IN */
133 brcm,pull = <2>; /* BCM2835_PUD_UP */
136 key_volume_down: key_volume_down {
142 key_fastforward: key_fastforward {
148 key_rewind: key_rewind {
154 key_playpause: key_playpause {
162 pinctrl-names = "default";
163 pinctrl-0 = <&sdio_pins>;
170 compatible = "raspberrypi,firmware-gpio";
178 pinctrl-names = "default";
179 pinctrl-0 = <&uart0_pins &bt_pins>;
184 pinctrl-names = "default";
185 pinctrl-0 = <&uart1_pins>;
190 pinctrl-names = "default";
191 pinctrl-0 = <&spi0_pins &spi0_cs_pins>;
192 cs-gpios = <&gpio 8 1>, <&gpio 7 1>;
196 compatible = "spidev";
198 #address-cells = <1>;
200 spi-max-frequency = <125000000>;
204 compatible = "spidev";
206 #address-cells = <1>;
208 spi-max-frequency = <125000000>;
213 pinctrl-names = "default";
214 pinctrl-0 = <&i2c0_pins>;
215 clock-frequency = <100000>;
219 pinctrl-names = "default";
220 pinctrl-0 = <&i2c1_pins>;
221 clock-frequency = <100000>;
224 #address-cells = <1>;
228 compatible = "x-power,ac108_0";
230 #sound-dai-cells = <0>;
236 clock-frequency = <100000>;
273 pinctrl-names = "default";
274 pinctrl-0 = <&i2s_pins>;
276 #sound-dai-cells = <0>;
283 linux,default-trigger = "mmc0";
284 gpios = <&gpio 29 0>;
289 linux,default-trigger = "default-on";
290 gpios = <&expgpio 2 GPIO_ACTIVE_LOW>;
295 hpd-gpios = <&gpio 28 GPIO_ACTIVE_LOW>;
299 pinctrl-names = "default";
300 pinctrl-0 = <&audio_pins>;
305 compatible = "seeed-voicecard";
306 seeed-voice-card,format = "dsp_a";
307 seeed-voice-card,name = "seeed-4mic-voicecard";
310 seeed-voice-card,bitclock-master = <&codec_dai>;
311 seeed-voice-card,frame-master = <&codec_dai>;
312 seeed-voice-card,channels-playback-override = <4>;
313 seeed-voice-card,channels-capture-override = <4>;
315 cpu_dai: seeed-voice-card,cpu {
317 dai-tdm-slot-num = <2>;
318 dai-tdm-slot-width = <32>;
319 dai-tdm-slot-tx-mask = <1 1 0 0>;
320 dai-tdm-slot-rx-mask = <1 1 0 0>;
322 codec_dai: seeed-voice-card,codec {
323 sound-dai = <&ac108_a>;
324 system-clock-frequency = <24000000>;
330 act_led_gpio = <&act_led>,"gpios:4";
331 act_led_activelow = <&act_led>,"gpios:8";
332 act_led_trigger = <&act_led>,"linux,default-trigger";
334 pwr_led_gpio = <&pwr_led>,"gpios:4";
335 pwr_led_activelow = <&pwr_led>,"gpios:8";
336 pwr_led_trigger = <&pwr_led>,"linux,default-trigger";
347 #address-cells = <1>;