[PATCH v2 05/34] ARM: tegra: colibri_t30: annotate uarts and move compatible to board

From: Marcel Ziswiler
Date: Sat Sep 01 2018 - 04:13:20 EST


From: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>

Annotate UARTs and move the serial UART "nvidia,tegra30-hsuart"
compatible definitions from the carrier board to the module level device
trees. One could still override this in a custom carrier board device
tree if required.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@xxxxxxxxxxx>

---

Changes in v2:
- Also move serial UART "nvidia,tegra30-hsuart" compatible to module
level device trees.

arch/arm/boot/dts/tegra30-colibri-eval-v3.dts | 5 +++--
arch/arm/boot/dts/tegra30-colibri.dtsi | 8 ++++++++
2 files changed, 11 insertions(+), 2 deletions(-)

diff --git a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts
index 1c057b285153..682ea4ffce83 100644
--- a/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts
+++ b/arch/arm/boot/dts/tegra30-colibri-eval-v3.dts
@@ -33,17 +33,18 @@
};
};

+ /* Colibri UART-A */
serial@70006000 {
status = "okay";
};

+ /* Colibri UART-C */
serial@70006040 {
- compatible = "nvidia,tegra30-hsuart";
status = "okay";
};

+ /* Colibri UART-B */
serial@70006300 {
- compatible = "nvidia,tegra30-hsuart";
status = "okay";
};

diff --git a/arch/arm/boot/dts/tegra30-colibri.dtsi b/arch/arm/boot/dts/tegra30-colibri.dtsi
index dc54eb734f64..a9b9db0a87f8 100644
--- a/arch/arm/boot/dts/tegra30-colibri.dtsi
+++ b/arch/arm/boot/dts/tegra30-colibri.dtsi
@@ -213,6 +213,14 @@
};
};

+ serial@70006040 {
+ compatible = "nvidia,tegra30-hsuart";
+ };
+
+ serial@70006300 {
+ compatible = "nvidia,tegra30-hsuart";
+ };
+
hdmiddc: i2c@7000c700 {
clock-frequency = <10000>;
};
--
2.14.4