-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bl808-pine64-ox64.dts
190 lines (169 loc) · 4.2 KB
/
bl808-pine64-ox64.dts
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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/dts-v1/;
/ {
compatible = "pine64,ox64\0bflb,bl808";
#address-cells = <0x01>;
#size-cells = <0x01>;
model = "Pine64 Ox64";
cpus {
timebase-frequency = <0xf4240>;
#address-cells = <0x01>;
#size-cells = <0x00>;
cpu@0 {
compatible = "thead,c906\0riscv";
device_type = "cpu";
reg = <0x00>;
d-cache-block-size = <0x40>;
d-cache-sets = <0x100>;
d-cache-size = <0x8000>;
i-cache-block-size = <0x40>;
i-cache-sets = <0x80>;
i-cache-size = <0x8000>;
mmu-type = "riscv,sv39";
riscv,isa = "rv64imafdc";
phandle = <0x07>;
interrupt-controller {
compatible = "riscv,cpu-intc";
interrupt-controller;
#address-cells = <0x00>;
#interrupt-cells = <0x01>;
phandle = <0x06>;
};
};
};
xtal-clk {
compatible = "fixed-clock";
clock-frequency = <0x2625a00>;
clock-output-names = "xtal";
#clock-cells = <0x00>;
phandle = <0x04>;
};
sdh-clk {
compatible = "fixed-clock";
clock-frequency = <0x5b8d800>;
clock-output-names = "sdh";
#clock-cells = <0x00>;
phandle = <0x05>;
};
soc {
compatible = "simple-bus";
ranges;
interrupt-parent = <0x01>;
dma-noncoherent;
#address-cells = <0x01>;
#size-cells = <0x01>;
pinctrl@0x200008C4 {
compatible = "bflb,pinctrl";
reg = <0x200008c4 0x1000>;
gpio-controller;
#gpio-cells = <0x02>;
gpio-ranges = <0x02 0x00 0x00 0x2e>;
bflb,npins = <0x2e>;
status = "okay";
interrupt-controller;
#interrupt-cells = <0x02>;
interrupts-extended = <0x03 0x00 0x04 0x01>;
phandle = <0x02>;
sdh-pins {
pins = "GPIO0\0GPIO1\0GPIO2\0GPIO3\0GPIO4\0GPIO5";
function = "sdh";
phandle = <0x08>;
};
};
seceng@0x20004000 {
compatible = "bflb,seceng";
reg = <0x20004000 0x1000>;
status = "okay";
phandle = <0x09>;
};
serial@30002000 {
compatible = "bflb,bl808-uart";
reg = <0x30002000 0x1000>;
interrupts = <0x14 0x04>;
clocks = <0x04>;
status = "okay";
phandle = <0x0a>;
};
serial@0x2000AA00 {
compatible = "bflb,bl808-uart";
reg = <0x2000aa00 0x100>;
interrupts-extended = <0x03 0x00 0x01 0x01>;
mboxes = <0x03 0x00 0x01>;
clocks = <0x04>;
status = "okay";
phandle = <0x0b>;
};
sdhci@20060000 {
compatible = "bflb,bl808-sdhci";
reg = <0x20060000 0x100>;
interrupts-extended = <0x03 0x00 0x00 0x01>;
mboxes = <0x03 0x00 0x00>;
clocks = <0x05>;
status = "okay";
phandle = <0x0c>;
};
mailbox@30005000 {
compatible = "bflb,bl808-ipc";
reg = <0x30005000 0x20 0x30005020 0x20 0x2000a800 0x20 0x2000a820 0x20>;
interrupts = <0x36 0x04>;
interrupt-controller;
#interrupt-cells = <0x03>;
#mbox-cells = <0x02>;
status = "okay";
phandle = <0x03>;
};
interrupt-controller@e0000000 {
compatible = "thead,c900-plic";
reg = <0xe0000000 0x4000000>;
interrupts-extended = <0x06 0xffffffff 0x06 0x09>;
interrupt-controller;
#address-cells = <0x00>;
#interrupt-cells = <0x02>;
riscv,ndev = <0x40>;
phandle = <0x01>;
};
timer@e4000000 {
compatible = "thead,c900-clint";
reg = <0xe4000000 0xc000>;
interrupts-extended = <0x06 0x03 0x06 0x07>;
phandle = <0x0d>;
};
};
aliases {
serial0 = "/soc/serial@30002000";
serial1 = "/soc/serial@0x2000AA00";
};
chosen {
stdout-path = "serial0:2000000n8";
bootargs = "console=ttyS0,2000000 loglevel=8 earlycon=sbi root=PARTLABEL=rootfs rootwait rootfstype=ext4";
linux,initrd-start = <0x00 0x52000000>;
linux,initrd-end = <0x00 0x52941784>;
};
memory@50000000 {
device_type = "memory";
reg = <0x50000000 0x4000000>;
};
xip_flash@58500000 {
compatible = "mtd-rom";
reg = <0x58500000 0x400000>;
linux,mtd-name = "xip-flash.0";
erase-size = <0x10000>;
bank-width = <0x04>;
#address-cells = <0x01>;
#size-cells = <0x01>;
};
__symbols__ {
cpu0 = "/cpus/cpu@0";
cpu0_intc = "/cpus/cpu@0/interrupt-controller";
xtal = "/xtal-clk";
sdh = "/sdh-clk";
pinctrl = "/soc/pinctrl@0x200008C4";
sdh_pins = "/soc/pinctrl@0x200008C4/sdh-pins";
seceng = "/soc/seceng@0x20004000";
uart0 = "/soc/serial@30002000";
uart1 = "/soc/serial@0x2000AA00";
sdhci0 = "/soc/sdhci@20060000";
ipclic = "/soc/mailbox@30005000";
plic = "/soc/interrupt-controller@e0000000";
clint = "/soc/timer@e4000000";
};
};