author: William Qiu <william.qiu@starfivetech.com> 2023-07-26 16:27:39 +0800
committer: William Qiu <william.qiu@starfivetech.com> 2023-07-26 16:27:39 +0800
commit: 31dd5b06169db3bacb7699e160e0f274204bf92a
parent: c8b7f3c2395cc8f96baeda0574da7d07973464bf
Commit Summary:
Diffstat:
11 files changed, 21 insertions, 16 deletions
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-can-pdm-pwmdac.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-can-pdm-pwmdac.dts
index 68841c2d26d8..c145953f5ed5 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-can-pdm-pwmdac.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-can-pdm-pwmdac.dts
@@ -16,13 +16,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-dvp-rgb2hdmi.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-dvp-rgb2hdmi.dts
index 51098db97b07..4e3a738cbeea 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-dvp-rgb2hdmi.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-dvp-rgb2hdmi.dts
@@ -14,13 +14,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-i2s-ac108.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-i2s-ac108.dts
index 2f30e5b79d6a..42c44e2a4c5b 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-i2s-ac108.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-i2s-ac108.dts
@@ -15,13 +15,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-pcie-i2s-sd.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-pcie-i2s-sd.dts
index d7fe195460ba..0515ac0812c6 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-pcie-i2s-sd.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-pcie-i2s-sd.dts
@@ -15,13 +15,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-spi-uart2.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-spi-uart2.dts
index 4aeb2eb3b24f..fbbbc1a9671d 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-spi-uart2.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-spi-uart2.dts
@@ -14,13 +14,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-uart1-rgb2hdmi.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-uart1-rgb2hdmi.dts
index f5be5ea46a63..1fb5d5f0c691 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-uart1-rgb2hdmi.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-uart1-rgb2hdmi.dts
@@ -14,13 +14,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-uart4-emmc-spdif.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-uart4-emmc-spdif.dts
index f1388c4eebe2..506e7e69918f 100755
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-uart4-emmc-spdif.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-uart4-emmc-spdif.dts
@@ -27,12 +27,15 @@
};
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&mmc0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <8>;
cap-mmc-highspeed;
+ mmc-hs200-1_8v;
non-removable;
cap-mmc-hw-reset;
post-power-on-delay-ms = <200>;
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-uart5-pwm-i2c-tdm.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-uart5-pwm-i2c-tdm.dts
index 4ba622c459bf..e0257dd4e523 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-uart5-pwm-i2c-tdm.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-uart5-pwm-i2c-tdm.dts
@@ -15,13 +15,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb-usbdevice.dts b/arch/riscv/boot/dts/starfive/jh7110-evb-usbdevice.dts
index f9d67ae839d9..945f22c9e2e6 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb-usbdevice.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb-usbdevice.dts
@@ -14,13 +14,14 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
card-detect-delay = <300>;
bus-width = <4>;
broken-cd;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110-evb.dts b/arch/riscv/boot/dts/starfive/jh7110-evb.dts
index 73db0ce7bafb..64b616b6eae2 100644
--- a/arch/riscv/boot/dts/starfive/jh7110-evb.dts
+++ b/arch/riscv/boot/dts/starfive/jh7110-evb.dts
@@ -14,6 +14,8 @@
/* default sd card */
&sdio0 {
+ assigned-clocks = <&clkgen JH7110_SDIO0_CLK_SDCARD>;
+ assigned-clock-rates = <50000000>;
pinctrl-names = "default";
pinctrl-0 = <&sdcard0_pins>;
max-frequency = <100000000>;
@@ -22,12 +24,6 @@
no-sdio;
no-mmc;
broken-cd;
- sd-uhs-sdr12;
- sd-uhs-sdr25;
- sd-uhs-sdr50;
- sd-uhs-sdr104;
- sd-uhs-ddr50;
- cap-sd-highspeed;
post-power-on-delay-ms = <200>;
status = "okay";
};
diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi
index 2dc0a5de3bb0..8b0e8d1bb6c4 100755
--- a/arch/riscv/boot/dts/starfive/jh7110.dtsi
+++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi
@@ -883,7 +883,6 @@
fifo-depth = <32>;
fifo-watermark-aligned;
data-addr = <0>;
- starfive,sys-syscon = <&sys_syscon 0x14 0x1a 0x7c000000>;
status = "disabled";
};
@@ -900,7 +899,6 @@
fifo-depth = <32>;
fifo-watermark-aligned;
data-addr = <0>;
- starfive,sys-syscon = <&sys_syscon 0x9c 0x1 0x3e>;
status = "disabled";
};