diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-10-28 09:36:10 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-10-28 10:20:26 -0400 |
commit | 29e332261d2ae0900e3befffd90cd70594cd7a84 (patch) | |
tree | a55f6160b622b245d6de1c776edf4dbd9c060203 /arch/arc/boot | |
parent | 45890f6d34e70d9dd194bd1729eba3ff72cabf78 (diff) |
ARC: mm: HIGHMEM: populate high memory from DT
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/boot')
-rw-r--r-- | arch/arc/boot/dts/nsim_hs.dts | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/arch/arc/boot/dts/nsim_hs.dts b/arch/arc/boot/dts/nsim_hs.dts index 911f069e0540..b0eb0e7fe21d 100644 --- a/arch/arc/boot/dts/nsim_hs.dts +++ b/arch/arc/boot/dts/nsim_hs.dts | |||
@@ -11,8 +11,16 @@ | |||
11 | 11 | ||
12 | / { | 12 | / { |
13 | compatible = "snps,nsim_hs"; | 13 | compatible = "snps,nsim_hs"; |
14 | #address-cells = <2>; | ||
15 | #size-cells = <2>; | ||
14 | interrupt-parent = <&core_intc>; | 16 | interrupt-parent = <&core_intc>; |
15 | 17 | ||
18 | memory { | ||
19 | device_type = "memory"; | ||
20 | reg = <0x0 0x80000000 0x0 0x40000000 /* 1 GB low mem */ | ||
21 | 0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */ | ||
22 | }; | ||
23 | |||
16 | chosen { | 24 | chosen { |
17 | bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8"; | 25 | bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8"; |
18 | }; | 26 | }; |
@@ -26,8 +34,8 @@ | |||
26 | #address-cells = <1>; | 34 | #address-cells = <1>; |
27 | #size-cells = <1>; | 35 | #size-cells = <1>; |
28 | 36 | ||
29 | /* child and parent address space 1:1 mapped */ | 37 | /* only perip space at end of low mem accessible */ |
30 | ranges; | 38 | ranges = <0x80000000 0x0 0x80000000 0x80000000>; |
31 | 39 | ||
32 | core_intc: core-interrupt-controller { | 40 | core_intc: core-interrupt-controller { |
33 | compatible = "snps,archs-intc"; | 41 | compatible = "snps,archs-intc"; |