Skip to content

Commit 14fa486

Browse files
Eugeniy Paltsevvineetgarc
authored andcommitted
ARC: HAPS: add HIGHMEM memory zone to DTS
This is required as a preparation of merging nSIM and HASP defonfig and device tree. As we have HIGHMEM disabled in both HAPS and nSIM defconfigs this doesn't lead to any functional change. Signed-off-by: Eugeniy Paltsev <[email protected]> Signed-off-by: Vineet Gupta <[email protected]>
1 parent 3696fc9 commit 14fa486

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

arch/arc/boot/dts/haps_hs.dts

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@
99
/ {
1010
model = "snps,zebu_hs";
1111
compatible = "snps,zebu_hs";
12-
#address-cells = <1>;
13-
#size-cells = <1>;
12+
#address-cells = <2>;
13+
#size-cells = <2>;
1414
interrupt-parent = <&core_intc>;
1515

1616
memory {
1717
device_type = "memory";
18-
reg = <0x80000000 0x20000000>; /* 512 */
18+
/* CONFIG_LINUX_RAM_BASE needs to match low mem start */
19+
reg = <0x0 0x80000000 0x0 0x20000000 /* 512 MB low mem */
20+
0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */
1921
};
2022

2123
chosen {
@@ -31,8 +33,9 @@
3133
#address-cells = <1>;
3234
#size-cells = <1>;
3335

34-
/* child and parent address space 1:1 mapped */
35-
ranges;
36+
/* only perip space at end of low mem accessible
37+
bus addr, parent bus addr, size */
38+
ranges = <0x80000000 0x0 0x80000000 0x80000000>;
3639

3740
core_clk: core_clk {
3841
#clock-cells = <0>;

0 commit comments

Comments
 (0)