1 // SPDX-License-Identifier: GPL-2.0+ 1 // SPDX-License-Identifier: GPL-2.0+ 2 /* 2 /* 3 * Device Tree file for the Kontron SMARC-sAL2 3 * Device Tree file for the Kontron SMARC-sAL28 board. 4 * 4 * 5 * This is for the network variant 4 which has 5 * This is for the network variant 4 which has two ethernet ports. It 6 * extends the base and provides one more port 6 * extends the base and provides one more port connected via RGMII. 7 * 7 * 8 * Copyright (C) 2021 Michael Walle <michael@wa 8 * Copyright (C) 2021 Michael Walle <michael@walle.cc> 9 * 9 * 10 */ 10 */ 11 11 12 /dts-v1/; 12 /dts-v1/; 13 #include "fsl-ls1028a-kontron-sl28.dts" 13 #include "fsl-ls1028a-kontron-sl28.dts" 14 #include <dt-bindings/net/qca-ar803x.h> 14 #include <dt-bindings/net/qca-ar803x.h> 15 15 16 / { 16 / { 17 model = "Kontron SMARC-sAL28 (Dual PHY 17 model = "Kontron SMARC-sAL28 (Dual PHY)"; 18 compatible = "kontron,sl28-var4", "kon 18 compatible = "kontron,sl28-var4", "kontron,sl28", "fsl,ls1028a"; 19 }; 19 }; 20 20 21 &enetc_mdio_pf3 { 21 &enetc_mdio_pf3 { 22 phy1: ethernet-phy@4 { 22 phy1: ethernet-phy@4 { 23 reg = <0x4>; 23 reg = <0x4>; 24 eee-broken-1000t; 24 eee-broken-1000t; 25 eee-broken-100tx; 25 eee-broken-100tx; 26 qca,clk-out-frequency = <12500 26 qca,clk-out-frequency = <125000000>; 27 qca,clk-out-strength = <AR803X 27 qca,clk-out-strength = <AR803X_STRENGTH_FULL>; 28 qca,keep-pll-enabled; 28 qca,keep-pll-enabled; 29 vddio-supply = <&vddio>; 29 vddio-supply = <&vddio>; 30 30 31 vddio: vddio-regulator { 31 vddio: vddio-regulator { 32 regulator-name = "VDDI 32 regulator-name = "VDDIO"; 33 regulator-min-microvol 33 regulator-min-microvolt = <1800000>; 34 regulator-max-microvol 34 regulator-max-microvolt = <1800000>; 35 }; 35 }; 36 36 37 vddh: vddh-regulator { 37 vddh: vddh-regulator { 38 regulator-name = "VDDH 38 regulator-name = "VDDH"; 39 }; 39 }; 40 }; 40 }; 41 }; 41 }; 42 42 43 &enetc_port1 { 43 &enetc_port1 { 44 phy-handle = <&phy1>; 44 phy-handle = <&phy1>; 45 phy-mode = "rgmii-id"; 45 phy-mode = "rgmii-id"; 46 nvmem-cells = <&base_mac_address 1>; 46 nvmem-cells = <&base_mac_address 1>; 47 nvmem-cell-names = "mac-address"; 47 nvmem-cell-names = "mac-address"; 48 status = "okay"; 48 status = "okay"; 49 }; 49 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.