blob: 9b5e92fb753e22effdb5b14f04cf3371291df162 [file] [log] [blame]
Michael Walle4ceb5c62020-10-15 23:08:57 +02001// 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 4 which has two ethernet ports. It
6 * extends the base and provides one more port connected via RGMII.
7 *
Michael Wallec7155d22021-10-13 18:14:27 +02008 * Copyright (C) 2021 Michael Walle <michael@walle.cc>
Michael Walle4ceb5c62020-10-15 23:08:57 +02009 *
10 */
11
12/dts-v1/;
13#include "fsl-ls1028a-kontron-sl28.dts"
14#include <dt-bindings/net/qca-ar803x.h>
15
16/ {
17 model = "Kontron SMARC-sAL28 (Dual PHY)";
18 compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a";
19};
20
Michael Wallec816dd02021-10-13 18:14:15 +020021&enetc_mdio_pf3 {
Michael Walle4ceb5c62020-10-15 23:08:57 +020022 phy1: ethernet-phy@4 {
23 reg = <0x4>;
24 eee-broken-1000t;
25 eee-broken-100tx;
Michael Walle4ceb5c62020-10-15 23:08:57 +020026 qca,clk-out-frequency = <125000000>;
27 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
Michael Walle2bf46582021-04-13 17:54:17 +020028 qca,keep-pll-enabled;
Michael Walle2bf46582021-04-13 17:54:17 +020029 vddio-supply = <&vddio>;
Michael Walle4ceb5c62020-10-15 23:08:57 +020030
31 vddio: vddio-regulator {
32 regulator-name = "VDDIO";
33 regulator-min-microvolt = <1800000>;
34 regulator-max-microvolt = <1800000>;
35 };
36
37 vddh: vddh-regulator {
38 regulator-name = "VDDH";
39 };
40 };
41};
Michael Wallec7155d22021-10-13 18:14:27 +020042
43&enetc_port1 {
44 phy-handle = <&phy1>;
45 phy-mode = "rgmii-id";
46 status = "okay";
47};