blob: 7cd29ab970d9237ee4675c87ee6f39b279aae2ba [file] [log] [blame]
Michael Walle4029d352021-01-08 00:08:57 +01001// 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 *
Michael Wallec7155d22021-10-13 18:14:27 +020011 * Copyright (C) 2021 Michael Walle <michael@walle.cc>
Michael Walle4029d352021-01-08 00:08:57 +010012 *
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
Michael Wallec816dd02021-10-13 18:14:15 +020024&enetc_mdio_pf3 {
Michael Wallec7155d22021-10-13 18:14:27 +020025 /* Delete unused phy node */
26 /delete-node/ ethernet-phy@5;
27
Michael Walle4029d352021-01-08 00:08:57 +010028 phy0: ethernet-phy@4 {
29 reg = <0x4>;
30 eee-broken-1000t;
31 eee-broken-100tx;
Michael Walle4029d352021-01-08 00:08:57 +010032 qca,clk-out-frequency = <125000000>;
33 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
Michael Walle2bf46582021-04-13 17:54:17 +020034 qca,keep-pll-enabled;
Michael Walle2bf46582021-04-13 17:54:17 +020035 vddio-supply = <&vddio>;
Michael Walle4029d352021-01-08 00:08:57 +010036
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};
Michael Wallec7155d22021-10-13 18:14:27 +020048
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};