summaryrefslogtreecommitdiff
path: root/target/csky
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-10-01 13:10:01 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-01 13:11:02 +0200
commitc77086b5f7e42ac48b84c3d9cddec20701f28385 (patch)
tree1163ba15199a588937086e81a38d30574dd995e3 /target/csky
parent7c3f19d734704fbf243457db01a8653301abc3e3 (diff)
csky: works without dtb
Diffstat (limited to 'target/csky')
-rw-r--r--target/csky/Makefile6
-rw-r--r--target/csky/qemu.dtbbin1606 -> 0 bytes
-rw-r--r--target/csky/qemu.dts87
3 files changed, 3 insertions, 90 deletions
diff --git a/target/csky/Makefile b/target/csky/Makefile
index 7a470dafe..057f84f57 100644
--- a/target/csky/Makefile
+++ b/target/csky/Makefile
@@ -9,13 +9,13 @@ KERNEL:=$(LINUX_DIR)/$(ADK_TARGET_KERNEL)
QEMU_ARGS:=${ADK_QEMU_ARGS} -M virt
ifeq ($(ADK_TARGET_SYSTEM_QEMU_CSKY_CK610),y)
-QEMU:=qemu-system-cskyv1 -dtb target/csky/qemu.dtb
+QEMU:=qemu-system-cskyv1
endif
ifeq ($(ADK_TARGET_SYSTEM_QEMU_CSKY_CK807),y)
-QEMU:=qemu-system-cskyv2 -dtb target/csky/qemu.dtb
+QEMU:=qemu-system-cskyv2
endif
ifeq ($(ADK_TARGET_SYSTEM_QEMU_CSKY_CK810),y)
-QEMU:=qemu-system-cskyv2 -dtb target/csky/qemu.dtb
+QEMU:=qemu-system-cskyv2
endif
# target helper text
diff --git a/target/csky/qemu.dtb b/target/csky/qemu.dtb
deleted file mode 100644
index 8b24acfd2..000000000
--- a/target/csky/qemu.dtb
+++ /dev/null
Binary files differ
diff --git a/target/csky/qemu.dts b/target/csky/qemu.dts
deleted file mode 100644
index 44f57f352..000000000
--- a/target/csky/qemu.dts
+++ /dev/null
@@ -1,87 +0,0 @@
-/dts-v1/;
-
-/ {
- model = "qemu.csky";
- compatible = "csky";
- #address-cells = <1>;
- #size-cells = <1>;
-
- memory {
- device_type = "memory";
- reg = <0x0 0x40000000>;
- };
-
- soc {
- #address-cells = <1>;
- #size-cells = <1>;
- compatible = "simple-bus";
- ranges;
-
- intc: interrupt-controller {
- compatible = "csky,intc-v1";
- reg = <0xfffff000 0x1000>;
- interrupt-controller;
- #interrupt-cells = <1>;
- };
-
- /* clockevent */
- timer0 {
- compatible = "snps,dw-apb-timer";
- reg = <0xffffd000 0x1000>;
- clocks = <&dummy_apb>;
- clock-names = "timer";
- interrupts = <1>;
- interrupt-parent = <&intc>;
- };
-
- /* clocksource */
- timer1 {
- compatible = "snps,dw-apb-timer";
- reg = <0xffffd014 0x800>;
- clocks = <&dummy_apb>;
- clock-names = "timer";
- interrupts = <2>;
- interrupt-parent = <&intc>;
- };
-
- serial0 {
- compatible = "ns16550a";
- reg = <0xffffe000 0x1000>;
- interrupt-parent = <&intc>;
- interrupts = <3>;
- clocks = <&dummy_apb>;
- baud = <115200>;
- reg-shift = <2>;
- reg-io-width = <1>;
- };
-
- dummy_apb: apb-clock {
- compatible = "fixed-clock";
- clock-frequency = <40000000>;
- clock-output-names = "dummy_apb";
- #clock-cells = <0>;
- };
-
- gmac: ethernet {
- compatible = "snps,dwmac";
- reg = <0xffffa000 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 = <0xffffc000 0x1000>;
- };
- };
-
- chosen {
- bootargs = "console=ttyS0,115200";
- };
-};