arch/arm/boot/dts/marvell/orion5x-lswsgl.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/marvell/orion5x-lswsgl.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/marvell/orion5x-lswsgl.dts
Extension
.dts
Size
6567 bytes
Lines
277
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

/dts-v1/;

#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include "orion5x-mv88f5182.dtsi"

/ {
	model = "Buffalo Linkstation Mini (LS-WSGL)";
	compatible = "buffalo,lswsgl", "marvell,orion5x-88f5182", "marvell,orion5x";

	memory {
		device_type = "memory";
		reg = <0x00000000 0x8000000>; /* 128 MB */
	};

	chosen {
		bootargs = "console=ttyS0,115200 earlyprintk";
		stdout-path = &uart0;
	};

	soc {
		ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>,
			 <MBUS_ID(0x09, 0x00) 0 0xf2200000 0x800>,
			 <MBUS_ID(0x01, 0x0f) 0 0xf4000000 0x40000>;
	};

	gpio-keys {
		compatible = "gpio-keys";
		pinctrl-0 = <&pmx_buttons>;
		pinctrl-names = "default";

		key-func {
			label = "Function Button";
			linux,code = <KEY_OPTION>;
			gpios = <&gpio0 15 GPIO_ACTIVE_LOW>;
		};

		key-power {
			label = "Power-on Switch";
			linux,input-type = <5>; /* EV_SW */
			linux,code = <KEY_RESERVED>; /* LSMINI_SW_POWER */
			gpios = <&gpio0 18 GPIO_ACTIVE_LOW>;
		};

		key-autopower {
			label = "Power-auto Switch";
			linux,input-type = <5>; /* EV_SW */
			linux,code = <KEY_ESC>; /* LSMINI_SW_AUTOPOWER */
			gpios = <&gpio0 17 GPIO_ACTIVE_LOW>;
		};
	};

	gpio-leds {
		compatible = "gpio-leds";
		pinctrl-0 = <&pmx_led_alarm &pmx_led_info &pmx_led_func
			     &pmx_led_power>;
		pinctrl-names = "default";

		led-alarm {
			label = "lswsgl:alarm:red";
			gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
		};

		led-info {
			label = "lswsgl:info:amber";
			gpios = <&gpio0 3 GPIO_ACTIVE_LOW>;
		};

		led-func {

Annotation

Implementation Notes