From c77086b5f7e42ac48b84c3d9cddec20701f28385 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Tue, 1 Oct 2019 13:10:01 +0200 Subject: csky: works without dtb --- target/csky/Makefile | 6 ++-- target/csky/qemu.dtb | Bin 1606 -> 0 bytes target/csky/qemu.dts | 87 --------------------------------------------------- 3 files changed, 3 insertions(+), 90 deletions(-) delete mode 100644 target/csky/qemu.dtb delete mode 100644 target/csky/qemu.dts (limited to 'target') 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 Binary files a/target/csky/qemu.dtb and /dev/null 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"; - }; -}; -- cgit v1.2.3