]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
ARM: dts: keystone2: Do not use LPAE addresses in U-Boot
authorLokesh Vutla <lokeshvutla@ti.com>
Sat, 19 Sep 2015 09:30:19 +0000 (15:00 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 22 Oct 2015 18:19:51 +0000 (14:19 -0400)
Keystone dts files assumes that LPAE is enabled and top level root
node uses 64bit addresses. This breaks the keystone boot with
CONFIG_OF_CONTROL enabled. So do not use 64 bit addresse in U-Boot DT.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
arch/arm/dts/keystone.dtsi

index 72816d65f7ec3fcf5d7c47ce792ae57db369754b..9ab260fb87bb50fe0ec4ab48324b0994a042bc42 100644 (file)
@@ -13,8 +13,8 @@
 
 / {
        model = "Texas Instruments Keystone 2 SoC";
-       #address-cells = <2>;
-       #size-cells = <2>;
+       #address-cells = <1>;
+       #size-cells = <1>;
        interrupt-parent = <&gic>;
 
        aliases {
        };
 
        memory {
-               reg = <0x00000000 0x80000000 0x00000000 0x40000000>;
+               reg = <0x80000000 0x40000000>;
        };
 
        gic: interrupt-controller {
                compatible = "arm,cortex-a15-gic";
                #interrupt-cells = <3>;
                interrupt-controller;
-               reg = <0x0 0x02561000 0x0 0x1000>,
-                     <0x0 0x02562000 0x0 0x2000>,
-                     <0x0 0x02564000 0x0 0x1000>,
-                     <0x0 0x02566000 0x0 0x2000>;
+               reg = <0x02561000 0x1000>,
+                     <0x02562000 0x2000>,
+                     <0x02564000 0x1000>,
+                     <0x02566000 0x2000>;
                interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) |
                                IRQ_TYPE_LEVEL_HIGH)>;
        };
@@ -63,8 +63,7 @@
                #size-cells = <1>;
                compatible = "ti,keystone","simple-bus";
                interrupt-parent = <&gic>;
-               ranges = <0x0 0x0 0x0 0xc0000000>;
-               dma-ranges = <0x80000000 0x8 0x00000000 0x80000000>;
+               ranges;
 
                pllctrl: pll-controller@02310000 {
                        compatible = "ti,keystone-pllctrl", "syscon";