diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-01 13:10:01 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2019-10-01 13:11:02 +0200 |
commit | c77086b5f7e42ac48b84c3d9cddec20701f28385 (patch) | |
tree | 1163ba15199a588937086e81a38d30574dd995e3 | |
parent | 7c3f19d734704fbf243457db01a8653301abc3e3 (diff) |
csky: works without dtb
-rw-r--r-- | target/csky/Makefile | 6 | ||||
-rw-r--r-- | target/csky/qemu.dtb | bin | 1606 -> 0 bytes | |||
-rw-r--r-- | target/csky/qemu.dts | 87 |
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 Binary files differdeleted file mode 100644 index 8b24acfd2..000000000 --- a/target/csky/qemu.dtb +++ /dev/null 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"; - }; -}; |