Browse Source

Update .dts file for dc and gpu drivers

Target:LS2K

Change-Id: I24240e0687557ba14f0edc77744fedddec665e50
Signed-off-by: Xuefeng Li <lixuefeng@loongson.cn>
master
Xuefeng Li 7 years ago
parent
commit
4175da0b3f
  1. 13
      Targets/LS2K/conf/ls2k.dts

13
Targets/LS2K/conf/ls2k.dts

@ -13,8 +13,8 @@
memory {
name = "memory";
device_type = "memory";
reg = <0 0x00200000 0 0x09e00000 // 158MiB at 2MiB
1 0x10000000 1 0xd0000000>; // 7424MiB at 4352MiB
reg = <0 0x00200000 0 0x09800000 // 216MiB at 2MiB
1 0x10000000 1 0xb0000000>; // 7424 - 512 MiB at 4352MiB
};
// all soc device use 32bit address
@ -25,7 +25,9 @@
#size-cells = <1>;
ranges = <0x10000000 0 0x10000000 0x10000000
0x40000000 0 0x40000000 0x40000000
0x0a000000 0 0x0a000000 0x05000000>;
0x20000000 0 0x20000000 0x20000000
0x0d000000 0 0x0d000000 0x02000000>;
/*dma-coherent;*/
not-coherent;
nr_cpus_loongson = <2>;
@ -59,7 +61,8 @@
dc@0x400c0000 {
compatible = "loongson,ls-fb";
reg = <0x400c0000 0xffff>;
reg = <0x400c0000 0xffff
0x0d000000 0x2000000>;
interrupt-parent = <&icu>;
interrupts = <36>;
};
@ -67,7 +70,7 @@
gpu@0x40080000 {
compatible = "loongson,galcore";
reg = <0x40080000 0x3ffff
0x0a000000 0x5000000>;
0x20000000 0x1f000000>;
interrupt-parent = <&icu>;
interrupts = <37>;
};

Loading…
Cancel
Save