xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/fsl-ls1028a-kontron-sl28-var1.dts (revision 31ba4ce8898f9dfa5e7f054fdbc26e50a599a6e3)
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) 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&enetc_port0 {
25	status = "disabled";
26	/*
27	 * Delete both the phy-handle to the old phy0 label as well as
28	 * the mdio node with the old phy node with the old phy0 label.
29	 */
30	/delete-property/ phy-handle;
31	/delete-node/ mdio;
32};
33
34&enetc_port1 {
35	phy-handle = <&phy0>;
36	phy-connection-type = "rgmii-id";
37	status = "okay";
38
39	mdio {
40		#address-cells = <1>;
41		#size-cells = <0>;
42
43		phy0: ethernet-phy@4 {
44			reg = <0x4>;
45			eee-broken-1000t;
46			eee-broken-100tx;
47			qca,clk-out-frequency = <125000000>;
48			qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
49			qca,keep-pll-enabled;
50			vddio-supply = <&vddio>;
51
52			vddio: vddio-regulator {
53				regulator-name = "VDDIO";
54				regulator-min-microvolt = <1800000>;
55				regulator-max-microvolt = <1800000>;
56			};
57
58			vddh: vddh-regulator {
59				regulator-name = "VDDH";
60			};
61		};
62	};
63};
64