xref: /linux/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var1.dts (revision caa355c53ba4c3c643aca917b707fb6a3ff5e6fa)
164285609SMichael Walle// SPDX-License-Identifier: GPL-2.0+
264285609SMichael Walle/*
364285609SMichael Walle * Device Tree file for the Kontron SMARC-sAL28 board.
464285609SMichael Walle *
564285609SMichael Walle * This is for the network variant 1 which has one ethernet port. It is
664285609SMichael Walle * different than the base variant, which also has one port, but here the
764285609SMichael Walle * port is connected via RGMII. This port is not TSN aware.
864285609SMichael Walle * None of the  four SerDes lanes are used by the module, instead they are
964285609SMichael Walle * all led out to the carrier for customer use.
1064285609SMichael Walle *
1167833805SMichael Walle * Copyright (C) 2021 Michael Walle <michael@walle.cc>
1264285609SMichael Walle *
1364285609SMichael Walle */
1464285609SMichael Walle
1564285609SMichael Walle/dts-v1/;
1664285609SMichael Walle#include "fsl-ls1028a-kontron-sl28.dts"
1764285609SMichael Walle#include <dt-bindings/net/qca-ar803x.h>
1864285609SMichael Walle
1964285609SMichael Walle/ {
2064285609SMichael Walle	model = "Kontron SMARC-sAL28 (4 Lanes)";
2164285609SMichael Walle	compatible = "kontron,sl28-var1", "kontron,sl28", "fsl,ls1028a";
2264285609SMichael Walle};
2364285609SMichael Walle
2467833805SMichael Walle&enetc_mdio_pf3 {
2567833805SMichael Walle	/* Delete unused phy node */
2667833805SMichael Walle	/delete-node/ ethernet-phy@5;
2764285609SMichael Walle
2864285609SMichael Walle	phy0: ethernet-phy@4 {
2964285609SMichael Walle		reg = <0x4>;
3064285609SMichael Walle		eee-broken-1000t;
3164285609SMichael Walle		eee-broken-100tx;
3264285609SMichael Walle		qca,clk-out-frequency = <125000000>;
3364285609SMichael Walle		qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
3452387bb9SMichael Walle		qca,keep-pll-enabled;
3552387bb9SMichael Walle		vddio-supply = <&vddio>;
3664285609SMichael Walle
3764285609SMichael Walle		vddio: vddio-regulator {
3864285609SMichael Walle			regulator-name = "VDDIO";
3964285609SMichael Walle			regulator-min-microvolt = <1800000>;
4064285609SMichael Walle			regulator-max-microvolt = <1800000>;
4164285609SMichael Walle		};
4264285609SMichael Walle
4364285609SMichael Walle		vddh: vddh-regulator {
4464285609SMichael Walle			regulator-name = "VDDH";
4564285609SMichael Walle		};
4664285609SMichael Walle	};
4764285609SMichael Walle};
4867833805SMichael Walle
4967833805SMichael Walle&enetc_port0 {
5067833805SMichael Walle	status = "disabled";
5167833805SMichael Walle	/* Delete the phy-handle to the old phy0 label */
5267833805SMichael Walle	/delete-property/ phy-handle;
5367833805SMichael Walle};
5467833805SMichael Walle
5567833805SMichael Walle&enetc_port1 {
5667833805SMichael Walle	phy-handle = <&phy0>;
57*caa355c5SMichael Walle	phy-mode = "rgmii-id";
5867833805SMichael Walle	status = "okay";
5964285609SMichael Walle};
60