1815364d0SMichael Walle// SPDX-License-Identifier: GPL-2.0+ 2815364d0SMichael Walle/* 3815364d0SMichael Walle * Device Tree file for the Kontron SMARC-sAL28 board. 4815364d0SMichael Walle * 5815364d0SMichael Walle * This is for the network variant 4 which has two ethernet ports. It 6815364d0SMichael Walle * extends the base and provides one more port connected via RGMII. 7815364d0SMichael Walle * 867833805SMichael Walle * Copyright (C) 2021 Michael Walle <michael@walle.cc> 9815364d0SMichael Walle * 10815364d0SMichael Walle */ 11815364d0SMichael Walle 12815364d0SMichael Walle/dts-v1/; 13815364d0SMichael Walle#include "fsl-ls1028a-kontron-sl28.dts" 14815364d0SMichael Walle#include <dt-bindings/net/qca-ar803x.h> 15815364d0SMichael Walle 16815364d0SMichael Walle/ { 17815364d0SMichael Walle model = "Kontron SMARC-sAL28 (Dual PHY)"; 18815364d0SMichael Walle compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a"; 19815364d0SMichael Walle}; 20815364d0SMichael Walle 2167833805SMichael Walle&enetc_mdio_pf3 { 22815364d0SMichael Walle phy1: ethernet-phy@4 { 23815364d0SMichael Walle reg = <0x4>; 24815364d0SMichael Walle eee-broken-1000t; 25815364d0SMichael Walle eee-broken-100tx; 26815364d0SMichael Walle qca,clk-out-frequency = <125000000>; 27815364d0SMichael Walle qca,clk-out-strength = <AR803X_STRENGTH_FULL>; 2825201269SMichael Walle qca,keep-pll-enabled; 2925201269SMichael Walle vddio-supply = <&vddio>; 30815364d0SMichael Walle 31815364d0SMichael Walle vddio: vddio-regulator { 32815364d0SMichael Walle regulator-name = "VDDIO"; 33815364d0SMichael Walle regulator-min-microvolt = <1800000>; 34815364d0SMichael Walle regulator-max-microvolt = <1800000>; 35815364d0SMichael Walle }; 36815364d0SMichael Walle 37815364d0SMichael Walle vddh: vddh-regulator { 38815364d0SMichael Walle regulator-name = "VDDH"; 39815364d0SMichael Walle }; 40815364d0SMichael Walle }; 41815364d0SMichael Walle}; 4267833805SMichael Walle 4367833805SMichael Walle&enetc_port1 { 4467833805SMichael Walle phy-handle = <&phy1>; 45caa355c5SMichael Walle phy-mode = "rgmii-id"; 46*06b944f4SMichael Walle nvmem-cells = <&base_mac_address 1>; 47*06b944f4SMichael Walle nvmem-cell-names = "mac-address"; 4867833805SMichael Walle status = "okay"; 49815364d0SMichael Walle}; 50