summaryrefslogtreecommitdiff
path: root/target/csky/ck610.dts
diff options
context:
space:
mode:
Diffstat (limited to 'target/csky/ck610.dts')
-rw-r--r--target/csky/ck610.dts98
1 files changed, 98 insertions, 0 deletions
diff --git a/target/csky/ck610.dts b/target/csky/ck610.dts
new file mode 100644
index 000000000..b29a3cdf1
--- /dev/null
+++ b/target/csky/ck610.dts
@@ -0,0 +1,98 @@
+/dts-v1/;
+
+/ {
+ model = "qemu.csky.ck610";
+ compatible = "csky";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ memory {
+ device_type = "memory";
+ reg = <0x0 0x1f400000>;
+ };
+
+ cpus {
+ #address-cells = <0>;
+ #size-cells = <0>;
+
+ cpu {
+ device_type = "cpu";
+ ccr = <0x7d>;
+ hint = <0x1c>;
+ };
+ };
+
+ soc {
+ #address-cells = <1>;
+ #size-cells = <1>;
+ compatible = "simple-bus";
+ ranges;
+
+ dummy_apb: apb-clock {
+ compatible = "fixed-clock";
+ clock-frequency = <40000000>;
+ clock-output-names = "dummy_apb";
+ #clock-cells = <0>;
+ };
+
+ intc: interrupt-controller {
+ compatible = "csky,intc-v1";
+ reg = <0x1ffff000 0x1000>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+ };
+
+ /* clockevent */
+ timer0 {
+ compatible = "snps,dw-apb-timer";
+ reg = <0x1fffd000 0x1000>;
+ clocks = <&dummy_apb>;
+ clock-names = "timer";
+ interrupts = <1>;
+ interrupt-parent = <&intc>;
+ };
+
+ /* clocksource */
+ timer1 {
+ compatible = "snps,dw-apb-timer";
+ reg = <0x1fffd014 0x800>;
+ clocks = <&dummy_apb>;
+ clock-names = "timer";
+ interrupts = <2>;
+ interrupt-parent = <&intc>;
+ };
+
+ serial0 {
+ compatible = "ns16550a";
+ reg = <0x1fffe000 0x1000>;
+ interrupt-parent = <&intc>;
+ interrupts = <3>;
+ clocks = <&dummy_apb>;
+ baud = <115200>;
+ reg-shift = <2>;
+ reg-io-width = <1>;
+ };
+
+ gmac: ethernet {
+ compatible = "snps,dwmac";
+ reg = <0x1fffa000 0x2000>;
+ interrupt-parent = <&intc>;
+ interrupts = <4>;
+ interrupt-names = "macirq";
+ clocks = <&dummy_apb>;
+ clock-names = "stmmaceth";
+ phy-mode = "mii";
+ snps,pbl = <32>;
+ snps,fixed-burst;
+ };
+
+ qemu-exit {
+ compatible = "csky,qemu-exit";
+ reg = <0x1fffc000 0x1000>;
+ };
+ };
+
+ chosen {
+ bootargs = "console=ttyS0,115200";
+ };
+};