arm64: dts: freescale: Rename DTB overlay source files from .dts to .dtso
authorAndrew Davis <afd@ti.com>
Mon, 24 Oct 2022 17:34:31 +0000 (12:34 -0500)
committerShawn Guo <shawnguo@kernel.org>
Sat, 19 Nov 2022 06:30:40 +0000 (14:30 +0800)
DTB Overlays (.dtbo) can now be built from source files with the
extension (.dtso). This makes it clear what is the content of the files
and differentiates them from base DTB source files.

Convert the DTB overlay source files in the arm64/freescale directory.

Signed-off-by: Andrew Davis <afd@ti.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
28 files changed:
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-13bb.dts [deleted file]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-13bb.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-65bb.dts [deleted file]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-65bb.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dts [deleted file]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dts [deleted file]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dts [deleted file]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-9999.dts [deleted file]
arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-9999.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso [new file with mode: 0644]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dts [deleted file]
arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso [new file with mode: 0644]

diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-13bb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-13bb.dts
deleted file mode 100644 (file)
index f826392..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Device Tree fragment for LS1028A QDS board, serdes 13bb
- *
- * Copyright 2019-2021 NXP
- *
- * Requires a LS1028A QDS board with lane B rework.
- * Requires a SCH-30841 card with lane A of connector rewired to PHY lane C.
- * Set-up is a SCH-30842 card in slot 1 and SCH-30841 in slot 2.
- */
-
-/dts-v1/;
-/plugin/;
-
-&mdio_slot1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       slot1_sgmii: ethernet-phy@2 {
-               /* AQR112 */
-               reg = <0x2>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-};
-
-&enetc_port0 {
-       phy-handle = <&slot1_sgmii>;
-       phy-mode = "usxgmii";
-       managed = "in-band-status";
-       status = "okay";
-};
-
-&mdio_slot2 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       /* 4 ports on AQR412 */
-       slot2_qxgmii0: ethernet-phy@0 {
-               reg = <0x0>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-
-       slot2_qxgmii1: ethernet-phy@1 {
-               reg = <0x1>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-
-       slot2_qxgmii2: ethernet-phy@2 {
-               reg = <0x2>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-
-       slot2_qxgmii3: ethernet-phy@3 {
-               reg = <0x3>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-};
-
-&mscc_felix_ports {
-       port@0 {
-               status = "okay";
-               phy-handle = <&slot2_qxgmii0>;
-               phy-mode = "usxgmii";
-               managed = "in-band-status";
-       };
-
-       port@1 {
-               status = "okay";
-               phy-handle = <&slot2_qxgmii1>;
-               phy-mode = "usxgmii";
-               managed = "in-band-status";
-       };
-
-       port@2 {
-               status = "okay";
-               phy-handle = <&slot2_qxgmii2>;
-               phy-mode = "usxgmii";
-               managed = "in-band-status";
-       };
-
-       port@3 {
-               status = "okay";
-               phy-handle = <&slot2_qxgmii3>;
-               phy-mode = "usxgmii";
-               managed = "in-band-status";
-       };
-};
-
-&mscc_felix {
-       status = "okay";
-};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-13bb.dtso b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-13bb.dtso
new file mode 100644 (file)
index 0000000..f826392
--- /dev/null
@@ -0,0 +1,91 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree fragment for LS1028A QDS board, serdes 13bb
+ *
+ * Copyright 2019-2021 NXP
+ *
+ * Requires a LS1028A QDS board with lane B rework.
+ * Requires a SCH-30841 card with lane A of connector rewired to PHY lane C.
+ * Set-up is a SCH-30842 card in slot 1 and SCH-30841 in slot 2.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&mdio_slot1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       slot1_sgmii: ethernet-phy@2 {
+               /* AQR112 */
+               reg = <0x2>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+};
+
+&enetc_port0 {
+       phy-handle = <&slot1_sgmii>;
+       phy-mode = "usxgmii";
+       managed = "in-band-status";
+       status = "okay";
+};
+
+&mdio_slot2 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       /* 4 ports on AQR412 */
+       slot2_qxgmii0: ethernet-phy@0 {
+               reg = <0x0>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+
+       slot2_qxgmii1: ethernet-phy@1 {
+               reg = <0x1>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+
+       slot2_qxgmii2: ethernet-phy@2 {
+               reg = <0x2>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+
+       slot2_qxgmii3: ethernet-phy@3 {
+               reg = <0x3>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+};
+
+&mscc_felix_ports {
+       port@0 {
+               status = "okay";
+               phy-handle = <&slot2_qxgmii0>;
+               phy-mode = "usxgmii";
+               managed = "in-band-status";
+       };
+
+       port@1 {
+               status = "okay";
+               phy-handle = <&slot2_qxgmii1>;
+               phy-mode = "usxgmii";
+               managed = "in-band-status";
+       };
+
+       port@2 {
+               status = "okay";
+               phy-handle = <&slot2_qxgmii2>;
+               phy-mode = "usxgmii";
+               managed = "in-band-status";
+       };
+
+       port@3 {
+               status = "okay";
+               phy-handle = <&slot2_qxgmii3>;
+               phy-mode = "usxgmii";
+               managed = "in-band-status";
+       };
+};
+
+&mscc_felix {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-65bb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-65bb.dts
deleted file mode 100644 (file)
index b949cac..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Device Tree fragment for LS1028A QDS board, serdes 69xx
- *
- * Copyright 2019-2021 NXP
- *
- * Requires a LS1028A QDS board with lane B rework.
- * Requires a SCH-30842 card in slot 1 and a SCH-28021 card in slot 2.
- */
-
-/dts-v1/;
-/plugin/;
-
-&mdio_slot1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       slot1_sgmii: ethernet-phy@2 {
-               /* AQR112 */
-               reg = <0x2>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-};
-
-&enetc_port0 {
-       phy-handle = <&slot1_sgmii>;
-       phy-mode = "2500base-x";
-       status = "okay";
-};
-
-&mdio_slot2 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       /* 4 ports on VSC8514 */
-       slot2_qsgmii0: ethernet-phy@8 {
-               reg = <0x8>;
-       };
-
-       slot2_qsgmii1: ethernet-phy@9 {
-               reg = <0x9>;
-       };
-
-       slot2_qsgmii2: ethernet-phy@a {
-               reg = <0xa>;
-       };
-
-       slot2_qsgmii3: ethernet-phy@b {
-               reg = <0xb>;
-       };
-};
-
-&mscc_felix_ports {
-       port@0 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii0>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-
-       port@1 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii1>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-
-       port@2 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii2>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-
-       port@3 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii3>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-};
-
-&mscc_felix {
-       status = "okay";
-};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-65bb.dtso b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-65bb.dtso
new file mode 100644 (file)
index 0000000..b949cac
--- /dev/null
@@ -0,0 +1,85 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree fragment for LS1028A QDS board, serdes 69xx
+ *
+ * Copyright 2019-2021 NXP
+ *
+ * Requires a LS1028A QDS board with lane B rework.
+ * Requires a SCH-30842 card in slot 1 and a SCH-28021 card in slot 2.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&mdio_slot1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       slot1_sgmii: ethernet-phy@2 {
+               /* AQR112 */
+               reg = <0x2>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+};
+
+&enetc_port0 {
+       phy-handle = <&slot1_sgmii>;
+       phy-mode = "2500base-x";
+       status = "okay";
+};
+
+&mdio_slot2 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       /* 4 ports on VSC8514 */
+       slot2_qsgmii0: ethernet-phy@8 {
+               reg = <0x8>;
+       };
+
+       slot2_qsgmii1: ethernet-phy@9 {
+               reg = <0x9>;
+       };
+
+       slot2_qsgmii2: ethernet-phy@a {
+               reg = <0xa>;
+       };
+
+       slot2_qsgmii3: ethernet-phy@b {
+               reg = <0xb>;
+       };
+};
+
+&mscc_felix_ports {
+       port@0 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii0>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+
+       port@1 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii1>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+
+       port@2 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii2>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+
+       port@3 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii3>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+};
+
+&mscc_felix {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dts
deleted file mode 100644 (file)
index 1dff68d..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Device Tree fragment for LS1028A QDS board, serdes 7777
- *
- * Copyright 2019-2021 NXP
- *
- * Requires a LS1028A QDS board without lane B rework.
- * Requires a SCH-30841 card without lane A/C rewire and with a FW with muxing
- * disabled, plugged in slot 1.
- */
-
-/dts-v1/;
-/plugin/;
-
-&mdio_slot1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       /* 4 ports on AQR412 */
-       slot1_sxgmii0: ethernet-phy@0 {
-               reg = <0x0>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-
-       slot1_sxgmii1: ethernet-phy@1 {
-               reg = <0x1>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-
-       slot1_sxgmii2: ethernet-phy@2 {
-               reg = <0x2>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-
-       slot1_sxgmii3: ethernet-phy@3 {
-               reg = <0x3>;
-               compatible = "ethernet-phy-ieee802.3-c45";
-       };
-};
-
-&mscc_felix_ports {
-       port@0 {
-               status = "okay";
-               phy-handle = <&slot1_sxgmii0>;
-               phy-mode = "2500base-x";
-       };
-
-       port@1 {
-               status = "okay";
-               phy-handle = <&slot1_sxgmii1>;
-               phy-mode = "2500base-x";
-       };
-
-       port@2 {
-               status = "okay";
-               phy-handle = <&slot1_sxgmii2>;
-               phy-mode = "2500base-x";
-       };
-
-       port@3 {
-               status = "okay";
-               phy-handle = <&slot1_sxgmii3>;
-               phy-mode = "2500base-x";
-       };
-};
-
-&mscc_felix {
-       status = "okay";
-};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dtso b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-7777.dtso
new file mode 100644 (file)
index 0000000..1dff68d
--- /dev/null
@@ -0,0 +1,69 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree fragment for LS1028A QDS board, serdes 7777
+ *
+ * Copyright 2019-2021 NXP
+ *
+ * Requires a LS1028A QDS board without lane B rework.
+ * Requires a SCH-30841 card without lane A/C rewire and with a FW with muxing
+ * disabled, plugged in slot 1.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&mdio_slot1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       /* 4 ports on AQR412 */
+       slot1_sxgmii0: ethernet-phy@0 {
+               reg = <0x0>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+
+       slot1_sxgmii1: ethernet-phy@1 {
+               reg = <0x1>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+
+       slot1_sxgmii2: ethernet-phy@2 {
+               reg = <0x2>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+
+       slot1_sxgmii3: ethernet-phy@3 {
+               reg = <0x3>;
+               compatible = "ethernet-phy-ieee802.3-c45";
+       };
+};
+
+&mscc_felix_ports {
+       port@0 {
+               status = "okay";
+               phy-handle = <&slot1_sxgmii0>;
+               phy-mode = "2500base-x";
+       };
+
+       port@1 {
+               status = "okay";
+               phy-handle = <&slot1_sxgmii1>;
+               phy-mode = "2500base-x";
+       };
+
+       port@2 {
+               status = "okay";
+               phy-handle = <&slot1_sxgmii2>;
+               phy-mode = "2500base-x";
+       };
+
+       port@3 {
+               status = "okay";
+               phy-handle = <&slot1_sxgmii3>;
+               phy-mode = "2500base-x";
+       };
+};
+
+&mscc_felix {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dts
deleted file mode 100644 (file)
index 19424d3..0000000
+++ /dev/null
@@ -1,85 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Device Tree fragment for LS1028A QDS board, serdes 85bb
- *
- * Copyright 2019-2021 NXP
- *
- * Requires a LS1028A QDS board with lane B rework.
- * Requires a SCH-24801 card in slot 1 and a SCH-28021 card in slot 2.
- */
-
-/dts-v1/;
-/plugin/;
-
-&mdio_slot1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       slot1_sgmii: ethernet-phy@1c {
-               /* 1st port on VSC8234 */
-               reg = <0x1c>;
-       };
-};
-
-&enetc_port0 {
-       phy-handle = <&slot1_sgmii>;
-       phy-mode = "sgmii";
-       managed = "in-band-status";
-       status = "okay";
-};
-
-&mdio_slot2 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       /* 4 ports on VSC8514 */
-       slot2_qsgmii0: ethernet-phy@8 {
-               reg = <0x8>;
-       };
-
-       slot2_qsgmii1: ethernet-phy@9 {
-               reg = <0x9>;
-       };
-
-       slot2_qsgmii2: ethernet-phy@a {
-               reg = <0xa>;
-       };
-
-       slot2_qsgmii3: ethernet-phy@b {
-               reg = <0xb>;
-       };
-};
-
-&mscc_felix_ports {
-       port@0 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii0>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-
-       port@1 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii1>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-
-       port@2 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii2>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-
-       port@3 {
-               status = "okay";
-               phy-handle = <&slot2_qsgmii3>;
-               phy-mode = "qsgmii";
-               managed = "in-band-status";
-       };
-};
-
-&mscc_felix {
-       status = "okay";
-};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dtso b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-85bb.dtso
new file mode 100644 (file)
index 0000000..19424d3
--- /dev/null
@@ -0,0 +1,85 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree fragment for LS1028A QDS board, serdes 85bb
+ *
+ * Copyright 2019-2021 NXP
+ *
+ * Requires a LS1028A QDS board with lane B rework.
+ * Requires a SCH-24801 card in slot 1 and a SCH-28021 card in slot 2.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&mdio_slot1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       slot1_sgmii: ethernet-phy@1c {
+               /* 1st port on VSC8234 */
+               reg = <0x1c>;
+       };
+};
+
+&enetc_port0 {
+       phy-handle = <&slot1_sgmii>;
+       phy-mode = "sgmii";
+       managed = "in-band-status";
+       status = "okay";
+};
+
+&mdio_slot2 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       /* 4 ports on VSC8514 */
+       slot2_qsgmii0: ethernet-phy@8 {
+               reg = <0x8>;
+       };
+
+       slot2_qsgmii1: ethernet-phy@9 {
+               reg = <0x9>;
+       };
+
+       slot2_qsgmii2: ethernet-phy@a {
+               reg = <0xa>;
+       };
+
+       slot2_qsgmii3: ethernet-phy@b {
+               reg = <0xb>;
+       };
+};
+
+&mscc_felix_ports {
+       port@0 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii0>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+
+       port@1 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii1>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+
+       port@2 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii2>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+
+       port@3 {
+               status = "okay";
+               phy-handle = <&slot2_qsgmii3>;
+               phy-mode = "qsgmii";
+               managed = "in-band-status";
+       };
+};
+
+&mscc_felix {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dts
deleted file mode 100644 (file)
index fb85847..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Device Tree fragment for LS1028A QDS board, serdes 85xx
- *
- * Copyright 2019-2021 NXP
- *
- * Requires a LS1028A QDS board without lane B rework.
- * Requires a SCH-24801 card in slot 1.
- */
-
-/dts-v1/;
-/plugin/;
-
-&mdio_slot1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       /* VSC8234 */
-       slot1_sgmii0: ethernet-phy@1c {
-               reg = <0x1c>;
-       };
-
-       slot1_sgmii1: ethernet-phy@1d {
-               reg = <0x1d>;
-       };
-
-       slot1_sgmii2: ethernet-phy@1e {
-               reg = <0x1e>;
-       };
-
-       slot1_sgmii3: ethernet-phy@1f {
-               reg = <0x1f>;
-       };
-};
-
-&enetc_port0 {
-       phy-handle = <&slot1_sgmii0>;
-       phy-mode = "sgmii";
-       managed = "in-band-status";
-       status = "okay";
-};
-
-&mscc_felix_ports {
-       port@1 {
-               status = "okay";
-               phy-handle = <&slot1_sgmii1>;
-               phy-mode = "sgmii";
-               managed = "in-band-status";
-       };
-
-       port@2 {
-               status = "okay";
-               phy-handle = <&slot1_sgmii2>;
-               phy-mode = "sgmii";
-               managed = "in-band-status";
-       };
-};
-
-&mscc_felix {
-       status = "okay";
-};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dtso b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-899b.dtso
new file mode 100644 (file)
index 0000000..fb85847
--- /dev/null
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree fragment for LS1028A QDS board, serdes 85xx
+ *
+ * Copyright 2019-2021 NXP
+ *
+ * Requires a LS1028A QDS board without lane B rework.
+ * Requires a SCH-24801 card in slot 1.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&mdio_slot1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       /* VSC8234 */
+       slot1_sgmii0: ethernet-phy@1c {
+               reg = <0x1c>;
+       };
+
+       slot1_sgmii1: ethernet-phy@1d {
+               reg = <0x1d>;
+       };
+
+       slot1_sgmii2: ethernet-phy@1e {
+               reg = <0x1e>;
+       };
+
+       slot1_sgmii3: ethernet-phy@1f {
+               reg = <0x1f>;
+       };
+};
+
+&enetc_port0 {
+       phy-handle = <&slot1_sgmii0>;
+       phy-mode = "sgmii";
+       managed = "in-band-status";
+       status = "okay";
+};
+
+&mscc_felix_ports {
+       port@1 {
+               status = "okay";
+               phy-handle = <&slot1_sgmii1>;
+               phy-mode = "sgmii";
+               managed = "in-band-status";
+       };
+
+       port@2 {
+               status = "okay";
+               phy-handle = <&slot1_sgmii2>;
+               phy-mode = "sgmii";
+               managed = "in-band-status";
+       };
+};
+
+&mscc_felix {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-9999.dts b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-9999.dts
deleted file mode 100644 (file)
index 63e46fa..0000000
+++ /dev/null
@@ -1,68 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Device Tree fragment for LS1028A QDS board, serdes 85xx
- *
- * Copyright 2019-2021 NXP
- *
- * Requires a LS1028A QDS board without lane B rework.
- * Requires a SCH-24801 card in slot 1.
- */
-
-/dts-v1/;
-/plugin/;
-
-&mdio_slot1 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       /* VSC8234 */
-       slot1_sgmii0: ethernet-phy@1c {
-               reg = <0x1c>;
-       };
-
-       slot1_sgmii1: ethernet-phy@1d {
-               reg = <0x1d>;
-       };
-
-       slot1_sgmii2: ethernet-phy@1e {
-               reg = <0x1e>;
-       };
-
-       slot1_sgmii3: ethernet-phy@1f {
-               reg = <0x1f>;
-       };
-};
-
-&mscc_felix_ports {
-       port@0 {
-               status = "okay";
-               phy-handle = <&slot1_sgmii0>;
-               phy-mode = "sgmii";
-               managed = "in-band-status";
-       };
-
-       port@1 {
-               status = "okay";
-               phy-handle = <&slot1_sgmii1>;
-               phy-mode = "sgmii";
-               managed = "in-band-status";
-       };
-
-       port@2 {
-               status = "okay";
-               phy-handle = <&slot1_sgmii2>;
-               phy-mode = "sgmii";
-               managed = "in-band-status";
-       };
-
-       port@3 {
-               status = "okay";
-               phy-handle = <&slot1_sgmii3>;
-               phy-mode = "sgmii";
-               managed = "in-band-status";
-       };
-};
-
-&mscc_felix {
-       status = "okay";
-};
diff --git a/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-9999.dtso b/arch/arm64/boot/dts/freescale/fsl-ls1028a-qds-9999.dtso
new file mode 100644 (file)
index 0000000..63e46fa
--- /dev/null
@@ -0,0 +1,68 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Device Tree fragment for LS1028A QDS board, serdes 85xx
+ *
+ * Copyright 2019-2021 NXP
+ *
+ * Requires a LS1028A QDS board without lane B rework.
+ * Requires a SCH-24801 card in slot 1.
+ */
+
+/dts-v1/;
+/plugin/;
+
+&mdio_slot1 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       /* VSC8234 */
+       slot1_sgmii0: ethernet-phy@1c {
+               reg = <0x1c>;
+       };
+
+       slot1_sgmii1: ethernet-phy@1d {
+               reg = <0x1d>;
+       };
+
+       slot1_sgmii2: ethernet-phy@1e {
+               reg = <0x1e>;
+       };
+
+       slot1_sgmii3: ethernet-phy@1f {
+               reg = <0x1f>;
+       };
+};
+
+&mscc_felix_ports {
+       port@0 {
+               status = "okay";
+               phy-handle = <&slot1_sgmii0>;
+               phy-mode = "sgmii";
+               managed = "in-band-status";
+       };
+
+       port@1 {
+               status = "okay";
+               phy-handle = <&slot1_sgmii1>;
+               phy-mode = "sgmii";
+               managed = "in-band-status";
+       };
+
+       port@2 {
+               status = "okay";
+               phy-handle = <&slot1_sgmii2>;
+               phy-mode = "sgmii";
+               managed = "in-band-status";
+       };
+
+       port@3 {
+               status = "okay";
+               phy-handle = <&slot1_sgmii3>;
+               phy-mode = "sgmii";
+               managed = "in-band-status";
+       };
+};
+
+&mscc_felix {
+       status = "okay";
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dts
deleted file mode 100644 (file)
index 4eaf8aa..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2022 Gateworks Corporation
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw72xx-0x", "fsl,imx8mm";
-
-       reg_cam: regulator-cam {
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_reg_cam>;
-               compatible = "regulator-fixed";
-               regulator-name = "reg_cam";
-               gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-               regulator-min-microvolt = <1800000>;
-               regulator-max-microvolt = <1800000>;
-       };
-
-       cam24m: cam24m {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <24000000>;
-               clock-output-names = "cam24m";
-       };
-};
-
-&csi {
-       status = "okay";
-};
-
-&i2c3 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       imx219: sensor@10 {
-               compatible = "sony,imx219";
-               reg = <0x10>;
-               clocks = <&cam24m>;
-               VDIG-supply = <&reg_cam>;
-
-               port {
-                       /* MIPI CSI-2 bus endpoint */
-                       imx219_to_mipi_csi2: endpoint {
-                               remote-endpoint = <&imx8mm_mipi_csi_in>;
-                               clock-lanes = <0>;
-                               data-lanes = <1 2>;
-                               link-frequencies = /bits/ 64 <456000000>;
-                       };
-               };
-       };
-};
-
-&mipi_csi {
-       status = "okay";
-
-       ports {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               port@0 {
-                       reg = <0>;
-
-                       imx8mm_mipi_csi_in: endpoint {
-                               remote-endpoint = <&imx219_to_mipi_csi2>;
-                               data-lanes = <1 2>;
-                       };
-               };
-
-               port@1 {
-                       reg = <1>;
-
-                       imx8mm_mipi_csi_out: endpoint {
-                               remote-endpoint = <&csi_in>;
-                       };
-               };
-       };
-};
-
-&iomuxc {
-       pinctrl_reg_cam: regcamgrp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1       0x41
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-imx219.dtso
new file mode 100644 (file)
index 0000000..4eaf8aa
--- /dev/null
@@ -0,0 +1,93 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Gateworks Corporation
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw72xx-0x", "fsl,imx8mm";
+
+       reg_cam: regulator-cam {
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_reg_cam>;
+               compatible = "regulator-fixed";
+               regulator-name = "reg_cam";
+               gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
+       cam24m: cam24m {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <24000000>;
+               clock-output-names = "cam24m";
+       };
+};
+
+&csi {
+       status = "okay";
+};
+
+&i2c3 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       imx219: sensor@10 {
+               compatible = "sony,imx219";
+               reg = <0x10>;
+               clocks = <&cam24m>;
+               VDIG-supply = <&reg_cam>;
+
+               port {
+                       /* MIPI CSI-2 bus endpoint */
+                       imx219_to_mipi_csi2: endpoint {
+                               remote-endpoint = <&imx8mm_mipi_csi_in>;
+                               clock-lanes = <0>;
+                               data-lanes = <1 2>;
+                               link-frequencies = /bits/ 64 <456000000>;
+                       };
+               };
+       };
+};
+
+&mipi_csi {
+       status = "okay";
+
+       ports {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               port@0 {
+                       reg = <0>;
+
+                       imx8mm_mipi_csi_in: endpoint {
+                               remote-endpoint = <&imx219_to_mipi_csi2>;
+                               data-lanes = <1 2>;
+                       };
+               };
+
+               port@1 {
+                       reg = <1>;
+
+                       imx8mm_mipi_csi_out: endpoint {
+                               remote-endpoint = <&csi_in>;
+                       };
+               };
+       };
+};
+
+&iomuxc {
+       pinctrl_reg_cam: regcamgrp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1       0x41
+               >;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dts
deleted file mode 100644 (file)
index 3ea73a6..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2022 Gateworks Corporation
- *
- * GW72xx RS232 with RTS/CTS hardware flow control:
- *  - GPIO4_0 rs485_en needs to be driven low (in-active)
- *  - UART4_TX becomes RTS
- *  - UART4_RX becomes CTS
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw72xx-0x";
-};
-
-&gpio4 {
-       rs485_en {
-               gpio-hog;
-               gpios = <0 GPIO_ACTIVE_HIGH>;
-               output-low;
-               line-name = "rs485_en";
-       };
-};
-
-&uart2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_uart2>;
-       rts-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
-       cts-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
-       uart-has-rtscts;
-       status = "okay";
-};
-
-&uart4 {
-       status = "disabled";
-};
-
-&iomuxc {
-       pinctrl_uart2: uart2grp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
-                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
-                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
-                       MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28       0x140
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs232-rts.dtso
new file mode 100644 (file)
index 0000000..3ea73a6
--- /dev/null
@@ -0,0 +1,53 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Gateworks Corporation
+ *
+ * GW72xx RS232 with RTS/CTS hardware flow control:
+ *  - GPIO4_0 rs485_en needs to be driven low (in-active)
+ *  - UART4_TX becomes RTS
+ *  - UART4_RX becomes CTS
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw72xx-0x";
+};
+
+&gpio4 {
+       rs485_en {
+               gpio-hog;
+               gpios = <0 GPIO_ACTIVE_HIGH>;
+               output-low;
+               line-name = "rs485_en";
+       };
+};
+
+&uart2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart2>;
+       rts-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
+       cts-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
+       uart-has-rtscts;
+       status = "okay";
+};
+
+&uart4 {
+       status = "disabled";
+};
+
+&iomuxc {
+       pinctrl_uart2: uart2grp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
+                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
+                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
+                       MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28       0x140
+               >;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dts
deleted file mode 100644 (file)
index c3cd9f2..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2022 Gateworks Corporation
- *
- * GW72xx RS422 (RS485 full duplex):
- *  - GPIO1_0 rs485_term selects on-chip termination
- *  - GPIO4_0 rs485_en needs to be driven high (active)
- *  - GPIO4_2 rs485_hd needs to be driven low (in-active)
- *  - UART4_TX is DE for RS485 transmitter
- *  - RS485_EN needs to be pulled high
- *  - RS485_HALF needs to be low
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw72xx-0x";
-};
-
-&gpio4 {
-       rs485_en {
-               gpio-hog;
-               gpios = <0 GPIO_ACTIVE_HIGH>;
-               output-high;
-               line-name = "rs485_en";
-       };
-
-       rs485_hd {
-               gpio-hog;
-               gpios = <2 GPIO_ACTIVE_HIGH>;
-               output-low;
-               line-name = "rs485_hd";
-       };
-};
-
-&uart2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_uart2>;
-       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
-       linux,rs485-enabled-at-boot-time;
-       status = "okay";
-};
-
-&uart4 {
-       status = "disabled";
-};
-
-&iomuxc {
-       pinctrl_uart2: uart2grp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
-                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
-                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs422.dtso
new file mode 100644 (file)
index 0000000..c3cd9f2
--- /dev/null
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Gateworks Corporation
+ *
+ * GW72xx RS422 (RS485 full duplex):
+ *  - GPIO1_0 rs485_term selects on-chip termination
+ *  - GPIO4_0 rs485_en needs to be driven high (active)
+ *  - GPIO4_2 rs485_hd needs to be driven low (in-active)
+ *  - UART4_TX is DE for RS485 transmitter
+ *  - RS485_EN needs to be pulled high
+ *  - RS485_HALF needs to be low
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw72xx-0x";
+};
+
+&gpio4 {
+       rs485_en {
+               gpio-hog;
+               gpios = <0 GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "rs485_en";
+       };
+
+       rs485_hd {
+               gpio-hog;
+               gpios = <2 GPIO_ACTIVE_HIGH>;
+               output-low;
+               line-name = "rs485_hd";
+       };
+};
+
+&uart2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart2>;
+       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
+       linux,rs485-enabled-at-boot-time;
+       status = "okay";
+};
+
+&uart4 {
+       status = "disabled";
+};
+
+&iomuxc {
+       pinctrl_uart2: uart2grp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
+                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
+                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
+               >;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dts
deleted file mode 100644 (file)
index cc0a287..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2022 Gateworks Corporation
- *
- * GW72xx RS485 HD:
- *  - GPIO1_0 rs485_term selects on-chip termination
- *  - GPIO4_0 rs485_en needs to be driven high (active)
- *  - GPIO4_2 rs485_hd needs to be driven high (active)
- *  - UART4_TX is DE for RS485 transmitter
- *  - RS485_EN needs to be pulled high
- *  - RS485_HALF needs to be pulled high
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw72xx-0x";
-};
-
-&gpio4 {
-       rs485_en {
-               gpio-hog;
-               gpios = <0 GPIO_ACTIVE_HIGH>;
-               output-high;
-               line-name = "rs485_en";
-       };
-
-       rs485_hd {
-               gpio-hog;
-               gpios = <2 GPIO_ACTIVE_HIGH>;
-               output-high;
-               line-name = "rs485_hd";
-       };
-};
-
-&uart2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_uart2>;
-       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
-       linux,rs485-enabled-at-boot-time;
-       status = "okay";
-};
-
-&uart4 {
-       status = "disabled";
-};
-
-&iomuxc {
-       pinctrl_uart2: uart2grp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
-                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
-                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw72xx-0x-rs485.dtso
new file mode 100644 (file)
index 0000000..cc0a287
--- /dev/null
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Gateworks Corporation
+ *
+ * GW72xx RS485 HD:
+ *  - GPIO1_0 rs485_term selects on-chip termination
+ *  - GPIO4_0 rs485_en needs to be driven high (active)
+ *  - GPIO4_2 rs485_hd needs to be driven high (active)
+ *  - UART4_TX is DE for RS485 transmitter
+ *  - RS485_EN needs to be pulled high
+ *  - RS485_HALF needs to be pulled high
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw72xx-0x";
+};
+
+&gpio4 {
+       rs485_en {
+               gpio-hog;
+               gpios = <0 GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "rs485_en";
+       };
+
+       rs485_hd {
+               gpio-hog;
+               gpios = <2 GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "rs485_hd";
+       };
+};
+
+&uart2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart2>;
+       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
+       linux,rs485-enabled-at-boot-time;
+       status = "okay";
+};
+
+&uart4 {
+       status = "disabled";
+};
+
+&iomuxc {
+       pinctrl_uart2: uart2grp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
+                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
+                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
+               >;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dts
deleted file mode 100644 (file)
index f3ece4b..0000000
+++ /dev/null
@@ -1,93 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2022 Gateworks Corporation
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw73xx-0x", "fsl,imx8mm";
-
-       reg_cam: regulator-cam {
-               pinctrl-names = "default";
-               pinctrl-0 = <&pinctrl_reg_cam>;
-               compatible = "regulator-fixed";
-               regulator-name = "reg_cam";
-               gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
-               enable-active-high;
-               regulator-min-microvolt = <1800000>;
-               regulator-max-microvolt = <1800000>;
-       };
-
-       cam24m: cam24m {
-               compatible = "fixed-clock";
-               #clock-cells = <0>;
-               clock-frequency = <24000000>;
-               clock-output-names = "cam24m";
-       };
-};
-
-&csi {
-       status = "okay";
-};
-
-&i2c3 {
-       #address-cells = <1>;
-       #size-cells = <0>;
-
-       imx219: sensor@10 {
-               compatible = "sony,imx219";
-               reg = <0x10>;
-               clocks = <&cam24m>;
-               VDIG-supply = <&reg_cam>;
-
-               port {
-                       /* MIPI CSI-2 bus endpoint */
-                       imx219_to_mipi_csi2: endpoint {
-                               remote-endpoint = <&imx8mm_mipi_csi_in>;
-                               clock-lanes = <0>;
-                               data-lanes = <1 2>;
-                               link-frequencies = /bits/ 64 <456000000>;
-                       };
-               };
-       };
-};
-
-&mipi_csi {
-       status = "okay";
-
-       ports {
-               #address-cells = <1>;
-               #size-cells = <0>;
-
-               port@0 {
-                       reg = <0>;
-
-                       imx8mm_mipi_csi_in: endpoint {
-                               remote-endpoint = <&imx219_to_mipi_csi2>;
-                               data-lanes = <1 2>;
-                       };
-               };
-
-               port@1 {
-                       reg = <1>;
-
-                       imx8mm_mipi_csi_out: endpoint {
-                               remote-endpoint = <&csi_in>;
-                       };
-               };
-       };
-};
-
-&iomuxc {
-       pinctrl_reg_cam: regcamgrp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1       0x41
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-imx219.dtso
new file mode 100644 (file)
index 0000000..f3ece4b
--- /dev/null
@@ -0,0 +1,93 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Gateworks Corporation
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw73xx-0x", "fsl,imx8mm";
+
+       reg_cam: regulator-cam {
+               pinctrl-names = "default";
+               pinctrl-0 = <&pinctrl_reg_cam>;
+               compatible = "regulator-fixed";
+               regulator-name = "reg_cam";
+               gpio = <&gpio1 1 GPIO_ACTIVE_HIGH>;
+               enable-active-high;
+               regulator-min-microvolt = <1800000>;
+               regulator-max-microvolt = <1800000>;
+       };
+
+       cam24m: cam24m {
+               compatible = "fixed-clock";
+               #clock-cells = <0>;
+               clock-frequency = <24000000>;
+               clock-output-names = "cam24m";
+       };
+};
+
+&csi {
+       status = "okay";
+};
+
+&i2c3 {
+       #address-cells = <1>;
+       #size-cells = <0>;
+
+       imx219: sensor@10 {
+               compatible = "sony,imx219";
+               reg = <0x10>;
+               clocks = <&cam24m>;
+               VDIG-supply = <&reg_cam>;
+
+               port {
+                       /* MIPI CSI-2 bus endpoint */
+                       imx219_to_mipi_csi2: endpoint {
+                               remote-endpoint = <&imx8mm_mipi_csi_in>;
+                               clock-lanes = <0>;
+                               data-lanes = <1 2>;
+                               link-frequencies = /bits/ 64 <456000000>;
+                       };
+               };
+       };
+};
+
+&mipi_csi {
+       status = "okay";
+
+       ports {
+               #address-cells = <1>;
+               #size-cells = <0>;
+
+               port@0 {
+                       reg = <0>;
+
+                       imx8mm_mipi_csi_in: endpoint {
+                               remote-endpoint = <&imx219_to_mipi_csi2>;
+                               data-lanes = <1 2>;
+                       };
+               };
+
+               port@1 {
+                       reg = <1>;
+
+                       imx8mm_mipi_csi_out: endpoint {
+                               remote-endpoint = <&csi_in>;
+                       };
+               };
+       };
+};
+
+&iomuxc {
+       pinctrl_reg_cam: regcamgrp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_GPIO1_IO01_GPIO1_IO1       0x41
+               >;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dts
deleted file mode 100644 (file)
index 2fa635e..0000000
+++ /dev/null
@@ -1,53 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2022 Gateworks Corporation
- *
- * GW73xx RS232 with RTS/CTS hardware flow control:
- *  - GPIO4_0 rs485_en needs to be driven low (in-active)
- *  - UART4_TX becomes RTS
- *  - UART4_RX becomes CTS
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw73xx-0x";
-};
-
-&gpio4 {
-       rs485_en {
-               gpio-hog;
-               gpios = <0 GPIO_ACTIVE_HIGH>;
-               output-low;
-               line-name = "rs485_en";
-       };
-};
-
-&uart2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_uart2>;
-       rts-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
-       cts-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
-       uart-has-rtscts;
-       status = "okay";
-};
-
-&uart4 {
-       status = "disabled";
-};
-
-&iomuxc {
-       pinctrl_uart2: uart2grp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
-                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
-                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
-                       MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28       0x140
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs232-rts.dtso
new file mode 100644 (file)
index 0000000..2fa635e
--- /dev/null
@@ -0,0 +1,53 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2022 Gateworks Corporation
+ *
+ * GW73xx RS232 with RTS/CTS hardware flow control:
+ *  - GPIO4_0 rs485_en needs to be driven low (in-active)
+ *  - UART4_TX becomes RTS
+ *  - UART4_RX becomes CTS
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw73xx-0x";
+};
+
+&gpio4 {
+       rs485_en {
+               gpio-hog;
+               gpios = <0 GPIO_ACTIVE_HIGH>;
+               output-low;
+               line-name = "rs485_en";
+       };
+};
+
+&uart2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart2>;
+       rts-gpios = <&gpio5 29 GPIO_ACTIVE_LOW>;
+       cts-gpios = <&gpio5 28 GPIO_ACTIVE_LOW>;
+       uart-has-rtscts;
+       status = "okay";
+};
+
+&uart4 {
+       status = "disabled";
+};
+
+&iomuxc {
+       pinctrl_uart2: uart2grp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
+                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
+                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
+                       MX8MM_IOMUXC_UART4_RXD_GPIO5_IO28       0x140
+               >;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dts
deleted file mode 100644 (file)
index 3e64043..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2021 Gateworks Corporation
- *
- * GW73xx RS422 (RS485 full duplex):
- *  - GPIO1_0 rs485_term selects on-chip termination
- *  - GPIO4_0 rs485_en needs to be driven high (active)
- *  - GPIO4_2 rs485_hd needs to be driven low (in-active)
- *  - UART4_TX is DE for RS485 transmitter
- *  - RS485_EN needs to be pulled high
- *  - RS485_HALF needs to be low
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw73xx-0x";
-};
-
-&gpio4 {
-       rs485_en {
-               gpio-hog;
-               gpios = <0 GPIO_ACTIVE_HIGH>;
-               output-high;
-               line-name = "rs485_en";
-       };
-
-       rs485_hd {
-               gpio-hog;
-               gpios = <2 GPIO_ACTIVE_HIGH>;
-               output-low;
-               line-name = "rs485_hd";
-       };
-};
-
-&uart2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_uart2>;
-       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
-       linux,rs485-enabled-at-boot-time;
-       status = "okay";
-};
-
-&uart4 {
-       status = "disabled";
-};
-
-&iomuxc {
-       pinctrl_uart2: uart2grp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
-                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
-                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs422.dtso
new file mode 100644 (file)
index 0000000..3e64043
--- /dev/null
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2021 Gateworks Corporation
+ *
+ * GW73xx RS422 (RS485 full duplex):
+ *  - GPIO1_0 rs485_term selects on-chip termination
+ *  - GPIO4_0 rs485_en needs to be driven high (active)
+ *  - GPIO4_2 rs485_hd needs to be driven low (in-active)
+ *  - UART4_TX is DE for RS485 transmitter
+ *  - RS485_EN needs to be pulled high
+ *  - RS485_HALF needs to be low
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw73xx-0x";
+};
+
+&gpio4 {
+       rs485_en {
+               gpio-hog;
+               gpios = <0 GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "rs485_en";
+       };
+
+       rs485_hd {
+               gpio-hog;
+               gpios = <2 GPIO_ACTIVE_HIGH>;
+               output-low;
+               line-name = "rs485_hd";
+       };
+};
+
+&uart2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart2>;
+       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
+       linux,rs485-enabled-at-boot-time;
+       status = "okay";
+};
+
+&uart4 {
+       status = "disabled";
+};
+
+&iomuxc {
+       pinctrl_uart2: uart2grp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
+                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
+                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
+               >;
+       };
+};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dts b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dts
deleted file mode 100644 (file)
index 2c71ab9..0000000
+++ /dev/null
@@ -1,61 +0,0 @@
-// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
-/*
- * Copyright 2021 Gateworks Corporation
- *
- * GW73xx RS485 HD:
- *  - GPIO1_0 rs485_term selects on-chip termination
- *  - GPIO4_0 rs485_en needs to be driven high (active)
- *  - GPIO4_2 rs485_hd needs to be driven high (active)
- *  - UART4_TX is DE for RS485 transmitter
- *  - RS485_EN needs to be pulled high
- *  - RS485_HALF needs to be pulled high
- */
-
-#include <dt-bindings/gpio/gpio.h>
-
-#include "imx8mm-pinfunc.h"
-
-/dts-v1/;
-/plugin/;
-
-&{/} {
-       compatible = "gw,imx8mm-gw73xx-0x";
-};
-
-&gpio4 {
-       rs485_en {
-               gpio-hog;
-               gpios = <0 GPIO_ACTIVE_HIGH>;
-               output-high;
-               line-name = "rs485_en";
-       };
-
-       rs485_hd {
-               gpio-hog;
-               gpios = <2 GPIO_ACTIVE_HIGH>;
-               output-high;
-               line-name = "rs485_hd";
-       };
-};
-
-&uart2 {
-       pinctrl-names = "default";
-       pinctrl-0 = <&pinctrl_uart2>;
-       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
-       linux,rs485-enabled-at-boot-time;
-       status = "okay";
-};
-
-&uart4 {
-       status = "disabled";
-};
-
-&iomuxc {
-       pinctrl_uart2: uart2grp {
-               fsl,pins = <
-                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
-                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
-                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
-               >;
-       };
-};
diff --git a/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso b/arch/arm64/boot/dts/freescale/imx8mm-venice-gw73xx-0x-rs485.dtso
new file mode 100644 (file)
index 0000000..2c71ab9
--- /dev/null
@@ -0,0 +1,61 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Copyright 2021 Gateworks Corporation
+ *
+ * GW73xx RS485 HD:
+ *  - GPIO1_0 rs485_term selects on-chip termination
+ *  - GPIO4_0 rs485_en needs to be driven high (active)
+ *  - GPIO4_2 rs485_hd needs to be driven high (active)
+ *  - UART4_TX is DE for RS485 transmitter
+ *  - RS485_EN needs to be pulled high
+ *  - RS485_HALF needs to be pulled high
+ */
+
+#include <dt-bindings/gpio/gpio.h>
+
+#include "imx8mm-pinfunc.h"
+
+/dts-v1/;
+/plugin/;
+
+&{/} {
+       compatible = "gw,imx8mm-gw73xx-0x";
+};
+
+&gpio4 {
+       rs485_en {
+               gpio-hog;
+               gpios = <0 GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "rs485_en";
+       };
+
+       rs485_hd {
+               gpio-hog;
+               gpios = <2 GPIO_ACTIVE_HIGH>;
+               output-high;
+               line-name = "rs485_hd";
+       };
+};
+
+&uart2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&pinctrl_uart2>;
+       rts-gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
+       linux,rs485-enabled-at-boot-time;
+       status = "okay";
+};
+
+&uart4 {
+       status = "disabled";
+};
+
+&iomuxc {
+       pinctrl_uart2: uart2grp {
+               fsl,pins = <
+                       MX8MM_IOMUXC_UART2_RXD_UART2_DCE_RX     0x140
+                       MX8MM_IOMUXC_UART2_TXD_UART2_DCE_TX     0x140
+                       MX8MM_IOMUXC_UART4_TXD_GPIO5_IO29       0x140
+               >;
+       };
+};