Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 1 | /dts-v1/; |
Eric Anholt | 4b8c390 | 2015-12-16 15:55:12 -0800 | [diff] [blame] | 2 | #include "bcm2835.dtsi" |
Stefan Wahren | 1209111 | 2015-01-29 18:10:50 +0000 | [diff] [blame] | 3 | #include "bcm2835-rpi.dtsi" |
Lubomir Rintel | 6a93792 | 2016-05-02 09:06:51 +0200 | [diff] [blame] | 4 | #include "bcm283x-rpi-smsc9512.dtsi" |
Stefan Wahren | 00a33ec | 2016-08-21 15:10:00 +0000 | [diff] [blame] | 5 | #include "bcm283x-rpi-usb-host.dtsi" |
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 6 | |
| 7 | / { |
| 8 | compatible = "raspberrypi,model-b", "brcm,bcm2835"; |
| 9 | model = "Raspberry Pi Model B"; |
| 10 | |
Daniel Mack | 805b4db | 2013-04-28 22:49:52 +0200 | [diff] [blame] | 11 | leds { |
Daniel Mack | 805b4db | 2013-04-28 22:49:52 +0200 | [diff] [blame] | 12 | act { |
Daniel Mack | 805b4db | 2013-04-28 22:49:52 +0200 | [diff] [blame] | 13 | gpios = <&gpio 16 1>; |
Daniel Mack | 805b4db | 2013-04-28 22:49:52 +0200 | [diff] [blame] | 14 | }; |
| 15 | }; |
Simon Arlott | ec9653b | 2012-05-26 01:04:43 -0600 | [diff] [blame] | 16 | }; |
Stephen Warren | 805504a | 2012-09-27 21:54:21 -0600 | [diff] [blame] | 17 | |
| 18 | &gpio { |
Linus Walleij | 731b26a | 2016-10-06 13:15:02 +0200 | [diff] [blame] | 19 | /* |
| 20 | * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf |
| 21 | * RPI00021 sheet 02 |
| 22 | * |
| 23 | * Legend: |
| 24 | * "NC" = not connected (no rail from the SoC) |
| 25 | * "FOO" = GPIO line named "FOO" on the schematic |
| 26 | * "FOO_N" = GPIO line named "FOO" on schematic, active low |
| 27 | */ |
| 28 | gpio-line-names = "SDA0", |
| 29 | "SCL0", |
| 30 | "SDA1", |
| 31 | "SCL1", |
| 32 | "GPIO_GCLK", |
Stefan Wahren | 6b91708 | 2016-11-16 17:52:06 +0000 | [diff] [blame] | 33 | "CAM_GPIO1", |
Linus Walleij | 731b26a | 2016-10-06 13:15:02 +0200 | [diff] [blame] | 34 | "LAN_RUN", |
| 35 | "SPI_CE1_N", |
| 36 | "SPI_CE0_N", |
| 37 | "SPI_MISO", |
| 38 | "SPI_MOSI", |
| 39 | "SPI_SCLK", |
| 40 | "NC", /* GPIO12 */ |
| 41 | "NC", /* GPIO13 */ |
| 42 | /* Serial port */ |
| 43 | "TXD0", |
| 44 | "RXD0", |
| 45 | "STATUS_LED_N", |
| 46 | "GPIO17", |
| 47 | "GPIO18", |
| 48 | "NC", /* GPIO19 */ |
| 49 | "NC", /* GPIO20 */ |
| 50 | "GPIO21", |
| 51 | "GPIO22", |
| 52 | "GPIO23", |
| 53 | "GPIO24", |
| 54 | "GPIO25", |
| 55 | "NC", /* GPIO26 */ |
Stefan Wahren | 6b91708 | 2016-11-16 17:52:06 +0000 | [diff] [blame] | 56 | "CAM_GPIO0", |
Linus Walleij | 731b26a | 2016-10-06 13:15:02 +0200 | [diff] [blame] | 57 | /* Binary number representing build/revision */ |
| 58 | "CONFIG0", |
| 59 | "CONFIG1", |
| 60 | "CONFIG2", |
| 61 | "CONFIG3", |
| 62 | "NC", /* GPIO32 */ |
| 63 | "NC", /* GPIO33 */ |
| 64 | "NC", /* GPIO34 */ |
| 65 | "NC", /* GPIO35 */ |
| 66 | "NC", /* GPIO36 */ |
| 67 | "NC", /* GPIO37 */ |
| 68 | "NC", /* GPIO38 */ |
| 69 | "NC", /* GPIO39 */ |
| 70 | "PWM0_OUT", |
| 71 | "NC", /* GPIO41 */ |
| 72 | "NC", /* GPIO42 */ |
| 73 | "NC", /* GPIO43 */ |
| 74 | "NC", /* GPIO44 */ |
| 75 | "PWM1_OUT", |
| 76 | "HDMI_HPD_P", |
| 77 | "SD_CARD_DET", |
| 78 | /* Used by SD Card */ |
| 79 | "SD_CLK_R", |
| 80 | "SD_CMD_R", |
| 81 | "SD_DATA0_R", |
| 82 | "SD_DATA1_R", |
| 83 | "SD_DATA2_R", |
| 84 | "SD_DATA3_R"; |
| 85 | |
Gerd Hoffmann | a6d962a | 2016-09-19 10:43:23 +0200 | [diff] [blame] | 86 | pinctrl-0 = <&gpioout &alt0>; |
Stephen Warren | 805504a | 2012-09-27 21:54:21 -0600 | [diff] [blame] | 87 | }; |
Eric Anholt | 49ac67e | 2015-03-02 14:36:16 -0800 | [diff] [blame] | 88 | |
| 89 | &hdmi { |
| 90 | hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; |
| 91 | }; |