arch/arm64/boot/dts/renesas/r8a779f0-spider-ethernet.dtsi

Source file repositories/reference/linux-study-clean/arch/arm64/boot/dts/renesas/r8a779f0-spider-ethernet.dtsi

File Facts

System
Linux kernel
Corpus path
arch/arm64/boot/dts/renesas/r8a779f0-spider-ethernet.dtsi
Extension
.dtsi
Size
1876 bytes
Lines
111
Domain
Architecture Layer
Bucket
arch/arm64
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
/*
 * Device Tree Source for the Spider Ethernet sub-board
 *
 * Copyright (C) 2021 Renesas Electronics Corp.
 */

/ {
	aliases {
		ethernet0 = &rswitch_port0;
		ethernet1 = &rswitch_port1;
		ethernet2 = &rswitch_port2;
	};
};

&eth_serdes {
	status = "okay";
};

&i2c4 {
	eeprom@52 {
		compatible = "rohm,br24g01", "atmel,24c01";
		label = "ethernet-sub-board";
		reg = <0x52>;
		pagesize = <8>;
	};
};

&pfc {
	tsn0_pins: tsn0 {
		groups = "tsn0_mdio_b", "tsn0_link_b";
		function = "tsn0";
		power-source = <1800>;
	};

	tsn1_pins: tsn1 {
		groups = "tsn1_mdio_b", "tsn1_link_b";
		function = "tsn1";
		power-source = <1800>;
	};

	tsn2_pins: tsn2 {
		groups = "tsn2_mdio_b", "tsn2_link_b";
		function = "tsn2";
		power-source = <1800>;
	};
};

&rswitch {
	pinctrl-0 = <&tsn0_pins>, <&tsn1_pins>, <&tsn2_pins>;
	pinctrl-names = "default";
	status = "okay";
};

&rswitch_port0 {
	reg = <0>;
	phy-handle = <&u101>;
	phy-mode = "sgmii";
	phys = <&eth_serdes 0>;
	status = "okay";

	mdio {
		#address-cells = <1>;
		#size-cells = <0>;

		u101: ethernet-phy@1 {
			reg = <1>;
			compatible = "ethernet-phy-ieee802.3-c45";
			interrupts-extended = <&gpio3 10 IRQ_TYPE_LEVEL_LOW>;
		};

Annotation

Implementation Notes