1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/dts-v1/; 3724ba675SRob Herring#include "bcm2835.dtsi" 4724ba675SRob Herring#include "bcm2835-rpi.dtsi" 5724ba675SRob Herring#include "bcm2835-rpi-common.dtsi" 6724ba675SRob Herring#include "bcm283x-rpi-led-deprecated.dtsi" 7724ba675SRob Herring#include "bcm283x-rpi-smsc9512.dtsi" 8724ba675SRob Herring#include "bcm283x-rpi-usb-host.dtsi" 9724ba675SRob Herring 10724ba675SRob Herring/ { 11724ba675SRob Herring compatible = "raspberrypi,model-b", "brcm,bcm2835"; 12724ba675SRob Herring model = "Raspberry Pi Model B"; 13724ba675SRob Herring 14724ba675SRob Herring memory@0 { 15724ba675SRob Herring device_type = "memory"; 16724ba675SRob Herring reg = <0 0x10000000>; 17724ba675SRob Herring }; 18724ba675SRob Herring}; 19724ba675SRob Herring 20724ba675SRob Herring&gpio { 21724ba675SRob Herring /* 22724ba675SRob Herring * Taken from Raspberry-Pi-Rev-1.0-Model-AB-Schematics.pdf 23724ba675SRob Herring * RPI00021 sheet 02 24724ba675SRob Herring * 25724ba675SRob Herring * Legend: 26724ba675SRob Herring * "FOO" = GPIO line named "FOO" on the schematic 27724ba675SRob Herring * "FOO_N" = GPIO line named "FOO" on schematic, active low 28724ba675SRob Herring */ 29724ba675SRob Herring gpio-line-names = "SDA0", 30724ba675SRob Herring "SCL0", 31724ba675SRob Herring "SDA1", 32724ba675SRob Herring "SCL1", 33724ba675SRob Herring "GPIO_GCLK", 34724ba675SRob Herring "CAM_GPIO1", 35724ba675SRob Herring "LAN_RUN", 36724ba675SRob Herring "SPI_CE1_N", 37724ba675SRob Herring "SPI_CE0_N", 38724ba675SRob Herring "SPI_MISO", 39724ba675SRob Herring "SPI_MOSI", 40724ba675SRob Herring "SPI_SCLK", 41724ba675SRob Herring "", /* GPIO12 */ 42724ba675SRob Herring "", /* GPIO13 */ 43724ba675SRob Herring /* Serial port */ 44724ba675SRob Herring "TXD0", 45724ba675SRob Herring "RXD0", 46724ba675SRob Herring "STATUS_LED_N", 47724ba675SRob Herring "GPIO17", 48724ba675SRob Herring "GPIO18", 49724ba675SRob Herring "", /* GPIO19 */ 50724ba675SRob Herring "", /* GPIO20 */ 51724ba675SRob Herring "CAM_GPIO0", 52724ba675SRob Herring "GPIO22", 53724ba675SRob Herring "GPIO23", 54724ba675SRob Herring "GPIO24", 55724ba675SRob Herring "GPIO25", 56724ba675SRob Herring "", /* GPIO26 */ 57724ba675SRob Herring "GPIO27", 58724ba675SRob Herring "GPIO28", 59724ba675SRob Herring "GPIO29", 60724ba675SRob Herring "GPIO30", 61724ba675SRob Herring "GPIO31", 62724ba675SRob Herring "", /* GPIO32 */ 63724ba675SRob Herring "", /* GPIO33 */ 64724ba675SRob Herring "", /* GPIO34 */ 65724ba675SRob Herring "", /* GPIO35 */ 66724ba675SRob Herring "", /* GPIO36 */ 67724ba675SRob Herring "", /* GPIO37 */ 68724ba675SRob Herring "", /* GPIO38 */ 69724ba675SRob Herring "", /* GPIO39 */ 70724ba675SRob Herring "PWM0_OUT", 71724ba675SRob Herring "", /* GPIO41 */ 72724ba675SRob Herring "", /* GPIO42 */ 73724ba675SRob Herring "", /* GPIO43 */ 74724ba675SRob Herring "", /* GPIO44 */ 75724ba675SRob Herring "PWM1_OUT", 76724ba675SRob Herring "HDMI_HPD_P", 77724ba675SRob Herring "SD_CARD_DET", 78724ba675SRob Herring /* Used by SD Card */ 79724ba675SRob Herring "SD_CLK_R", 80724ba675SRob Herring "SD_CMD_R", 81724ba675SRob Herring "SD_DATA0_R", 82724ba675SRob Herring "SD_DATA1_R", 83724ba675SRob Herring "SD_DATA2_R", 84724ba675SRob Herring "SD_DATA3_R"; 85724ba675SRob Herring 86*2a28a5cdSStefan Wahren pinctrl-names = "default"; 87724ba675SRob Herring pinctrl-0 = <&gpioout &alt0>; 88724ba675SRob Herring}; 89724ba675SRob Herring 90724ba675SRob Herring&hdmi { 91724ba675SRob Herring hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>; 92724ba675SRob Herring power-domains = <&power RPI_POWER_DOMAIN_HDMI>; 93724ba675SRob Herring status = "okay"; 94724ba675SRob Herring}; 95724ba675SRob Herring 96724ba675SRob Herring&led_act { 97724ba675SRob Herring gpios = <&gpio 16 GPIO_ACTIVE_LOW>; 98724ba675SRob Herring}; 99724ba675SRob Herring 100724ba675SRob Herring&pwm { 101724ba675SRob Herring pinctrl-names = "default"; 102724ba675SRob Herring pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>; 103724ba675SRob Herring status = "okay"; 104724ba675SRob Herring}; 105724ba675SRob Herring 106724ba675SRob Herring&sdhost { 107724ba675SRob Herring pinctrl-names = "default"; 108724ba675SRob Herring pinctrl-0 = <&sdhost_gpio48>; 109724ba675SRob Herring bus-width = <4>; 110724ba675SRob Herring status = "okay"; 111724ba675SRob Herring}; 112724ba675SRob Herring 113724ba675SRob Herring&uart0 { 114724ba675SRob Herring pinctrl-names = "default"; 115724ba675SRob Herring pinctrl-0 = <&uart0_gpio14>; 116724ba675SRob Herring status = "okay"; 117724ba675SRob Herring}; 118