1 // SPDX-License-Identifier: GPL-2.0
3 #include "bcm2835.dtsi"
4 #include "bcm2835-rpi.dtsi"
5 #include "bcm2835-rpi-common.dtsi"
6 #include "bcm283x-rpi-led-deprecated.dtsi"
7 #include "bcm283x-rpi-smsc9512.dtsi"
8 #include "bcm283x-rpi-usb-host.dtsi"
11 compatible = "raspberrypi,model-b-rev2", "brcm,bcm2835";
12 model = "Raspberry Pi Model B rev2";
15 device_type = "memory";
22 * Taken from Raspberry-Pi-Rev-2.0-Model-AB-Schematics.pdf
26 * "FOO" = GPIO line named "FOO" on the schematic
27 * "FOO_N" = GPIO line named "FOO" on schematic, active low
29 gpio-line-names = "SDA0",
86 pinctrl-0 = <&gpioout &alt0 &i2s_alt2>;
90 brcm,pins = <28 29 30 31>;
91 brcm,function = <BCM2835_FSEL_ALT2>;
96 hpd-gpios = <&gpio 46 GPIO_ACTIVE_HIGH>;
97 power-domains = <&power RPI_POWER_DOMAIN_HDMI>;
102 gpios = <&gpio 16 GPIO_ACTIVE_LOW>;
106 pinctrl-names = "default";
107 pinctrl-0 = <&pwm0_gpio40 &pwm1_gpio45>;
112 pinctrl-names = "default";
113 pinctrl-0 = <&sdhost_gpio48>;
119 pinctrl-names = "default";
120 pinctrl-0 = <&uart0_gpio14>;