arch/arm/boot/dts/broadcom/bcm6846-genexis-xg6846b.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/broadcom/bcm6846-genexis-xg6846b.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/broadcom/bcm6846-genexis-xg6846b.dts
Extension
.dts
Size
3663 bytes
Lines
245
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+ OR MIT)
/*
 * Copyright 2024 Linus Walleij <linus.walleij@linaro.org>
 */

/dts-v1/;

#include "bcm6846.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>

/ {
	model = "Genexis XG6846B Ethernet layer 2/3 router";
	compatible = "genexis,xg6846b", "brcm,bcm6846", "brcm,bcmbca";

	aliases {
		serial0 = &uart0;
	};

	chosen {
		stdout-path = "serial0:115200n8";
	};

	/* Micron D9PTK 256 MB RAM */
	memory@0 {
		device_type = "memory";
		reg = <0x0 0x10000000>;
	};

	reserved-memory {
		#address-cells = <1>;
		#size-cells = <1>;
		ranges;

		secondary-boot@0 {
			no-map;
			reg = <0x00000000 0x00008000>;
		};
		pmc3-firmware@8000 {
			no-map;
			reg = <0x00008000 0x00100000>;
		};
	};

	gpio-keys {
		compatible = "gpio-keys-polled";
		poll-interval = <20000>;

		/* Called "canyon rescue button" in the vendor DTB */
		button-restart {
			label = "Reset";
			linux,code = <KEY_RESTART>;
			gpios = <&gpio0 41 GPIO_ACTIVE_LOW>;
		};
	};
};

&gpio0 {
	status = "okay";
};

&gpio1 {
	status = "okay";
};

&gpio2 {
	status = "okay";
	/* Totally 79 GPIOs are available */
	ngpios = <15>;

Annotation

Implementation Notes