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 2f7692e..998076e 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 d110913..1845c12 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 6707f6e..3aac6b6 100644 (file)
                        fifo-depth = <32>;
                        fifo-watermark-aligned;
                        data-addr = <0>;
+                       starfive,sys-syscon = <&sys_syscon 0x9c 0x1 0x3e>;
                        status = "disabled";
                };