forked from OERV-BSP/u-boot
Describe the newly-supported clock controller of TH1520 in SoC devicetree, replace dummy clocks with the controller-supplied ones and add correct clocks for GPIO controllers. Signed-off-by: Yao Zi <ziyao@disroot.org> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
46 lines
674 B
Plaintext
46 lines
674 B
Plaintext
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (C) 2023 Jisheng Zhang <jszhang@kernel.org>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "th1520.dtsi"
|
|
|
|
/ {
|
|
model = "Sipeed Lichee Module 4A";
|
|
compatible = "sipeed,lichee-module-4a", "thead,th1520";
|
|
|
|
memory@0 {
|
|
device_type = "memory";
|
|
reg = <0x0 0x00000000 0x2 0x00000000>;
|
|
bootph-pre-ram;
|
|
};
|
|
};
|
|
|
|
&osc {
|
|
clock-frequency = <24000000>;
|
|
};
|
|
|
|
&osc_32k {
|
|
clock-frequency = <32768>;
|
|
};
|
|
|
|
&emmc {
|
|
bus-width = <8>;
|
|
max-frequency = <198000000>;
|
|
mmc-ddr-1_8v;
|
|
mmc-hs400-1_8v;
|
|
mmc-hs400-enhanced-strobe;
|
|
non-removable;
|
|
no-sdio;
|
|
no-sd;
|
|
status = "okay";
|
|
};
|
|
|
|
&sdio0 {
|
|
bus-width = <4>;
|
|
max-frequency = <198000000>;
|
|
status = "okay";
|
|
};
|