diff options
| author | Vineet Gupta <vgupta@synopsys.com> | 2019-04-02 15:10:44 -0400 |
|---|---|---|
| committer | Vineet Gupta <vgupta@synopsys.com> | 2019-04-02 15:11:01 -0400 |
| commit | 21cee1bd1594b2af6798ddffa97555b4bc3586e1 (patch) | |
| tree | f25ff3f0383a247d725e3fe280f60bf2ed3d88bf | |
| parent | 99bd5fcc505d65ea9c60619202f0b2d926eabbe9 (diff) | |
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: Vineet Gupta <vgupta@synopsys.com>
| -rw-r--r-- | arch/arc/boot/dts/hsdk.dts | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/arch/arc/boot/dts/hsdk.dts b/arch/arc/boot/dts/hsdk.dts index 69bc1c9e8e50..7425bb0f2d1b 100644 --- a/arch/arc/boot/dts/hsdk.dts +++ b/arch/arc/boot/dts/hsdk.dts | |||
| @@ -18,8 +18,8 @@ | |||
| 18 | model = "snps,hsdk"; | 18 | model = "snps,hsdk"; |
| 19 | compatible = "snps,hsdk"; | 19 | compatible = "snps,hsdk"; |
| 20 | 20 | ||
| 21 | #address-cells = <1>; | 21 | #address-cells = <2>; |
| 22 | #size-cells = <1>; | 22 | #size-cells = <2>; |
| 23 | 23 | ||
| 24 | chosen { | 24 | chosen { |
| 25 | bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; | 25 | bootargs = "earlycon=uart8250,mmio32,0xf0005000,115200n8 console=ttyS0,115200n8 debug print-fatal-signals=1"; |
| @@ -105,7 +105,7 @@ | |||
| 105 | #size-cells = <1>; | 105 | #size-cells = <1>; |
| 106 | interrupt-parent = <&idu_intc>; | 106 | interrupt-parent = <&idu_intc>; |
| 107 | 107 | ||
| 108 | ranges = <0x00000000 0xf0000000 0x10000000>; | 108 | ranges = <0x00000000 0x0 0xf0000000 0x10000000>; |
| 109 | 109 | ||
| 110 | cgu_rst: reset-controller@8a0 { | 110 | cgu_rst: reset-controller@8a0 { |
| 111 | compatible = "snps,hsdk-reset"; | 111 | compatible = "snps,hsdk-reset"; |
| @@ -269,9 +269,10 @@ | |||
| 269 | }; | 269 | }; |
| 270 | 270 | ||
| 271 | memory@80000000 { | 271 | memory@80000000 { |
| 272 | #address-cells = <1>; | 272 | #address-cells = <2>; |
| 273 | #size-cells = <1>; | 273 | #size-cells = <2>; |
| 274 | device_type = "memory"; | 274 | device_type = "memory"; |
| 275 | reg = <0x80000000 0x40000000>; /* 1 GiB */ | 275 | reg = <0x0 0x80000000 0x0 0x40000000>; /* 1 GB lowmem */ |
| 276 | /* 0x1 0x00000000 0x0 0x40000000>; 1 GB highmem */ | ||
| 276 | }; | 277 | }; |
| 277 | }; | 278 | }; |
