blob: 44f57f352ff3eaea2333fc480f395c30204628a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
|
/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";
};
};
|