arch/arm/boot/dts/allwinner/sun8i-t113s-netcube-nagami-keypad-carrier.dts
Source file repositories/reference/linux-study-clean/arch/arm/boot/dts/allwinner/sun8i-t113s-netcube-nagami-keypad-carrier.dts
File Facts
- System
- Linux kernel
- Corpus path
arch/arm/boot/dts/allwinner/sun8i-t113s-netcube-nagami-keypad-carrier.dts- Extension
.dts- Size
- 3303 bytes
- Lines
- 130
- 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.
- CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.
Dependency Surface
sun8i-t113s-netcube-nagami.dtsidt-bindings/input/input.hdt-bindings/leds/common.h
Detected Declarations
- No top-level syscall, struct, function, initcall, or export declaration detected by the generator.
Annotated Snippet
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (C) 2025 Lukas Schmid <lukas.schmid@netcube.li>
*/
/dts-v1/;
#include "sun8i-t113s-netcube-nagami.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
/ {
model = "NetCube Systems Nagami Keypad Carrier Board";
compatible = "netcube,nagami-keypad-carrier", "netcube,nagami",
"allwinner,sun8i-t113s";
leds {
compatible = "gpio-leds";
led_status_red: led-status-red {
gpios = <&pio 3 16 GPIO_ACTIVE_HIGH>; /* PD16 */
color = <LED_COLOR_ID_RED>;
function = LED_FUNCTION_STATUS;
};
led_status_green: led-status-green {
gpios = <&pio 3 22 GPIO_ACTIVE_HIGH>; /* PD22 */
color = <LED_COLOR_ID_GREEN>;
function = LED_FUNCTION_STATUS;
};
};
};
&i2c2 {
status = "okay";
tca8418: keypad@34 {
compatible = "ti,tca8418";
reg = <0x34>;
interrupts-extended = <&pio 5 6 IRQ_TYPE_EDGE_FALLING>; /* PF6 */
linux,keymap = <MATRIX_KEY(0x03, 0x00, KEY_NUMERIC_A)
MATRIX_KEY(0x03, 0x01, KEY_NUMERIC_1)
MATRIX_KEY(0x03, 0x02, KEY_NUMERIC_2)
MATRIX_KEY(0x03, 0x03, KEY_NUMERIC_3)
MATRIX_KEY(0x02, 0x00, KEY_NUMERIC_B)
MATRIX_KEY(0x02, 0x01, KEY_NUMERIC_4)
MATRIX_KEY(0x02, 0x02, KEY_NUMERIC_5)
MATRIX_KEY(0x02, 0x03, KEY_NUMERIC_6)
MATRIX_KEY(0x01, 0x00, KEY_NUMERIC_C)
MATRIX_KEY(0x01, 0x01, KEY_NUMERIC_7)
MATRIX_KEY(0x01, 0x02, KEY_NUMERIC_8)
MATRIX_KEY(0x01, 0x03, KEY_NUMERIC_9)
MATRIX_KEY(0x00, 0x00, KEY_NUMERIC_D)
MATRIX_KEY(0x00, 0x01, KEY_CLEAR)
MATRIX_KEY(0x00, 0x02, KEY_NUMERIC_0)
MATRIX_KEY(0x00, 0x03, KEY_OK)
>;
keypad,num-rows = <4>;
keypad,num-columns = <4>;
};
};
&pio {
gpio-line-names = "", "", "", "", // PA
"", "", "", "",
"", "", "", "",
"", "", "", "",
"", "", "", "",
"", "", "", "",
"", "", "", "",
Annotation
- Immediate include surface: `sun8i-t113s-netcube-nagami.dtsi`, `dt-bindings/input/input.h`, `dt-bindings/leds/common.h`.
- Atlas domain: Architecture Layer / arch/arm.
- Implementation status: atlas-only.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.