Skip to content

Commit 72cf9b2

Browse files
committed
ast1060: Add write commands for SPI filter
Add write commands 02h and 12h for SPI filter. Change-Id: Iae3881e7a6a2ed2b8ee1a0adb54ad9e90ddb03e7 Signed-off-by: Chin-Ting Kuo <[email protected]>
1 parent 628ddb3 commit 72cf9b2

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

boards/arm/ast1060_evb/ast1060_evb.dts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
};
111111

112112
&spim1 {
113-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
113+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
114114
read-forbidden-regions = <0x00000000 0x10000>;
115115
write-forbidden-regions = <0x00000000 0x10000>;
116116
log-ram-info = <0xBF000 0x400>;
@@ -119,7 +119,7 @@
119119
};
120120

121121
&spim2 {
122-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
122+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
123123
read-forbidden-regions = <0x00000000 0x10000>;
124124
write-forbidden-regions = <0x00000000 0x10000>;
125125
log-ram-info = <0xBF400 0x400>;
@@ -128,7 +128,7 @@
128128
};
129129

130130
&spim3 {
131-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
131+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
132132
read-forbidden-regions = <0x00000000 0x10000>;
133133
write-forbidden-regions = <0x00000000 0x10000>;
134134
log-ram-info = <0xBF800 0x400>;
@@ -137,7 +137,7 @@
137137
};
138138

139139
&spim4 {
140-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
140+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
141141
read-forbidden-regions = <0x00000000 0x10000>;
142142
write-forbidden-regions = <0x00000000 0x10000>;
143143
log-ram-info = <0xBFC00 0x400>;

samples/boards/ast1060_evb/demo/boards/ast1060_evb.overlay

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178
};
179179

180180
&spim1 {
181-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
181+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
182182
read-forbidden-regions = <0x00000000 0x10000>;
183183
write-forbidden-regions = <0x00000000 0x10000>;
184184
log-ram-info = <0xBF000 0x400>;
@@ -187,7 +187,7 @@
187187
};
188188

189189
&spim2 {
190-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
190+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
191191
read-forbidden-regions = <0x00000000 0x10000>;
192192
write-forbidden-regions = <0x00000000 0x10000>;
193193
log-ram-info = <0xBF400 0x400>;
@@ -196,7 +196,7 @@
196196
};
197197

198198
&spim3 {
199-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
199+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
200200
read-forbidden-regions = <0x00000000 0x10000>;
201201
write-forbidden-regions = <0x00000000 0x10000>;
202202
log-ram-info = <0xBF800 0x400>;
@@ -205,7 +205,7 @@
205205
};
206206

207207
&spim4 {
208-
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc];
208+
valid-cmds = [03 13 0b 0c 6b 6c 01 05 35 06 04 20 21 9f 5a b7 e9 32 34 d8 dc 02 12];
209209
read-forbidden-regions = <0x00000000 0x10000>;
210210
write-forbidden-regions = <0x00000000 0x10000>;
211211
log-ram-info = <0xBFC00 0x400>;

0 commit comments

Comments
 (0)