1// SPDX-License-Identifier: GPL-2.0+
2/*
3 * Device Tree File for the Kontron KBox A-230-LS.
4 *
5 * This consists of a Kontron SMARC-sAL28 (Dual PHY) and a special
6 * carrier (s1914).
7 *
8 * Copyright (C) 2019 Michael Walle <michael@walle.cc>
9 *
10 */
11
12/dts-v1/;
13#include "fsl-ls1028a-kontron-sl28-var4.dts"
14
15/ {
16	model = "Kontron KBox A-230-LS";
17	compatible = "kontron,kbox-a-230-ls", "kontron,sl28-var4",
18		     "kontron,sl28", "fsl,ls1028a";
19};
20
21&enetc_mdio_pf3 {
22	/* BCM54140 QSGMII quad PHY */
23	qsgmii_phy0: ethernet-phy@7 {
24		reg = <7>;
25	};
26
27	qsgmii_phy1: ethernet-phy@8 {
28		reg = <8>;
29	};
30
31	qsgmii_phy2: ethernet-phy@9 {
32		reg = <9>;
33	};
34
35	qsgmii_phy3: ethernet-phy@10 {
36		reg = <10>;
37	};
38};
39
40&enetc_port2 {
41	status = "okay";
42};
43
44&i2c3 {
45	eeprom@57 {
46		compatible = "atmel,24c32";
47		reg = <0x57>;
48		pagesize = <32>;
49	};
50};
51
52&mscc_felix {
53	status = "okay";
54};
55
56&mscc_felix_port0 {
57	label = "swp0";
58	managed = "in-band-status";
59	phy-handle = <&qsgmii_phy0>;
60	phy-mode = "qsgmii";
61	status = "okay";
62};
63
64&mscc_felix_port1 {
65	label = "swp1";
66	managed = "in-band-status";
67	phy-handle = <&qsgmii_phy1>;
68	phy-mode = "qsgmii";
69	status = "okay";
70};
71
72&mscc_felix_port2 {
73	label = "swp2";
74	managed = "in-band-status";
75	phy-handle = <&qsgmii_phy2>;
76	phy-mode = "qsgmii";
77	status = "okay";
78};
79
80&mscc_felix_port3 {
81	label = "swp3";
82	managed = "in-band-status";
83	phy-handle = <&qsgmii_phy3>;
84	phy-mode = "qsgmii";
85	status = "okay";
86};
87
88&mscc_felix_port4 {
89	ethernet = <&enetc_port2>;
90	status = "okay";
91};
92