arch/arm/boot/dts/broadcom/bcm2837-rpi-2-b.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/broadcom/bcm2837-rpi-2-b.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/broadcom/bcm2837-rpi-2-b.dts
Extension
.dts
Size
2363 bytes
Lines
131
Domain
Architecture Layer
Bucket
arch/arm
Inferred role
Architecture Layer: configuration, schema, or hardware description
Status
atlas-only

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

// SPDX-License-Identifier: GPL-2.0
/dts-v1/;
#include "bcm2837.dtsi"
#include "bcm2836-rpi.dtsi"
#include "bcm283x-rpi-led-deprecated.dtsi"
#include "bcm283x-rpi-smsc9514.dtsi"
#include "bcm283x-rpi-usb-host.dtsi"

/ {
	compatible = "raspberrypi,2-model-b-rev2", "brcm,bcm2837";
	model = "Raspberry Pi 2 Model B rev 1.2";

	memory@0 {
		device_type = "memory";
		reg = <0 0x40000000>;
	};
};

&gpio {
	/*
	 * Taken from rpi_SCH_2b_1p2_reduced.pdf and
	 * the official GPU firmware DT blob.
	 *
	 * Legend:
	 * "FOO" = GPIO line named "FOO" on the schematic
	 * "FOO_N" = GPIO line named "FOO" on schematic, active low
	 */
	gpio-line-names = "ID_SDA",
			  "ID_SCL",
			  "GPIO2",
			  "GPIO3",
			  "GPIO4",
			  "GPIO5",
			  "GPIO6",
			  "GPIO7",
			  "GPIO8",
			  "GPIO9",
			  "GPIO10",
			  "GPIO11",
			  "GPIO12",
			  "GPIO13",
			  "GPIO14",
			  "GPIO15",
			  "GPIO16",
			  "GPIO17",
			  "GPIO18",
			  "GPIO19",
			  "GPIO20",
			  "GPIO21",
			  "GPIO22",
			  "GPIO23",
			  "GPIO24",
			  "GPIO25",
			  "GPIO26",
			  "GPIO27",
			  "SDA0",
			  "SCL0",
			  "", /* GPIO30 */
			  "LAN_RUN",
			  "CAM_GPIO1",
			  "", /* GPIO33 */
			  "", /* GPIO34 */
			  "PWR_LOW_N",
			  "", /* GPIO36 */
			  "", /* GPIO37 */
			  "USB_LIMIT",
			  "", /* GPIO39 */
			  "PWM0_OUT",
			  "CAM_GPIO0",
			  "SMPS_SCL",

Annotation

Implementation Notes