arm64: zynqmp: Add support for zcu102 1.0 rev
[oweals/u-boot.git] / arch / arm / dts / bcm2835-rpi-a.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", "brcm,bcm2835";
8         model = "Raspberry Pi Model A";
9
10         leds {
11                 act {
12                         gpios = <&gpio 16 1>;
13                 };
14         };
15 };
16
17 &gpio {
18         /*
19          * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf
20          * RPI00021 sheet 02
21          *
22          * Legend:
23          * "NC" = not connected (no rail from the SoC)
24          * "FOO" = GPIO line named "FOO" on the schematic
25          * "FOO_N" = GPIO line named "FOO" on schematic, active low
26          */
27         gpio-line-names = "SDA0",
28                           "SCL0",
29                           "SDA1",
30                           "SCL1",
31                           "GPIO_GCLK",
32                           "CAM_GPIO1",
33                           "LAN_RUN",
34                           "SPI_CE1_N",
35                           "SPI_CE0_N",
36                           "SPI_MISO",
37                           "SPI_MOSI",
38                           "SPI_SCLK",
39                           "NC", /* GPIO12 */
40                           "NC", /* GPIO13 */
41                           /* Serial port */
42                           "TXD0",
43                           "RXD0",
44                           "STATUS_LED_N",
45                           "GPIO17",
46                           "GPIO18",
47                           "NC", /* GPIO19 */
48                           "NC", /* GPIO20 */
49                           "GPIO21",
50                           "GPIO22",
51                           "GPIO23",
52                           "GPIO24",
53                           "GPIO25",
54                           "NC", /* GPIO26 */
55                           "CAM_GPIO0",
56                           /* Binary number representing build/revision */
57                           "CONFIG0",
58                           "CONFIG1",
59                           "CONFIG2",
60                           "CONFIG3",
61                           "NC", /* GPIO32 */
62                           "NC", /* GPIO33 */
63                           "NC", /* GPIO34 */
64                           "NC", /* GPIO35 */
65                           "NC", /* GPIO36 */
66                           "NC", /* GPIO37 */
67                           "NC", /* GPIO38 */
68                           "NC", /* GPIO39 */
69                           "PWM0_OUT",
70                           "NC", /* GPIO41 */
71                           "NC", /* GPIO42 */
72                           "NC", /* GPIO43 */
73                           "NC", /* GPIO44 */
74                           "PWM1_OUT",
75                           "HDMI_HPD_P",
76                           "SD_CARD_DET",
77                           /* Used by SD Card */
78                           "SD_CLK_R",
79                           "SD_CMD_R",
80                           "SD_DATA0_R",
81                           "SD_DATA1_R",
82                           "SD_DATA2_R",
83                           "SD_DATA3_R";
84
85         pinctrl-0 = <&gpioout &alt0 &i2s_alt2>;
86
87         /* I2S interface */
88         i2s_alt2: i2s_alt2 {
89                 brcm,pins = <28 29 30 31>;
90                 brcm,function = <BCM2835_FSEL_ALT2>;
91         };
92 };
93
94 &hdmi {
95         hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
96 };
97
98 &uart0 {
99         pinctrl-names = "default";
100         pinctrl-0 = <&uart0_gpio14>;
101         status = "okay";
102 };