xref: /linux/arch/arm64/boot/dts/freescale/fsl-ls1028a-kontron-sl28-var4.dts (revision 815364d0424e72cde1d16f2ef3a75cd8e48411bf)
1*815364d0SMichael Walle// SPDX-License-Identifier: GPL-2.0+
2*815364d0SMichael Walle/*
3*815364d0SMichael Walle * Device Tree file for the Kontron SMARC-sAL28 board.
4*815364d0SMichael Walle *
5*815364d0SMichael Walle * This is for the network variant 4 which has two ethernet ports. It
6*815364d0SMichael Walle * extends the base and provides one more port connected via RGMII.
7*815364d0SMichael Walle *
8*815364d0SMichael Walle * Copyright (C) 2019 Michael Walle <michael@walle.cc>
9*815364d0SMichael Walle *
10*815364d0SMichael Walle */
11*815364d0SMichael Walle
12*815364d0SMichael Walle/dts-v1/;
13*815364d0SMichael Walle#include "fsl-ls1028a-kontron-sl28.dts"
14*815364d0SMichael Walle#include <dt-bindings/net/qca-ar803x.h>
15*815364d0SMichael Walle
16*815364d0SMichael Walle/ {
17*815364d0SMichael Walle	model = "Kontron SMARC-sAL28 (Dual PHY)";
18*815364d0SMichael Walle	compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a";
19*815364d0SMichael Walle};
20*815364d0SMichael Walle
21*815364d0SMichael Walle&enetc_port1 {
22*815364d0SMichael Walle	phy-handle = <&phy1>;
23*815364d0SMichael Walle	phy-connection-type = "rgmii-id";
24*815364d0SMichael Walle
25*815364d0SMichael Walle	mdio {
26*815364d0SMichael Walle		#address-cells = <1>;
27*815364d0SMichael Walle		#size-cells = <0>;
28*815364d0SMichael Walle
29*815364d0SMichael Walle		phy1: ethernet-phy@4 {
30*815364d0SMichael Walle			reg = <0x4>;
31*815364d0SMichael Walle			eee-broken-1000t;
32*815364d0SMichael Walle			eee-broken-100tx;
33*815364d0SMichael Walle
34*815364d0SMichael Walle			qca,clk-out-frequency = <125000000>;
35*815364d0SMichael Walle			qca,clk-out-strength = <AR803X_STRENGTH_FULL>;
36*815364d0SMichael Walle
37*815364d0SMichael Walle			vddio-supply = <&vddh>;
38*815364d0SMichael Walle
39*815364d0SMichael Walle			vddio: vddio-regulator {
40*815364d0SMichael Walle				regulator-name = "VDDIO";
41*815364d0SMichael Walle				regulator-min-microvolt = <1800000>;
42*815364d0SMichael Walle				regulator-max-microvolt = <1800000>;
43*815364d0SMichael Walle			};
44*815364d0SMichael Walle
45*815364d0SMichael Walle			vddh: vddh-regulator {
46*815364d0SMichael Walle				regulator-name = "VDDH";
47*815364d0SMichael Walle			};
48*815364d0SMichael Walle		};
49*815364d0SMichael Walle	};
50*815364d0SMichael Walle};
51