diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2015-10-28 19:06:10 +0530 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-10-28 19:50:26 +0530 |
commit | 29e332261d2ae0900e3befffd90cd70594cd7a84 (patch) | |
tree | a55f6160b622b245d6de1c776edf4dbd9c060203 /arch/arc/boot | |
parent | 45890f6d34e70d9dd194bd1729eba3ff72cabf78 (diff) | |
download | op-kernel-dev-29e332261d2ae0900e3befffd90cd70594cd7a84.zip op-kernel-dev-29e332261d2ae0900e3befffd90cd70594cd7a84.tar.gz |
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 911f069..b0eb0e7 100644 --- a/arch/arc/boot/dts/nsim_hs.dts +++ b/arch/arc/boot/dts/nsim_hs.dts @@ -11,8 +11,16 @@ / { compatible = "snps,nsim_hs"; + #address-cells = <2>; + #size-cells = <2>; interrupt-parent = <&core_intc>; + memory { + device_type = "memory"; + reg = <0x0 0x80000000 0x0 0x40000000 /* 1 GB low mem */ + 0x1 0x00000000 0x0 0x40000000>; /* 1 GB highmem */ + }; + chosen { bootargs = "earlycon=arc_uart,mmio32,0xc0fc1000,115200n8 console=ttyARC0,115200n8"; }; @@ -26,8 +34,8 @@ #address-cells = <1>; #size-cells = <1>; - /* child and parent address space 1:1 mapped */ - ranges; + /* only perip space at end of low mem accessible */ + ranges = <0x80000000 0x0 0x80000000 0x80000000>; core_intc: core-interrupt-controller { compatible = "snps,archs-intc"; |