Skip to content

Commit

Permalink
arm64: dts: Add dts files for LG Electronics's lg1312 SoC
Browse files Browse the repository at this point in the history
Add initial dtsi file to support lg1312 SoC which based on
Cortex-A53. Also add dts file to support lg1312 reference board
which based on lg1312 SoC.

Signed-off-by: Chanho Min <chanho.min@lge.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
  • Loading branch information
Chanho Min authored and Olof Johansson committed Apr 13, 2016
1 parent 49695df commit 56a0ecc
Show file tree
Hide file tree
Showing 4 changed files with 393 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ dts-dirs += rockchip
dts-dirs += socionext
dts-dirs += sprd
dts-dirs += xilinx
dts-dirs += lg

subdir-y := $(dts-dirs)

Expand Down
5 changes: 5 additions & 0 deletions arch/arm64/boot/dts/lg/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb

always := $(dtb-y)
subdir-y := $(dts-dirs)
clean-files := *.dtb
36 changes: 36 additions & 0 deletions arch/arm64/boot/dts/lg/lg1312-ref.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
/*
* dts file for lg1312 Reference Board.
*
* Copyright (C) 2016, LG Electronics
*/

/dts-v1/;

#include "lg1312.dtsi"

/ {
#address-cells = <2>;
#size-cells = <1>;

model = "LG Electronics, DTV SoC LG1312 Reference Board";
compatible = "lge,lg1312-ref", "lge,lg1312";

aliases {
serial0 = &uart0;
serial1 = &uart1;
serial2 = &uart2;
};

memory {
device_type = "memory";
reg = <0x0 0x00000000 0x20000000>;
};

chosen {
stdout-path = "serial0:115200n8";
};
};

&uart0 {
status = "okay";
};
Loading

0 comments on commit 56a0ecc

Please sign in to comment.