Merge branch 'overlayfs-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mszer...
[sfrench/cifs-2.6.git] / arch / arm / boot / dts / bcm2835-rpi-a-plus.dts
1 /dts-v1/;
2 #include "bcm2835.dtsi"
3 #include "bcm2835-rpi.dtsi"
4 #include "bcm283x-rpi-usb-host.dtsi"
5
6 / {
7         compatible = "raspberrypi,model-a-plus", "brcm,bcm2835";
8         model = "Raspberry Pi Model A+";
9
10         leds {
11                 act {
12                         gpios = <&gpio 47 0>;
13                 };
14
15                 pwr {
16                         label = "PWR";
17                         gpios = <&gpio 35 0>;
18                         default-state = "keep";
19                         linux,default-trigger = "default-on";
20                 };
21         };
22 };
23
24 &gpio {
25         /*
26          * This is based on the unreleased schematic for the Model A+.
27          *
28          * Legend:
29          * "NC" = not connected (no rail from the SoC)
30          * "FOO" = GPIO line named "FOO" on the schematic
31          * "FOO_N" = GPIO line named "FOO" on schematic, active low
32          */
33         gpio-line-names = "SDA0",
34                           "SCL0",
35                           "SDA1",
36                           "SCL1",
37                           "GPIO_GCLK",
38                           "GPIO5",
39                           "GPIO6",
40                           "SPI_CE1_N",
41                           "SPI_CE0_N",
42                           "SPI_MISO",
43                           "SPI_MOSI",
44                           "SPI_SCLK",
45                           "GPIO12",
46                           "GPIO13",
47                           /* Serial port */
48                           "TXD0",
49                           "RXD0",
50                           "GPIO16",
51                           "GPIO17",
52                           "GPIO18",
53                           "GPIO19",
54                           "GPIO20",
55                           "GPIO21",
56                           "GPIO22",
57                           "GPIO23",
58                           "GPIO24",
59                           "GPIO25",
60                           "GPIO26",
61                           "GPIO27",
62                           "SDA0",
63                           "SCL0",
64                           "NC", /* GPIO30 */
65                           "NC", /* GPIO31 */
66                           "CAM_GPIO1", /* GPIO32 */
67                           "NC", /* GPIO33 */
68                           "NC", /* GPIO34 */
69                           "PWR_LOW_N", /* GPIO35 */
70                           "NC", /* GPIO36 */
71                           "NC", /* GPIO37 */
72                           "USB_LIMIT", /* GPIO38 */
73                           "NC", /* GPIO39 */
74                           "PWM0_OUT", /* GPIO40 */
75                           "CAM_GPIO0", /* GPIO41 */
76                           "NC", /* GPIO42 */
77                           "NC", /* GPIO43 */
78                           "NC", /* GPIO44 */
79                           "PWM1_OUT", /* GPIO45 */
80                           "HDMI_HPD_N",
81                           "STATUS_LED",
82                           /* Used by SD Card */
83                           "SD_CLK_R",
84                           "SD_CMD_R",
85                           "SD_DATA0_R",
86                           "SD_DATA1_R",
87                           "SD_DATA2_R",
88                           "SD_DATA3_R";
89
90         pinctrl-0 = <&gpioout &alt0 &i2s_alt0>;
91
92         /* I2S interface */
93         i2s_alt0: i2s_alt0 {
94                 brcm,pins = <18 19 20 21>;
95                 brcm,function = <BCM2835_FSEL_ALT0>;
96         };
97 };
98
99 &hdmi {
100         hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
101 };
102
103 &uart0 {
104         pinctrl-names = "default";
105         pinctrl-0 = <&uart0_gpio14>;
106         status = "okay";
107 };