summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
diff options
context:
space:
mode:
authorYixun Lan <yixun.lan@amlogic.com>2018-01-11 10:33:58 +0800
committerKevin Hilman <khilman@baylibre.com>2018-02-12 14:15:10 -0800
commit58662130226c82b520c0a71b110f1248521f6797 (patch)
tree5fee6cb5196664db6ce4760ac3dce971d5dce7af /arch/arm64/boot/dts/amlogic/meson-axg.dtsi
parent777fa58db6224c931aad6e8a6bb6f361d0448a93 (diff)
downloadop-kernel-dev-58662130226c82b520c0a71b110f1248521f6797.zip
op-kernel-dev-58662130226c82b520c0a71b110f1248521f6797.tar.gz
ARM64: dts: meson-axg: uart: drop legacy compatible name from EE UART
When update the clock info for the UART controller in the EE domain, the driver explicitly require 'pclk' in order to work properly. With current logic of the code, the driver will go for the legacy clock probe routine if it find current compatible string match to 'amlogic,meson-uart', which result in not requesting the 'pclk' clock, thus break the driver in the end. Acked-by: Jerome Brunet <jbrunet@baylibre.com> Signed-off-by: Yixun Lan <yixun.lan@amlogic.com> Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-axg.dtsi')
-rw-r--r--arch/arm64/boot/dts/amlogic/meson-axg.dtsi8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
index 5b5ef27..b148414 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
+++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi
@@ -212,17 +212,21 @@
};
uart_A: serial@24000 {
- compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
+ compatible = "amlogic,meson-gx-uart";
reg = <0x0 0x24000 0x0 0x18>;
interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
+ clocks = <&xtal>, <&clkc CLKID_UART0>, <&xtal>;
+ clock-names = "xtal", "pclk", "baud";
};
uart_B: serial@23000 {
- compatible = "amlogic,meson-gx-uart", "amlogic,meson-uart";
+ compatible = "amlogic,meson-gx-uart";
reg = <0x0 0x23000 0x0 0x18>;
interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
status = "disabled";
+ clocks = <&xtal>, <&clkc CLKID_UART1>, <&xtal>;
+ clock-names = "xtal", "pclk", "baud";
};
};
OpenPOWER on IntegriCloud