Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0+
0002 /*
0003  * Device Tree file for the Kontron SMARC-sAL28 board.
0004  *
0005  * This is for the network variant 1 which has one ethernet port. It is
0006  * different than the base variant, which also has one port, but here the
0007  * port is connected via RGMII. This port is not TSN aware.
0008  * None of the  four SerDes lanes are used by the module, instead they are
0009  * all led out to the carrier for customer use.
0010  *
0011  * Copyright (C) 2021 Michael Walle <michael@walle.cc>
0012  *
0013  */
0014 
0015 /dts-v1/;
0016 #include "fsl-ls1028a-kontron-sl28.dts"
0017 #include <dt-bindings/net/qca-ar803x.h>
0018 
0019 / {
0020         model = "Kontron SMARC-sAL28 (4 Lanes)";
0021         compatible = "kontron,sl28-var1", "kontron,sl28", "fsl,ls1028a";
0022 };
0023 
0024 &enetc_mdio_pf3 {
0025         /* Delete unused phy node */
0026         /delete-node/ ethernet-phy@5;
0027 
0028         phy0: ethernet-phy@4 {
0029                 reg = <0x4>;
0030                 eee-broken-1000t;
0031                 eee-broken-100tx;
0032                 qca,clk-out-frequency = <125000000>;
0033                 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
0034                 qca,keep-pll-enabled;
0035                 vddio-supply = <&vddio>;
0036 
0037                 vddio: vddio-regulator {
0038                         regulator-name = "VDDIO";
0039                         regulator-min-microvolt = <1800000>;
0040                         regulator-max-microvolt = <1800000>;
0041                 };
0042 
0043                 vddh: vddh-regulator {
0044                         regulator-name = "VDDH";
0045                 };
0046         };
0047 };
0048 
0049 &enetc_port0 {
0050         status = "disabled";
0051         /* Delete the phy-handle to the old phy0 label */
0052         /delete-property/ phy-handle;
0053 };
0054 
0055 &enetc_port1 {
0056         phy-handle = <&phy0>;
0057         phy-mode = "rgmii-id";
0058         status = "okay";
0059 };