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 4 which has two ethernet ports. It
0006  * extends the base and provides one more port connected via RGMII.
0007  *
0008  * Copyright (C) 2021 Michael Walle <michael@walle.cc>
0009  *
0010  */
0011 
0012 /dts-v1/;
0013 #include "fsl-ls1028a-kontron-sl28.dts"
0014 #include <dt-bindings/net/qca-ar803x.h>
0015 
0016 / {
0017         model = "Kontron SMARC-sAL28 (Dual PHY)";
0018         compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a";
0019 };
0020 
0021 &enetc_mdio_pf3 {
0022         phy1: ethernet-phy@4 {
0023                 reg = <0x4>;
0024                 eee-broken-1000t;
0025                 eee-broken-100tx;
0026                 qca,clk-out-frequency = <125000000>;
0027                 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
0028                 qca,keep-pll-enabled;
0029                 vddio-supply = <&vddio>;
0030 
0031                 vddio: vddio-regulator {
0032                         regulator-name = "VDDIO";
0033                         regulator-min-microvolt = <1800000>;
0034                         regulator-max-microvolt = <1800000>;
0035                 };
0036 
0037                 vddh: vddh-regulator {
0038                         regulator-name = "VDDH";
0039                 };
0040         };
0041 };
0042 
0043 &enetc_port1 {
0044         phy-handle = <&phy1>;
0045         phy-mode = "rgmii-id";
0046         status = "okay";
0047 };