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 1 which has 5 * This is for the network variant 1 which has one ethernet port. It is 6 * different than the base variant, which also 6 * different than the base variant, which also has one port, but here the 7 * port is connected via RGMII. This port is n 7 * port is connected via RGMII. This port is not TSN aware. 8 * None of the four SerDes lanes are used by 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 9 * all led out to the carrier for customer use. 10 * 10 * 11 * Copyright (C) 2021 Michael Walle <michael@wa 11 * Copyright (C) 2021 Michael Walle <michael@walle.cc> 12 * 12 * 13 */ 13 */ 14 14 15 /dts-v1/; 15 /dts-v1/; 16 #include "fsl-ls1028a-kontron-sl28.dts" 16 #include "fsl-ls1028a-kontron-sl28.dts" 17 #include <dt-bindings/net/qca-ar803x.h> 17 #include <dt-bindings/net/qca-ar803x.h> 18 18 19 / { 19 / { 20 model = "Kontron SMARC-sAL28 (4 Lanes) 20 model = "Kontron SMARC-sAL28 (4 Lanes)"; 21 compatible = "kontron,sl28-var1", "kon 21 compatible = "kontron,sl28-var1", "kontron,sl28", "fsl,ls1028a"; 22 }; 22 }; 23 23 24 &enetc_mdio_pf3 { 24 &enetc_mdio_pf3 { 25 /* Delete unused phy node */ 25 /* Delete unused phy node */ 26 /delete-node/ ethernet-phy@5; 26 /delete-node/ ethernet-phy@5; 27 27 28 phy0: ethernet-phy@4 { 28 phy0: ethernet-phy@4 { 29 reg = <0x4>; 29 reg = <0x4>; 30 eee-broken-1000t; 30 eee-broken-1000t; 31 eee-broken-100tx; 31 eee-broken-100tx; 32 qca,clk-out-frequency = <12500 32 qca,clk-out-frequency = <125000000>; 33 qca,clk-out-strength = <AR803X 33 qca,clk-out-strength = <AR803X_STRENGTH_FULL>; 34 qca,keep-pll-enabled; 34 qca,keep-pll-enabled; 35 vddio-supply = <&vddio>; 35 vddio-supply = <&vddio>; 36 36 37 vddio: vddio-regulator { 37 vddio: vddio-regulator { 38 regulator-name = "VDDI 38 regulator-name = "VDDIO"; 39 regulator-min-microvol 39 regulator-min-microvolt = <1800000>; 40 regulator-max-microvol 40 regulator-max-microvolt = <1800000>; 41 }; 41 }; 42 42 43 vddh: vddh-regulator { 43 vddh: vddh-regulator { 44 regulator-name = "VDDH 44 regulator-name = "VDDH"; 45 }; 45 }; 46 }; 46 }; 47 }; 47 }; 48 48 49 &enetc_port0 { 49 &enetc_port0 { 50 status = "disabled"; 50 status = "disabled"; 51 /* Delete the phy-handle to the old ph 51 /* Delete the phy-handle to the old phy0 label */ 52 /delete-property/ phy-handle; 52 /delete-property/ phy-handle; 53 }; 53 }; 54 54 55 &enetc_port1 { 55 &enetc_port1 { 56 phy-handle = <&phy0>; 56 phy-handle = <&phy0>; 57 phy-mode = "rgmii-id"; 57 phy-mode = "rgmii-id"; 58 nvmem-cells = <&base_mac_address 0>; << 59 nvmem-cell-names = "mac-address"; << 60 status = "okay"; 58 status = "okay"; 61 }; 59 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.