arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/ti/omap/omap4-epson-embt2ws.dts
Extension
.dts
Size
16079 bytes
Lines
699
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-only
/*
 * Copyright (C) 2023 Andreas Kemnade
 */
/dts-v1/;

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

/ {
	model = "Epson Moverio BT-200";
	compatible = "epson,embt2ws", "ti,omap4460", "ti,omap4";

	memory@80000000 {
		device_type = "memory";
		reg = <0x80000000 0x40000000>; /* 1024M */
	};

	battery: battery {
		compatible = "simple-battery";
		device-chemistry = "lithium-ion";
		charge-full-design-microamp-hours = <2720000>;
		voltage-max-design-microvolt = <4200000>;
		voltage-min-design-microvolt = <3300000>;

		constant-charge-voltage-max-microvolt = <4200000>;
		/*
		 * vendor kernel says max charge 1400000, input limit 900000
		 * and charges only with dcp chargers. So it is unclear what
		 * is really allowed. Play safe for now and restrict things
		 * here. Maybe 900000 is just the limit of the vendor charger?
		 */
		constant-charge-current-max-microamp = <900000>;
		charge-term-current-microamp = <200000>;
	};

	backlight-left {
		compatible = "pwm-backlight";
		pwms = <&twl_pwm 1 7812500>;
		power-supply = <&lb_v50>;
	};

	backlight-right {
		compatible = "pwm-backlight";
		pwms = <&twl_pwm 0 7812500>;
		power-supply = <&lb_v50>;
	};

	chosen {
		stdout-path = &uart3;
	};

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

		key-lock {
			label = "Lock";
			gpios = <&gpio2 3 GPIO_ACTIVE_LOW>;
			linux,code = <SW_ROTATE_LOCK>; /* SW_TOUCHPAD_LOCK */
			linux,input-type = <EV_SW>;
		};
	};

	cb_v18: regulator-cb-v18 {
		pinctrl-names = "default";
		pinctrl-0 = <&cb_v18_pins>;
		compatible = "regulator-fixed";

Annotation

Implementation Notes