Skip to contentSkip to conversation

arm64: dts: ls1012a: Add FRWY-LS1012A board support

PATCH New Pramod Kumar 2 participants 2 messages Sep 4, 2018 – Sep 25, 2018

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm64: dts: ls1012a: Add FRWY-LS1012A board support

From: Bhaskar Upadhaya <[email protected]>

FRWY-LS1012A is a different design from LS1012A-FRDM, but has some common SoC features. Key feature on this board is Micro SD, USB 3.0, DDR, UART.

---
changes in v1:
1. fix license identifier
2. remove pcie node

 arch/arm64/boot/dts/freescale/Makefile        |  1 +
 .../boot/dts/freescale/fsl-ls1012a-frwy.dts   | 26 +++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
arch/arm64/boot/dts/freescale/Makefile +1 -0
index 86e18adb695a..d1161442ff2f 100644
@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-rdb.dtb
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts new file +26 -0
new file mode 100644
index 000000000000..e75a8dc0dda5
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree file for Freescale LS1012A FRWY Board.
+ *
+ * Copyright 2018 NXP
+ *
+ * Pramod Kumar <[email protected]>
+ *
+ */
+/dts-v1/;
+
+#include "fsl-ls1012a.dtsi"
+
+/ {
+	model = "LS1012A FRWY Board";
+	compatible = "fsl,frwy-ls1012a", "fsl,ls1012a";
+
+};
+
+&duart0 {
+	status = "okay";
+};
+
+&i2c0 {
+	status = "okay";
+};
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 arm64: dts: ls1012a: Add FRWY-LS1012A board support

Please copy Li Yang <[email protected]> who has been added to MAINTAINERS as co-maintainer for LayerScape platform.

Quoted 3 lines · Pramod Kumar

From: Bhaskar Upadhaya <[email protected]>

FRWY-LS1012A is a different design from LS1012A-FRDM,

LS1012A-FRWY is more consistent?

Quoted 20 lines

but has some common SoC features. Key feature on this board is Micro SD, USB 3.0, DDR, UART.

---
changes in v1:
1. fix license identifier
2. remove pcie node

 arch/arm64/boot/dts/freescale/Makefile        |  1 +
 .../boot/dts/freescale/fsl-ls1012a-frwy.dts   | 26 +++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts
arch/arm64/boot/dts/freescale/Makefile +0 -0
index 86e18adb695a..d1161442ff2f 100644

arch/arm64/boot/dts/freescale/Makefile line 2

Quoted 2 lines
arch/arm64/boot/dts/freescale/Makefile +1 -0
@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
+dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frwy.dtb

In alphabetic order, it should go after fsl-ls1012a-frdm.dtb.

Quoted 15 lines
arch/arm64/boot/dts/freescale/Makefile +0 -0
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-frdm.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-qds.dtb
 dtb-$(CONFIG_ARCH_LAYERSCAPE) += fsl-ls1012a-rdb.dtb
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts new file +6 -0
new file mode 100644
index 000000000000..e75a8dc0dda5
@@ -0,0 +1,26 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree file for Freescale LS1012A FRWY Board.
+ *
+ * Copyright 2018 NXP
+ *

arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts line 16

Quoted 10 lines
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts new file +10 -0
+ * Pramod Kumar <[email protected]>
+ *
+ */
+/dts-v1/;
+
+#include "fsl-ls1012a.dtsi"
+
+/ {
+	model = "LS1012A FRWY Board";
+	compatible = "fsl,frwy-ls1012a", "fsl,ls1012a";

I think fsl,<soc>-xxx is the idiomatic approach we define a compatible. Also the board compatible should be documented.

arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts line 17

Quoted 1 line
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts new file +1 -0
+

Unneeded newline.

Shawn

Quoted 17 lines
arch/arm64/boot/dts/freescale/fsl-ls1012a-frwy.dts new file +9 -0
+};
+
+&duart0 {
+	status = "okay";
+};
+
+&i2c0 {
+	status = "okay";
+};
Signature · 7 lines
2.17.1


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel