KickPI K2b: Fixup linux DTS

Signed-off-by: Patrick Yavitz <pyavitz@gmail.com>
This commit is contained in:
Patrick Yavitz 2026-02-02 12:40:27 -05:00 committed by c0rnelius
parent 7e38101ed6
commit d855d83c88
2 changed files with 36 additions and 12 deletions

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (C) 2025 Patrick Yavitz <pyavitz@gmail.com>
* Copyright (C) 2026 Patrick Yavitz <pyavitz@gmail.com>
*/
/dts-v1/;
@ -129,8 +129,9 @@
pinctrl-names = "default";
phy-mode = "rgmii";
phy-handle = <&ext_rgmii_phy>;
phy-supply = <&reg_dldo1>;
allwinner,tx-delay-ps = <700>;
allwinner,rx-delay-ps = <1700>;
allwinner,rx-delay-ps = <2000>;
};
&ehci0 {
@ -195,9 +196,9 @@
};
&mdio0 {
ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-id001c.c916";
reg = <1>;
ext_rgmii_phy: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x0>;
reset-assert-us = <20000>;
reset-deassert-us = <100000>;
reset-gpios = <&pio 8 6 GPIO_ACTIVE_LOW>; /* PI6 */
@ -322,6 +323,8 @@
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vcc-1v8-pll";
};
@ -329,6 +332,8 @@
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vcc-3v3-io";
};
@ -336,6 +341,8 @@
regulator-always-on;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <990000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vdd-gpu-sys";
};
@ -343,13 +350,18 @@
regulator-always-on;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <1100000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-ramp-delay = <200>; /* FIXME */
regulator-name = "vdd-cpu";
};
reg_dcdc3: dcdc3 {
regulator-always-on;
regulator-min-microvolt = <1100000>;
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vdd-dram";
};
};

View File

@ -1,6 +1,6 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (C) 2025 Patrick Yavitz <pyavitz@gmail.com>
* Copyright (C) 2026 Patrick Yavitz <pyavitz@gmail.com>
*/
/dts-v1/;
@ -129,8 +129,9 @@
pinctrl-names = "default";
phy-mode = "rgmii";
phy-handle = <&ext_rgmii_phy>;
phy-supply = <&reg_dldo1>;
allwinner,tx-delay-ps = <700>;
allwinner,rx-delay-ps = <1700>;
allwinner,rx-delay-ps = <2000>;
};
&ehci0 {
@ -195,9 +196,9 @@
};
&mdio0 {
ext_rgmii_phy: ethernet-phy@1 {
compatible = "ethernet-phy-id001c.c916";
reg = <1>;
ext_rgmii_phy: ethernet-phy@0 {
compatible = "ethernet-phy-ieee802.3-c22";
reg = <0x0>;
reset-assert-us = <20000>;
reset-deassert-us = <100000>;
reset-gpios = <&pio 8 6 GPIO_ACTIVE_LOW>; /* PI6 */
@ -322,6 +323,8 @@
regulator-always-on;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vcc-1v8-pll";
};
@ -329,6 +332,8 @@
regulator-always-on;
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vcc-3v3-io";
};
@ -336,6 +341,8 @@
regulator-always-on;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <990000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vdd-gpu-sys";
};
@ -343,13 +350,18 @@
regulator-always-on;
regulator-min-microvolt = <810000>;
regulator-max-microvolt = <1100000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-ramp-delay = <200>; /* FIXME */
regulator-name = "vdd-cpu";
};
reg_dcdc3: dcdc3 {
regulator-always-on;
regulator-min-microvolt = <1100000>;
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-step-delay-us = <25>;
regulator-final-delay-us = <50>;
regulator-name = "vdd-dram";
};
};