Michael Walle | 0c16d23 | 2021-01-08 00:08:57 +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 1 which has one ethernet port. It is |
| 6 | * different than the base variant, which also has one port, but here the |
| 7 | * port is connected via RGMII. This port is not TSN aware. |
| 8 | * None of the four SerDes lanes are used by the module, instead they are |
| 9 | * all led out to the carrier for customer use. |
| 10 | * |
Michael Walle | 773a7f8 | 2021-10-13 18:14:27 +0200 | [diff] [blame] | 11 | * Copyright (C) 2021 Michael Walle <michael@walle.cc> |
Michael Walle | 0c16d23 | 2021-01-08 00:08:57 +0100 | [diff] [blame] | 12 | * |
| 13 | */ |
| 14 | |
| 15 | /dts-v1/; |
| 16 | #include "fsl-ls1028a-kontron-sl28.dts" |
| 17 | #include <dt-bindings/net/qca-ar803x.h> |
| 18 | |
| 19 | / { |
| 20 | model = "Kontron SMARC-sAL28 (4 Lanes)"; |
| 21 | compatible = "kontron,sl28-var1", "kontron,sl28", "fsl,ls1028a"; |
| 22 | }; |
| 23 | |
Michael Walle | 2a20ed1 | 2021-10-13 18:14:15 +0200 | [diff] [blame] | 24 | &enetc_mdio_pf3 { |
Michael Walle | 773a7f8 | 2021-10-13 18:14:27 +0200 | [diff] [blame] | 25 | /* Delete unused phy node */ |
| 26 | /delete-node/ ethernet-phy@5; |
| 27 | |
Michael Walle | 0c16d23 | 2021-01-08 00:08:57 +0100 | [diff] [blame] | 28 | phy0: ethernet-phy@4 { |
| 29 | reg = <0x4>; |
| 30 | eee-broken-1000t; |
| 31 | eee-broken-100tx; |
Michael Walle | 0c16d23 | 2021-01-08 00:08:57 +0100 | [diff] [blame] | 32 | qca,clk-out-frequency = <125000000>; |
| 33 | qca,clk-out-strength = <AR803X_STRENGTH_FULL>; |
Michael Walle | f28dca7 | 2021-04-13 17:54:17 +0200 | [diff] [blame] | 34 | qca,keep-pll-enabled; |
Michael Walle | f28dca7 | 2021-04-13 17:54:17 +0200 | [diff] [blame] | 35 | vddio-supply = <&vddio>; |
Michael Walle | 0c16d23 | 2021-01-08 00:08:57 +0100 | [diff] [blame] | 36 | |
| 37 | vddio: vddio-regulator { |
| 38 | regulator-name = "VDDIO"; |
| 39 | regulator-min-microvolt = <1800000>; |
| 40 | regulator-max-microvolt = <1800000>; |
| 41 | }; |
| 42 | |
| 43 | vddh: vddh-regulator { |
| 44 | regulator-name = "VDDH"; |
| 45 | }; |
| 46 | }; |
| 47 | }; |
Michael Walle | 773a7f8 | 2021-10-13 18:14:27 +0200 | [diff] [blame] | 48 | |
| 49 | &enetc_port0 { |
| 50 | status = "disabled"; |
| 51 | /* Delete the phy-handle to the old phy0 label */ |
| 52 | /delete-property/ phy-handle; |
| 53 | }; |
| 54 | |
| 55 | &enetc_port1 { |
| 56 | phy-handle = <&phy0>; |
| 57 | phy-mode = "rgmii-id"; |
| 58 | status = "okay"; |
| 59 | }; |