arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi

Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm/boot/dts/st/ste-href-tvk1281618-r2.dtsi
Extension
.dtsi
Size
7785 bytes
Lines
290
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-or-later
/*
 * Device Tree for the TVK1281618 R2 user interface board (UIB)
 */

#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/input/input.h>

/ {
	gpio_keys {
		compatible = "gpio-keys";
		#address-cells = <1>;
		#size-cells = <0>;
		vdd-supply = <&ab8500_ldo_aux1_reg>;
		pinctrl-names = "default";
		pinctrl-0 = <&prox_tvk_mode>, <&hall_tvk_mode>;

		button@139 {
			/* Proximity sensor */
			gpios = <&gpio6 25 GPIO_ACTIVE_HIGH>;
			linux,code = <11>; /* SW_FRONT_PROXIMITY */
			label = "SFH7741 Proximity Sensor";
		};
		button@145 {
			/* Hall sensor */
			gpios = <&gpio4 17 GPIO_ACTIVE_HIGH>;
			linux,code = <0>; /* SW_LID */
			label = "HED54XXU11 Hall Effect Sensor";
		};
	};

	soc {
		i2c@80004000 {
			tc35893@44 {
				compatible = "toshiba,tc35893";
				reg = <0x44>;
				interrupt-parent = <&gpio6>;
				interrupts = <26 IRQ_TYPE_EDGE_RISING>;
				pinctrl-names = "default";
				pinctrl-0 = <&tc35893_tvk_mode>;

				interrupt-controller;
				#interrupt-cells = <1>;
				status = "disabled";

				tc3589x_gpio {
					compatible = "toshiba,tc3589x-gpio";
					interrupts = <0>;

					interrupt-controller;
					#interrupt-cells = <2>;
					gpio-controller;
					#gpio-cells = <2>;
				};
				tc3589x_keypad {
					compatible = "toshiba,tc3589x-keypad";
					interrupts = <6>;
					debounce-delay-ms = <4>;
					keypad,num-columns = <8>;
					keypad,num-rows = <8>;
					linux,no-autorepeat;
					wakeup-source;
					linux,keymap = <MATRIX_KEY(3, 1, KEY_END)>,
						       <MATRIX_KEY(4, 1, KEY_HOME)>,
						       <MATRIX_KEY(6, 4, KEY_VOLUMEDOWN)>,
						       <MATRIX_KEY(4, 2, KEY_EMAIL)>,
						       <MATRIX_KEY(3, 3, KEY_RIGHT)>,
						       <MATRIX_KEY(2, 5, KEY_BACKSPACE)>,
						       <MATRIX_KEY(6, 7, KEY_MENU)>,
						       <MATRIX_KEY(5, 0, KEY_ENTER)>,

Annotation

Implementation Notes