Lubomir Rintel | 7a1298e | 2016-01-25 21:40:06 +0100 | [diff] [blame] | 1 | /dts-v1/; |
| 2 | #include "bcm2835.dtsi" |
| 3 | #include "bcm2835-rpi.dtsi" |
Stefan Wahren | 00a33ec | 2016-08-21 15:10:00 +0000 | [diff] [blame] | 4 | #include "bcm283x-rpi-usb-host.dtsi" |
Lubomir Rintel | 7a1298e | 2016-01-25 21:40:06 +0100 | [diff] [blame] | 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 { |
Linus Walleij | 731b26a | 2016-10-06 13:15:02 +0200 | [diff] [blame] | 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", |
Stefan Wahren | 6b91708 | 2016-11-16 17:52:06 +0000 | [diff] [blame] | 32 | "CAM_GPIO1", |
Linus Walleij | 731b26a | 2016-10-06 13:15:02 +0200 | [diff] [blame] | 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 */ |
Stefan Wahren | 6b91708 | 2016-11-16 17:52:06 +0000 | [diff] [blame] | 55 | "CAM_GPIO0", |
Linus Walleij | 731b26a | 2016-10-06 13:15:02 +0200 | [diff] [blame] | 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 | |
Gerd Hoffmann | a6d962a | 2016-09-19 10:43:23 +0200 | [diff] [blame] | 85 | pinctrl-0 = <&gpioout &alt0 &i2s_alt2>; |
Lubomir Rintel | 7a1298e | 2016-01-25 21:40:06 +0100 | [diff] [blame] | 86 | |
| 87 | /* I2S interface */ |
| 88 | i2s_alt2: i2s_alt2 { |
| 89 | brcm,pins = <28 29 30 31>; |
| 90 | brcm,function = <BCM2835_FSEL_ALT2>; |
| 91 | }; |
| 92 | }; |
Eric Anholt | 49ac67e | 2015-03-02 14:36:16 -0800 | [diff] [blame] | 93 | |
| 94 | &hdmi { |
| 95 | hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; |
| 96 | }; |