@@ -38,6 +38,34 @@ vdd_cpu: vdd-cpu {
regulator-max-microvolt = <850000>;
vin-supply = <&vcc3v3_pcie>;
};
+
+ hclk_emmc: hclk-emmc {
+ compatible = "fixed-clock";
+ clock-frequency = <198000000>;
+ #clock-cells = <0>;
+ clock-output-names = "hclk_emmc";
+ };
+
+ sclk_emmc: sclk-emmc {
+ compatible = "fixed-clock";
+ clock-frequency = <297000000>;
+ #clock-cells = <0>;
+ clock-output-names = "sclk_emmc";
+ };
+
+ sclk_emmc_drv: sclk-emmc-drv {
+ compatible = "fixed-clock";
+ clock-frequency = <148500000>;
+ #clock-cells = <0>;
+ clock-output-names = "sclk_emmc_drv";
+ };
+
+ sclk_emmc_sample: sclk-emmc-sample {
+ compatible = "fixed-clock";
+ clock-frequency = <148500000>;
+ #clock-cells = <0>;
+ clock-output-names = "sclk_emmc_sample";
+ };
};
&cpu0 {
@@ -48,6 +76,16 @@ &cpu1 {
cpu-supply = <&vdd_cpu>;
};
+&emmc {
+ status = "okay";
+ clocks = <&hclk_emmc>, <&sclk_emmc>, <&sclk_emmc_drv>, <&sclk_emmc_sample>;
+ clock-names = "biu", "ciu", "ciu-drive", "ciu-sample";
+ cap-mmc-highspeed;
+ mmc-hs200-1_2v;
+ non-removable;
+ bus-width = <8>;
+};
+
&gic {
/delete-property/ interrupts;
};
Add fake clocks (based on downstream kernel's debugfs clk_summary) and enable eMMC. Signed-off-by: Andreas Färber <afaerber@suse.de> --- .../boot/dts/rockchip/rk1808k-toybrick-m0.dts | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+)