xref: /linux/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts (revision 60261442c1b91d9e0cdc611222034286aeb18946)
1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Device Tree file for the Kontron SMARC-sAL28 board.
4 *
5 * This is for the network variant 1 which has one ethernet port. It is
6 * different than the base variant, which also has one port, but here the
7 * port is connected via RGMII. This port is not TSN aware.
8 * None of the  four SerDes lanes are used by the module, instead they are
9 * all led out to the carrier for customer use.
10 *
11 * Copyright (C) 2021 Michael Walle <michael@walle.cc>
12 *
13 */
14
15/dts-v1/;
16#include "fsl-ls1028a-kontron-sl28.dts"
17#include <dt-bindings/net/qca-ar803x.h>
18
19/ {
20	model = "Kontron SMARC-sAL28 (4 Lanes)";
21	compatible = "kontron,sl28-var1", "kontron,sl28", "fsl,ls1028a";
22};
23
24&enetc_mdio_pf3 {
25	/* Delete unused phy node */
26	/delete-node/ ethernet-phy@5;
27
28	phy0: ethernet-phy@4 {
29		reg = <0x4>;
30		eee-broken-1000t;
31		eee-broken-100tx;
32		qca,clk-out-frequency = <125000000>;
33		qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
34		qca,keep-pll-enabled;
35		vddio-supply = <&vddio>;
36
37		vddio: vddio-regulator {
38			regulator-name = "VDDIO";
39			regulator-min-microvolt = <1800000>;
40			regulator-max-microvolt = <1800000>;
41		};
42
43		vddh: vddh-regulator {
44			regulator-name = "VDDH";
45		};
46	};
47};
48
49&enetc_port0 {
50	status = "disabled";
51	/* Delete the phy-handle to the old phy0 label */
52	/delete-property/ phy-handle;
53};
54
55&enetc_port1 {
56	phy-handle = <&phy0>;
57	phy-mode = "rgmii-id";
58	status = "okay";
59};
60