diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2017-06-21 16:42:12 +0200 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2017-08-08 14:49:12 -0700 |
commit | ec9b59162fd8317933e362f347a7ed6da7d85618 (patch) | |
tree | 594727295c1c6a27e0d84a3a569be0ed98eb1273 /arch/arm/boot/dts/meson6.dtsi | |
parent | 45631ea8b5d814845a9e3a246ea79c89d63bf786 (diff) | |
download | linux-ec9b59162fd8317933e362f347a7ed6da7d85618.tar.gz linux-ec9b59162fd8317933e362f347a7ed6da7d85618.tar.bz2 linux-ec9b59162fd8317933e362f347a7ed6da7d85618.zip |
ARM: dts: meson6: use stable UART bindings
The UART bindings needs specifying a SoC family, use the meson6 family
for the UART nodes like the other nodes.
Switch to the stable UART bindings for meson6 by adding a XTAL node and
using the proper compatible strings.
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm/boot/dts/meson6.dtsi')
-rw-r--r-- | arch/arm/boot/dts/meson6.dtsi | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson6.dtsi b/arch/arm/boot/dts/meson6.dtsi index 8557b6117a4b..ef281d290052 100644 --- a/arch/arm/boot/dts/meson6.dtsi +++ b/arch/arm/boot/dts/meson6.dtsi @@ -70,9 +70,37 @@ }; }; + xtal: xtal-clk { + compatible = "fixed-clock"; + clock-frequency = <24000000>; + clock-output-names = "xtal"; + #clock-cells = <0>; + }; + clk81: clk@0 { #clock-cells = <0>; compatible = "fixed-clock"; clock-frequency = <200000000>; }; }; /* end of / */ + + +&uart_AO { + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; +}; + +&uart_A { + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; +}; + +&uart_B { + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; +}; + +&uart_C { + clocks = <&xtal>, <&clk81>, <&clk81>; + clock-names = "xtal", "pclk", "baud"; +}; |