1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2*724ba675SRob Herring/dts-v1/; 3*724ba675SRob Herring#include "bcm2835.dtsi" 4*724ba675SRob Herring#include "bcm2835-rpi.dtsi" 5*724ba675SRob Herring#include "bcm2835-rpi-common.dtsi" 6*724ba675SRob Herring#include "bcm283x-rpi-led-deprecated.dtsi" 7*724ba675SRob Herring#include "bcm283x-rpi-usb-host.dtsi" 8*724ba675SRob Herring 9*724ba675SRob Herring/ { 10*724ba675SRob Herring compatible = "raspberrypi,model-a-plus", "brcm,bcm2835"; 11*724ba675SRob Herring model = "Raspberry Pi Model A+"; 12*724ba675SRob Herring 13*724ba675SRob Herring memory@0 { 14*724ba675SRob Herring device_type = "memory"; 15*724ba675SRob Herring reg = <0 0x10000000>; 16*724ba675SRob Herring }; 17*724ba675SRob Herring}; 18*724ba675SRob Herring 19*724ba675SRob Herring&gpio { 20*724ba675SRob Herring /* 21*724ba675SRob Herring * This is based on the unreleased schematic for the Model A+. 22*724ba675SRob Herring * 23*724ba675SRob Herring * Legend: 24*724ba675SRob Herring * "FOO" = GPIO line named "FOO" on the schematic 25*724ba675SRob Herring * "FOO_N" = GPIO line named "FOO" on schematic, active low 26*724ba675SRob Herring */ 27*724ba675SRob Herring gpio-line-names = "ID_SDA", 28*724ba675SRob Herring "ID_SCL", 29*724ba675SRob Herring "SDA1", 30*724ba675SRob Herring "SCL1", 31*724ba675SRob Herring "GPIO_GCLK", 32*724ba675SRob Herring "GPIO5", 33*724ba675SRob Herring "GPIO6", 34*724ba675SRob Herring "SPI_CE1_N", 35*724ba675SRob Herring "SPI_CE0_N", 36*724ba675SRob Herring "SPI_MISO", 37*724ba675SRob Herring "SPI_MOSI", 38*724ba675SRob Herring "SPI_SCLK", 39*724ba675SRob Herring "GPIO12", 40*724ba675SRob Herring "GPIO13", 41*724ba675SRob Herring /* Serial port */ 42*724ba675SRob Herring "TXD0", 43*724ba675SRob Herring "RXD0", 44*724ba675SRob Herring "GPIO16", 45*724ba675SRob Herring "GPIO17", 46*724ba675SRob Herring "GPIO18", 47*724ba675SRob Herring "GPIO19", 48*724ba675SRob Herring "GPIO20", 49*724ba675SRob Herring "GPIO21", 50*724ba675SRob Herring "GPIO22", 51*724ba675SRob Herring "GPIO23", 52*724ba675SRob Herring "GPIO24", 53*724ba675SRob Herring "GPIO25", 54*724ba675SRob Herring "GPIO26", 55*724ba675SRob Herring "GPIO27", 56*724ba675SRob Herring "SDA0", 57*724ba675SRob Herring "SCL0", 58*724ba675SRob Herring "", /* GPIO30 */ 59*724ba675SRob Herring "", /* GPIO31 */ 60*724ba675SRob Herring "CAM_GPIO1", /* GPIO32 */ 61*724ba675SRob Herring "", /* GPIO33 */ 62*724ba675SRob Herring "", /* GPIO34 */ 63*724ba675SRob Herring "PWR_LOW_N", /* GPIO35 */ 64*724ba675SRob Herring "", /* GPIO36 */ 65*724ba675SRob Herring "", /* GPIO37 */ 66*724ba675SRob Herring "USB_LIMIT", /* GPIO38 */ 67*724ba675SRob Herring "", /* GPIO39 */ 68*724ba675SRob Herring "PWM0_OUT", /* GPIO40 */ 69*724ba675SRob Herring "CAM_GPIO0", /* GPIO41 */ 70*724ba675SRob Herring "", /* GPIO42 */ 71*724ba675SRob Herring "", /* GPIO43 */ 72*724ba675SRob Herring "", /* GPIO44 */ 73*724ba675SRob Herring "PWM1_OUT", /* GPIO45 */ 74*724ba675SRob Herring "HDMI_HPD_N", 75*724ba675SRob Herring "STATUS_LED", 76*724ba675SRob Herring /* Used by SD Card */ 77*724ba675SRob Herring "SD_CLK_R", 78*724ba675SRob Herring "SD_CMD_R", 79*724ba675SRob Herring "SD_DATA0_R", 80*724ba675SRob Herring "SD_DATA1_R", 81*724ba675SRob Herring "SD_DATA2_R", 82*724ba675SRob Herring "SD_DATA3_R"; 83*724ba675SRob Herring 84*724ba675SRob Herring pinctrl-0 = <&gpioout &alt0 &i2s_alt0>; 85*724ba675SRob Herring 86*724ba675SRob Herring /* I2S interface */ 87*724ba675SRob Herring i2s_alt0: i2s_alt0 { 88*724ba675SRob Herring brcm,pins = <18 19 20 21>; 89*724ba675SRob Herring brcm,function = <BCM2835_FSEL_ALT0>; 90*724ba675SRob Herring }; 91*724ba675SRob Herring}; 92*724ba675SRob Herring 93*724ba675SRob Herring&hdmi { 94*724ba675SRob Herring hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>; 95*724ba675SRob Herring power-domains = <&power RPI_POWER_DOMAIN_HDMI>; 96*724ba675SRob Herring status = "okay"; 97*724ba675SRob Herring}; 98*724ba675SRob Herring 99*724ba675SRob Herring&led_act { 100*724ba675SRob Herring gpios = <&gpio 47 GPIO_ACTIVE_HIGH>; 101*724ba675SRob Herring}; 102*724ba675SRob Herring 103*724ba675SRob Herring&leds { 104*724ba675SRob Herring led-pwr { 105*724ba675SRob Herring label = "PWR"; 106*724ba675SRob Herring gpios = <&gpio 35 GPIO_ACTIVE_HIGH>; 107*724ba675SRob Herring default-state = "keep"; 108*724ba675SRob Herring linux,default-trigger = "default-on"; 109*724ba675SRob Herring }; 110*724ba675SRob Herring}; 111*724ba675SRob Herring 112*724ba675SRob Herring&pwm { 113*724ba675SRob Herring pinctrl-names = "default"; 114*724ba675SRob Herring pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>; 115*724ba675SRob Herring status = "okay"; 116*724ba675SRob Herring}; 117*724ba675SRob Herring 118*724ba675SRob Herring&sdhost { 119*724ba675SRob Herring pinctrl-names = "default"; 120*724ba675SRob Herring pinctrl-0 = <&sdhost_gpio48>; 121*724ba675SRob Herring bus-width = <4>; 122*724ba675SRob Herring status = "okay"; 123*724ba675SRob Herring}; 124*724ba675SRob Herring 125*724ba675SRob Herring&uart0 { 126*724ba675SRob Herring pinctrl-names = "default"; 127*724ba675SRob Herring pinctrl-0 = <&uart0_gpio14>; 128*724ba675SRob Herring status = "okay"; 129*724ba675SRob Herring}; 130