blob: 33d85ed83a60563b7342a4a1128646e0047fe185 [file] [log] [blame]
Michael Walle0c16d232021-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 *
11 * Copyright (C) 2020 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&enetc0 {
25 status = "disabled";
26 /delete-property/ phy-handle;
27};
28
29&enetc1 {
30 phy-handle = <&phy0>;
31 phy-mode = "rgmii-id";
32 status = "okay";
33};
34
35/delete-node/ &phy0;
36&mdio0 {
37 phy0: ethernet-phy@4 {
38 reg = <0x4>;
39 eee-broken-1000t;
40 eee-broken-100tx;
41
42 qca,clk-out-frequency = <125000000>;
43 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
Michael Wallef28dca72021-04-13 17:54:17 +020044 qca,keep-pll-enabled;
Michael Walle0c16d232021-01-08 00:08:57 +010045
Michael Wallef28dca72021-04-13 17:54:17 +020046 vddio-supply = <&vddio>;
Michael Walle0c16d232021-01-08 00:08:57 +010047
48 vddio: vddio-regulator {
49 regulator-name = "VDDIO";
50 regulator-min-microvolt = <1800000>;
51 regulator-max-microvolt = <1800000>;
52 };
53
54 vddh: vddh-regulator {
55 regulator-name = "VDDH";
56 };
57 };
58};