blob: de5ad3d0a92205baf38ad211145e20197da6cbca (
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
88
89
90
91
92
93
94
95
96
97
98
|
/dts-v1/;
/ {
model = "qemu.csky.ck810";
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 = <0x417d>;
hint = <0xe>;
};
};
soc {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges;
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>;
};
dummy_apb: apb-clock {
compatible = "fixed-clock";
clock-frequency = <40000000>;
clock-output-names = "dummy_apb";
#clock-cells = <0>;
};
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 rdinit=/sbin/init root=/dev/ram0";
};
};
|