arch/arm64/boot/dts/rockchip/rk3588-jaguar-ethernet-switch.dtso

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/rockchip/rk3588-jaguar-ethernet-switch.dtso

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/rockchip/rk3588-jaguar-ethernet-switch.dtso
Extension
.dtso
Size
4155 bytes
Lines
196
Domain
Architecture Layer
Bucket
arch/arm64
Inferred role
Architecture Layer: arch/arm64
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 MIT)
/*
 * Copyright (c) 2025 Cherry Embedded Solutions GmbH
 *
 * Device Tree Overlay for the Ethernet Switch adapter for the Mezzanine
 * connector on RK3588 Jaguar
 * (manual: https://embedded.cherry.de/jaguar-ethernet-switch-user-manual/)
 *
 * This adapter has a KSZ9896 Ethernet Switch with 4 1GbE Ethernet connectors,
 * two user controllable LEDs, and an M12 12-pin connector which exposes the
 * following signals:
 *  - RS232/RS485 (max 250Kbps/500Kbps, RX pin1, TX pin2)
 *  - two digital inputs (pin4 routed to GPIO3_C5 on SoC, pin5 to GPIO4_B4)
 *  - two digital outputs (pin7 routed to GPIO3_D3 on SoC, pin8 to GPIO3_D1)
 *  - two analog inputs (pin10 to channel1 of ADS1015, pin11 to channel2)
 *
 * RK3588 Jaguar can be powered entirely through the adapter via the M8 3-pin
 * connector (12-24V).
 */

/dts-v1/;
/plugin/;

#include <dt-bindings/clock/rockchip,rk3588-cru.h>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/pinctrl/rockchip.h>

&{/} {
	aliases {
		ethernet1 = "/ethernet@fe1c0000";
	};

	mezzanine-leds {
		compatible = "gpio-leds";
		pinctrl-names = "default";
		pinctrl-0 = <&led_usr1_pin &led_usr2_pin>;

		led-1 {
			gpios = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
			label = "USR1";
		};

		led-2 {
			gpios = <&gpio3 RK_PC4 GPIO_ACTIVE_HIGH>;
			label = "USR2";
		};
	};
};

&gmac1 {
	clock_in_out = "output";
	phy-mode = "rgmii-id";
	pinctrl-names = "default";
	pinctrl-0 = <&gmac1_rx_bus2
		     &gmac1_tx_bus2
		     &gmac1_rgmii_clk
		     &gmac1_rgmii_bus
		     &eth1_pins>;
	rx_delay = <0x0>;
	tx_delay = <0x0>;
	status = "okay";

	fixed-link {
		speed = <1000>;
		full-duplex;
	};
};

Annotation

Implementation Notes