SMART AM40: add PHY LED configuration

This commit is contained in:
retro98boy
2025-07-26 15:12:03 +08:00
committed by Igor
parent 2576cd1d8e
commit 67e4ab7475
3 changed files with 14 additions and 11 deletions

View File

@@ -196,11 +196,11 @@
simple-audio-card,name = "dp-sound";
simple-audio-card,cpu {
// sound-dai = <&i2s2>;
/* sound-dai = <&i2s2>; */
sound-dai = <&spdif>;
};
simple-audio-card,codec {
// sound-dai = <&cdn_dp 0>;
/* sound-dai = <&cdn_dp 0>; */
sound-dai = <&cdn_dp 1>;
};
};
@@ -252,11 +252,12 @@
#address-cells = <1>;
#size-cells = <0>;
rtl8211f: ethernet-phy@0 {
rtl8211f: rtl8211f@0 {
reg = <0>;
reset-assert-us = <10000>;
reset-deassert-us = <30000>;
reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
realtek,ledsel = <0x820b>;
};
};
};

View File

@@ -196,11 +196,11 @@
simple-audio-card,name = "dp-sound";
simple-audio-card,cpu {
// sound-dai = <&i2s2>;
/* sound-dai = <&i2s2>; */
sound-dai = <&spdif>;
};
simple-audio-card,codec {
// sound-dai = <&cdn_dp 0>;
/* sound-dai = <&cdn_dp 0>; */
sound-dai = <&cdn_dp 1>;
};
};
@@ -252,11 +252,12 @@
#address-cells = <1>;
#size-cells = <0>;
rtl8211f: ethernet-phy@0 {
rtl8211f: rtl8211f@0 {
reg = <0>;
reset-assert-us = <10000>;
reset-deassert-us = <30000>;
reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
realtek,ledsel = <0x820b>;
};
};
};

View File

@@ -94,10 +94,10 @@ index 00000000..8ea5266f
+CONFIG_ERRNO_STR=y
diff --git a/dts/upstream/src/arm64/rockchip/rk3399-am40.dts b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts
new file mode 100644
index 00000000..174a7eb6
index 00000000..cf667415
--- /dev/null
+++ b/dts/upstream/src/arm64/rockchip/rk3399-am40.dts
@@ -0,0 +1,778 @@
@@ -0,0 +1,779 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright (c) 2017 Fuzhou Rockchip Electronics Co., Ltd.
@@ -296,11 +296,11 @@ index 00000000..174a7eb6
+ simple-audio-card,name = "dp-sound";
+
+ simple-audio-card,cpu {
+ // sound-dai = <&i2s2>;
+ /* sound-dai = <&i2s2>; */
+ sound-dai = <&spdif>;
+ };
+ simple-audio-card,codec {
+ // sound-dai = <&cdn_dp 0>;
+ /* sound-dai = <&cdn_dp 0>; */
+ sound-dai = <&cdn_dp 1>;
+ };
+ };
@@ -352,11 +352,12 @@ index 00000000..174a7eb6
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ rtl8211f: ethernet-phy@0 {
+ rtl8211f: rtl8211f@0 {
+ reg = <0>;
+ reset-assert-us = <10000>;
+ reset-deassert-us = <30000>;
+ reset-gpios = <&gpio3 RK_PB7 GPIO_ACTIVE_LOW>;
+ realtek,ledsel = <0x820b>;
+ };
+ };
+};