Skip to contentSkip to conversation

arm64: dts: Add dts files for LG Electronics's lg1313 SoC

PATCH Applied Chanho Min 2 participants 4 messages Jun 1, 2016 – Jun 3, 2016

Subsystems (2)
lore
Share & tools
lore

Chanho Min

author maintainer
#0 lore raw

PATCH 1/2 arm64: dts: Add dts files for LG Electronics's lg1313 SoC

Add dtsi file to support lg1313 SoC which based on Cortex-A53. Also add dts file to support lg1312 reference board which based on lg1313 SoC.

---
 arch/arm64/boot/dts/lg/Makefile       |    1 +
 arch/arm64/boot/dts/lg/lg1313-ref.dts |   36 ++++
 arch/arm64/boot/dts/lg/lg1313.dtsi    |  351 +++++++++++++++++++++++++++++++++
 3 files changed, 388 insertions(+)
 create mode 100644 arch/arm64/boot/dts/lg/lg1313-ref.dts
 create mode 100644 arch/arm64/boot/dts/lg/lg1313.dtsi
arch/arm64/boot/dts/lg/Makefile +1 -0
index b0cc649..5c7b54c1 100644
@@ -1,4 +1,5 @@
 dtb-$(CONFIG_ARCH_LG1K) += lg1312-ref.dtb
+dtb-$(CONFIG_ARCH_LG1K) += lg1313-ref.dtb
 
 always		:= $(dtb-y)
 subdir-y	:= $(dts-dirs)
arch/arm64/boot/dts/lg/lg1313-ref.dts new file +36 -0
new file mode 100644
index 0000000..df0ece4
@@ -0,0 +1,36 @@
+/*
+ * dts file for lg1313 Reference Board.
+ *
+ * Copyright (C) 2016, LG Electronics
+ */
+
+/dts-v1/;
+
+#include "lg1313.dtsi"
+
+/ {
+	#address-cells = <2>;
+	#size-cells = <1>;
+
+	model = "LG Electronics, DTV SoC LG1313 Reference Board";
+	compatible = "lge,lg1313-ref", "lge,lg1313";
+
+	aliases {
+		serial0 = &uart0;
+		serial1 = &uart1;
+		serial2 = &uart2;
+	};
+
+	memory {
+		device_type = "memory";
+		reg = <0x0 0x00000000 0x20000000>;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+};
+
+&uart0 {
+	status = "okay";
+};
arch/arm64/boot/dts/lg/lg1313.dtsi new file +351 -0

351 lines not on this page · raw message

Signature · 1 line
1.7.9.5
author maintainer
#1 lore raw

PATCH 2/2 arm64: defconfig: Enable Cadence MACB/GEM support

This patch enables the cadence MACB/GEM support that is needed by lg1k SoCs.

---
 arch/arm64/configs/defconfig |    1 +
 1 file changed, 1 insertion(+)
arch/arm64/configs/defconfig +1 -0
index fd2d74d..4edbbac 100644
@@ -120,6 +120,7 @@ CONFIG_TUN=y
 CONFIG_VIRTIO_NET=y
 CONFIG_AMD_XGBE=y
 CONFIG_NET_XGENE=y
+CONFIG_MACB=y
 CONFIG_E1000E=y
 CONFIG_IGB=y
 CONFIG_IGBVF=y
Signature · 1 line
1.7.9.5
#2 lore raw

Re: [PATCH 2/2] arm64: defconfig: Enable Cadence MACB/GEM support

Quoted 7 lines · Chanho Min

This patch enables the cadence MACB/GEM support that is needed by lg1k SoCs.

---
 arch/arm64/configs/defconfig |    1 +
 1 file changed, 1 insertion(+)

Thanks, applied to next/arm64 for 4.8.

-Olof