arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts

Source file repositories/reference/linux-study-clean/arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts

File Facts

System
Linux kernel
Corpus path
arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts
Extension
.dts
Size
1734 bytes
Lines
115
Domain
Architecture Layer
Bucket
arch/mips
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 <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

#include "ar9132.dtsi"

/ {
	compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
	model = "TP-Link TL-WR1043ND Version 1";

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

	extosc: ref {
		compatible = "fixed-clock";
		#clock-cells = <0>;
		clock-frequency = <40000000>;
	};

	gpio-keys {
		compatible = "gpio-keys";

		button-0 {
			label = "reset";
			linux,code = <KEY_RESTART>;
			gpios = <&gpio 3 GPIO_ACTIVE_LOW>;
			debounce-interval = <60>;
		};

		button-1 {
			label = "qss";
			linux,code = <KEY_WPS_BUTTON>;
			gpios = <&gpio 7 GPIO_ACTIVE_LOW>;
			debounce-interval = <60>;
		};
	};

	leds {
		compatible = "gpio-leds";
		led-0 {
			label = "tp-link:green:usb";
			gpios = <&gpio 1 GPIO_ACTIVE_LOW>;
		};

		led-1 {
			label = "tp-link:green:system";
			gpios = <&gpio 2 GPIO_ACTIVE_LOW>;
			linux,default-trigger = "heartbeat";
		};

		led-2 {
			label = "tp-link:green:qss";
			gpios = <&gpio 5 GPIO_ACTIVE_HIGH>;
		};

		led-3 {
			label = "tp-link:green:wlan";
			gpios = <&gpio 9 GPIO_ACTIVE_LOW>;
		};
	};
};

&uart {
	status = "okay";
};

Annotation

Implementation Notes