1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm283x-rpi-usb-host.dtsi"
8 compatible = "raspberrypi,model-a-plus", "brcm,bcm2835";
9 model = "Raspberry Pi Model A+";
12 device_type = "memory";
18 gpios = <&gpio 47 GPIO_ACTIVE_HIGH>;
23 gpios = <&gpio 35 GPIO_ACTIVE_HIGH>;
24 default-state = "keep";
25 linux,default-trigger = "default-on";
32 * This is based on the unreleased schematic for the Model A+.
35 * "FOO" = GPIO line named "FOO" on the schematic
36 * "FOO_N" = GPIO line named "FOO" on schematic, active low
38 gpio-line-names = "ID_SDA",
71 "CAM_GPIO1", /* GPIO32 */
74 "PWR_LOW_N", /* GPIO35 */
77 "USB_LIMIT", /* GPIO38 */
79 "PWM0_OUT", /* GPIO40 */
80 "CAM_GPIO0", /* GPIO41 */
84 "PWM1_OUT", /* GPIO45 */
95 pinctrl-0 = <&gpioout &alt0 &i2s_alt0>;
99 brcm,pins = <18 19 20 21>;
100 brcm,function = <BCM2835_FSEL_ALT0>;
105 hpd-gpios = <&gpio 46 GPIO_ACTIVE_LOW>;
106 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
111 pinctrl-names = "default";
112 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
117 pinctrl-names = "default";
118 pinctrl-0 = <&sdhost_gpio48>;
124 pinctrl-names = "default";
125 pinctrl-0 = <&uart0_gpio14>;