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) 2020 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 { << 25 /* Delete unused phy node */ << 26 /delete-node/ ethernet-phy@5; << 27 << 28 phy0: ethernet-phy@4 { << 29 reg = <0x4>; << 30 eee-broken-1000t; << 31 eee-broken-100tx; << 32 qca,clk-out-frequency = <12500 << 33 qca,clk-out-strength = <AR803X << 34 qca,keep-pll-enabled; << 35 vddio-supply = <&vddio>; << 36 << 37 vddio: vddio-regulator { << 38 regulator-name = "VDDI << 39 regulator-min-microvol << 40 regulator-max-microvol << 41 }; << 42 << 43 vddh: vddh-regulator { << 44 regulator-name = "VDDH << 45 }; << 46 }; << 47 }; << 48 << 49 &enetc_port0 { 24 &enetc_port0 { 50 status = "disabled"; 25 status = "disabled"; 51 /* Delete the phy-handle to the old ph !! 26 /* >> 27 * Delete both the phy-handle to the old phy0 label as well as >> 28 * the mdio node with the old phy node with the old phy0 label. >> 29 */ 52 /delete-property/ phy-handle; 30 /delete-property/ phy-handle; >> 31 /delete-node/ mdio; 53 }; 32 }; 54 33 55 &enetc_port1 { 34 &enetc_port1 { 56 phy-handle = <&phy0>; 35 phy-handle = <&phy0>; 57 phy-mode = "rgmii-id"; !! 36 phy-connection-type = "rgmii-id"; 58 nvmem-cells = <&base_mac_address 0>; << 59 nvmem-cell-names = "mac-address"; << 60 status = "okay"; 37 status = "okay"; >> 38 >> 39 mdio { >> 40 #address-cells = <1>; >> 41 #size-cells = <0>; >> 42 >> 43 phy0: ethernet-phy@4 { >> 44 reg = <0x4>; >> 45 eee-broken-1000t; >> 46 eee-broken-100tx; >> 47 qca,clk-out-frequency = <125000000>; >> 48 qca,clk-out-strength = <AR803X_STRENGTH_FULL>; >> 49 qca,keep-pll-enabled; >> 50 vddio-supply = <&vddio>; >> 51 >> 52 vddio: vddio-regulator { >> 53 regulator-name = "VDDIO"; >> 54 regulator-min-microvolt = <1800000>; >> 55 regulator-max-microvolt = <1800000>; >> 56 }; >> 57 >> 58 vddh: vddh-regulator { >> 59 regulator-name = "VDDH"; >> 60 }; >> 61 }; >> 62 }; 61 }; 63 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.