Commit 21cee1bd authored by Vineet Gupta's avatar Vineet Gupta

ARC: [hsdk] Make it easier to add PAE40 region to DTB

1. Bump top level address-cells/size-cells nodes to 2 (to ensure all
   down stream addresses are 64-bits, unless explicitly specified
   otherwise (in "soc" bus with all peripherals)

2. "memory" also specified with address/size 2

3. Add a commented reference for PAE40 region beyond 4GB physical
   address space
Signed-off-by: default avatarVineet Gupta <vgupta@synopsys.com>
parent 99bd5fcc
...@@ -18,8 +18,8 @@ / { ...@@ -18,8 +18,8 @@ / {
model = "snps,hsdk"; model = "snps,hsdk";
compatible = "snps,hsdk"; compatible = "snps,hsdk";
#address-cells = <1>; #address-cells = <2>;
#size-cells = <1>; #size-cells = <2>;
chosen { chosen {
bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1";
...@@ -105,7 +105,7 @@ soc { ...@@ -105,7 +105,7 @@ soc {
#size-cells = <1>; #size-cells = <1>;
interrupt-parent = <&idu_intc>; interrupt-parent = <&idu_intc>;
ranges = <0x00000000 0xf0000000 0x10000000>; ranges = <0x00000000 0x0 0xf0000000 0x10000000>;
cgu_rst: reset-controller@8a0 { cgu_rst: reset-controller@8a0 {
compatible = "snps,hsdk-reset"; compatible = "snps,hsdk-reset";
...@@ -269,9 +269,10 @@ dmac: dmac@80000 { ...@@ -269,9 +269,10 @@ dmac: dmac@80000 {
}; };
memory@80000000 { memory@80000000 {
#address-cells = <1>; #address-cells = <2>;
#size-cells = <1>; #size-cells = <2>;
device_type = "memory"; device_type = "memory";
reg = <0x80000000 0x40000000>; /* 1 GiB */ reg = <0x0 0x80000000 0x0 0x40000000>; /* 1 GB lowmem */
/* 0x1 0x00000000 0x0 0x40000000>; 1 GB highmem */
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment