arch/arm/boot/dts/marvell/kirkwood-dnskw.dtsi

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/marvell/kirkwood-dnskw.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/marvell/kirkwood-dnskw.dtsi
Extension
.dtsi
Size
5196 bytes
Lines
234
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
#include "kirkwood.dtsi"
#include "kirkwood-6281.dtsi"

/ {
	model = "D-Link DNS NASes (kirkwood-based)";
	compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";

	gpio_keys {
		compatible = "gpio-keys";
		pinctrl-0 = <&pmx_button_power &pmx_button_unmount
			     &pmx_button_reset>;
		pinctrl-names = "default";

		button-power {
			label = "Power button";
			linux,code = <KEY_POWER>;
			gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
		};
		button-eject {
			label = "USB unmount button";
			linux,code = <KEY_EJECTCD>;
			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
		};
		button-reset {
			label = "Reset button";
			linux,code = <KEY_RESTART>;
			gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
		};
	};

	gpio_fan {
		/* Fan: ADDA AD045HB-G73 40mm 6000rpm@5v */
		compatible = "gpio-fan";
		pinctrl-0 = <&pmx_fan_high_speed &pmx_fan_low_speed>;
		pinctrl-names = "default";
		gpios = <&gpio1 14 GPIO_ACTIVE_HIGH
			 &gpio1 13 GPIO_ACTIVE_HIGH>;
		gpio-fan,speed-map = <0    0>,
				     <3000 1>,
				     <6000 2>;
	};

	gpio_poweroff {
		compatible = "gpio-poweroff";
		pinctrl-0 = <&pmx_power_off>;
		pinctrl-names = "default";
		gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
	};

	ocp@f1000000 {
		pinctrl: pin-controller@10000 {

			pinctrl-0 = <&pmx_power_back_on &pmx_present_sata0
				     &pmx_present_sata1 &pmx_fan_tacho
				     &pmx_temp_alarm>;
			pinctrl-names = "default";

			pmx_sata0: pmx-sata0 {
				marvell,pins = "mpp20";
				marvell,function = "sata1";
			};
			pmx_sata1: pmx-sata1 {
				marvell,pins = "mpp21";
				marvell,function = "sata0";
			};
			pmx_led_power: pmx-led-power {
				marvell,pins = "mpp26";
				marvell,function = "gpio";
			};

Annotation

Implementation Notes