riscv: dts: mmc:modify mmc1 config
authorWilliam Qiu <william.qiu@starfivetech.com>
Thu, 15 Dec 2022 09:03:28 +0000 (17:03 +0800)
committerWilliam Qiu <william.qiu@starfivetech.com>
Thu, 15 Dec 2022 09:03:28 +0000 (17:03 +0800)
modify mmc1 config

Signed-off-by: William Qiu <william.qiu@starfivetech.com>
arch/riscv/boot/dts/starfive/evb-overlay/jh7110-evb-overlay-sdio.dts
arch/riscv/boot/dts/starfive/jh7110-evb.dts
arch/riscv/boot/dts/starfive/jh7110.dtsi

index 2f7692edfe4290e6b055f44dc6a6909256b0bda9..998076eec540825c88d71e07a620e12d70d48db1 100644 (file)
        fragment@3 {
                target-path = "/soc/sdio1@16020000";
                __overlay__ {
-                       clock-frequency = <102400000>;
                        max-frequency = <100000000>;
                        card-detect-delay = <300>;
                        bus-width = <4>;
+                       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>;
                        pinctrl-names = "default";
index d110913947f74743873d9b04b3549e26ad1e37b9..1845c12aaa099ee603e5c623fd625fdd59690f87 100644 (file)
        status = "okay";
 };
 
+&sdio1 {
+       max-frequency = <100000000>;
+       card-detect-delay = <300>;
+       bus-width = <4>;
+       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";
+};
+
 &usbdrd30 {
        status = "okay";
 };
index 6707f6e94c36a96a38919935e4278bbb958593a9..3aac6b6a9d09ce470eb6748b4c69736859fa3cb2 100644 (file)
                        fifo-depth = <32>;
                        fifo-watermark-aligned;
                        data-addr = <0>;
+                       starfive,sys-syscon = <&sys_syscon 0x9c 0x1 0x3e>;
                        status = "disabled";
                };