blob: 60e359fafc5b4233eaf4486e8d934d7c8e28a605 [file] [log] [blame]
Stefan Wahrenc8336242016-08-21 15:10:03 +00001/*
2 * Copyright (C) 2016 Stefan Wahren <stefan.wahren@i2se.com>
3 *
4 * The code contained herein is licensed under the GNU General Public
5 * License. You may obtain a copy of the GNU General Public License
6 * Version 2 or later at the following locations:
7 *
8 * http://www.opensource.org/licenses/gpl-license.html
9 * http://www.gnu.org/copyleft/gpl.html
10 */
11
12/dts-v1/;
13#include "bcm2835.dtsi"
14#include "bcm2835-rpi.dtsi"
15#include "bcm283x-rpi-usb-host.dtsi"
16
17/ {
18 compatible = "raspberrypi,model-zero", "brcm,bcm2835";
19 model = "Raspberry Pi Zero";
20
21 leds {
22 act {
23 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
24 };
25 };
26};
27
28&gpio {
29 pinctrl-0 = <&gpioout &alt0 &i2s_alt0 &alt3>;
30
31 /* I2S interface */
32 i2s_alt0: i2s_alt0 {
33 brcm,pins = <18 19 20 21>;
34 brcm,function = <BCM2835_FSEL_ALT0>;
35 };
36};
37
38&hdmi {
39 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
40};