Merge tag 'u-boot-rockchip-20201031' of https://gitlab.denx.de/u-boot/custodians...
[platform/kernel/u-boot.git] / arch / arm / dts / fsl-ls1028a-kontron-sl28-var4.dts
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 4 which has two ethernet ports. It
6  * extends the base and provides one more port connected via RGMII.
7  *
8  * Copyright (C) 2019 Michael Walle <michael@walle.cc>
9  *
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
21 &enetc1 {
22         phy-handle = <&phy1>;
23         phy-mode = "rgmii-id";
24         status = "okay";
25 };
26
27 &mdio0 {
28         phy1: ethernet-phy@4 {
29                 reg = <0x4>;
30                 eee-broken-1000t;
31                 eee-broken-100tx;
32
33                 qca,clk-out-frequency = <125000000>;
34                 qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
35
36                 vddio-supply = <&vddh>;
37
38                 vddio: vddio-regulator {
39                         regulator-name = "VDDIO";
40                         regulator-min-microvolt = <1800000>;
41                         regulator-max-microvolt = <1800000>;
42                 };
43
44                 vddh: vddh-regulator {
45                         regulator-name = "VDDH";
46                 };
47         };
48 };