4 /memreserve/ 0x08000000 0x02000000;
7 #include "bcm2710.dtsi"
8 #include "bcm2709-rpi.dtsi"
9 #include "bcm283x-rpi-smsc9514.dtsi"
10 #include "bcm283x-rpi-csi1-2lane.dtsi"
11 #include <dt-bindings/input/input.h>
14 compatible = "raspberrypi,3-model-b", "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 = "brcm,bcm2835-virtgpio";
173 firmware = <&firmware>;
181 compatible = "raspberrypi,firmware-gpio";
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>;
207 compatible = "spidev";
209 #address-cells = <1>;
211 spi-max-frequency = <125000000>;
215 compatible = "spidev";
217 #address-cells = <1>;
219 spi-max-frequency = <125000000>;
224 pinctrl-names = "default";
225 pinctrl-0 = <&i2c0_pins>;
226 clock-frequency = <100000>;
230 pinctrl-names = "default";
231 pinctrl-0 = <&i2c1_pins>;
232 clock-frequency = <100000>;
235 #address-cells = <1>;
239 compatible = "x-power,ac108_0";
241 #sound-dai-cells = <0>;
247 clock-frequency = <100000>;
284 pinctrl-names = "default";
285 pinctrl-0 = <&i2s_pins>;
287 #sound-dai-cells = <0>;
294 linux,default-trigger = "mmc0";
295 gpios = <&virtgpio 0 0>;
300 linux,default-trigger = "input";
301 gpios = <&expgpio 7 0>;
306 hpd-gpios = <&expgpio 4 GPIO_ACTIVE_LOW>;
310 pinctrl-names = "default";
311 pinctrl-0 = <&audio_pins>;
316 compatible = "seeed-voicecard";
317 seeed-voice-card,format = "dsp_a";
318 seeed-voice-card,name = "seeed-4mic-voicecard";
321 seeed-voice-card,bitclock-master = <&codec_dai>;
322 seeed-voice-card,frame-master = <&codec_dai>;
323 seeed-voice-card,channels-playback-override = <4>;
324 seeed-voice-card,channels-capture-override = <4>;
326 cpu_dai: seeed-voice-card,cpu {
328 dai-tdm-slot-num = <2>;
329 dai-tdm-slot-width = <32>;
330 dai-tdm-slot-tx-mask = <1 1 0 0>;
331 dai-tdm-slot-rx-mask = <1 1 0 0>;
333 codec_dai: seeed-voice-card,codec {
334 sound-dai = <&ac108_a>;
335 system-clock-frequency = <24000000>;
341 act_led_gpio = <&act_led>,"gpios:4";
342 act_led_activelow = <&act_led>,"gpios:8";
343 act_led_trigger = <&act_led>,"linux,default-trigger";
345 pwr_led_gpio = <&pwr_led>,"gpios:4";
346 pwr_led_activelow = <&pwr_led>,"gpios:8";
347 pwr_led_trigger = <&pwr_led>,"linux,default-trigger";
358 #address-cells = <1>;