arch/arm/boot/dts/intel/ixp/intel-ixp42x-netgear-wg302v1.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/intel/ixp/intel-ixp42x-netgear-wg302v1.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/intel/ixp/intel-ixp42x-netgear-wg302v1.dts
Extension
.dts
Size
3019 bytes
Lines
127
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: ISC
/*
 * Device Tree file for Netgear WG302v2 based on IXP422BB
 * Derived from boardfiles written by Imre Kaloz
 */

/dts-v1/;

#include "intel-ixp42x.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>

/ {
	model = "Netgear WG302 v1";
	compatible = "netgear,wg302v1", "intel,ixp42x";
	#address-cells = <1>;
	#size-cells = <1>;

	memory@0 {
		/* 32 MB SDRAM according to boot arguments */
		device_type = "memory";
		reg = <0x00000000 0x02000000>;
	};

	chosen {
		/* The RedBoot comes up in 9600 baud so let's keep this */
		bootargs = "console=ttyS0,9600n8";
		stdout-path = "uart1:9600n8";
	};

	aliases {
		/* These are switched around */
		serial0 = &uart1;
	};

	leds {
		compatible = "gpio-leds";
		test_led: led-test {
			color = <LED_COLOR_ID_AMBER>;
			function = "test";
			gpios = <&gpio0 4 GPIO_ACTIVE_LOW>;
			default-state = "off";
		};
		wlan_led: led-wlan {
			color = <LED_COLOR_ID_GREEN>;
			function = LED_FUNCTION_WLAN;
			gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
			default-state = "off";
			linux,default-trigger = "phy0tx";
		};
	};

	gpio_keys {
		/* RESET is on GPIO13 which can't fire interrupts */
		compatible = "gpio-keys-polled";
		poll-interval = <100>;

		button-reset {
			linux,code = <KEY_RESTART>;
			label = "reset";
			gpios = <&gpio0 13 GPIO_ACTIVE_LOW>;
		};
	};

	soc {
		bus@c4000000 {
			flash@0,0 {
				compatible = "intel,ixp4xx-flash", "cfi-flash";
				bank-width = <2>;
				/*

Annotation

Implementation Notes