Michael Walle | ba3aa6b | 2021-01-08 00:08:58 +0100 | [diff] [blame] | 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 2 which has no ethernet support in the |
| 6 | * bootloader. |
| 7 | * |
| 8 | * Copyright (C) 2020 Michael Walle <michael@walle.cc> |
| 9 | * |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | #include "fsl-ls1028a-kontron-sl28.dts" |
| 14 | |
| 15 | / { |
| 16 | model = "Kontron SMARC-sAL28 (TSN-on-module)"; |
| 17 | compatible = "kontron,sl28-var2", "kontron,sl28", "fsl,ls1028a"; |
| 18 | }; |
| 19 | |
| 20 | &enetc0 { |
| 21 | status = "disabled"; |
| 22 | /delete-property/ phy-handle; |
| 23 | }; |
| 24 | |
Michael Walle | 6abae93 | 2021-06-23 13:56:02 +0200 | [diff] [blame] | 25 | &enetc2 { |
| 26 | status = "okay"; |
| 27 | }; |
| 28 | |
| 29 | &mscc_felix { |
| 30 | status = "okay"; |
| 31 | }; |
| 32 | |
| 33 | &mscc_felix_port0 { |
| 34 | label = "gbe0"; |
| 35 | phy-handle = <&phy0>; |
| 36 | phy-mode = "sgmii"; |
| 37 | status = "okay"; |
| 38 | }; |
| 39 | |
| 40 | &mscc_felix_port1 { |
| 41 | label = "gbe1"; |
| 42 | phy-handle = <&phy1>; |
| 43 | phy-mode = "sgmii"; |
| 44 | status = "okay"; |
| 45 | }; |
| 46 | |
| 47 | &mscc_felix_port4 { |
| 48 | ethernet = <&enetc2>; |
| 49 | status = "okay"; |
| 50 | }; |
| 51 | |
Michael Walle | ba3aa6b | 2021-01-08 00:08:58 +0100 | [diff] [blame] | 52 | /delete-node/ &phy0; |
Michael Walle | 6abae93 | 2021-06-23 13:56:02 +0200 | [diff] [blame] | 53 | &mdio0 { |
| 54 | phy0: ethernet-phy@5 { |
| 55 | reg = <0x5>; |
| 56 | eee-broken-1000t; |
| 57 | eee-broken-100tx; |
| 58 | }; |
| 59 | |
| 60 | phy1: ethernet-phy@4 { |
| 61 | reg = <0x4>; |
| 62 | eee-broken-1000t; |
| 63 | eee-broken-100tx; |
| 64 | }; |
| 65 | }; |