Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: mediatek: dts: Add uart to mt6589

This patch adds the uart ports to the device tree of Mediatek mt6589 SoC.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>

+38
+38
arch/arm/boot/dts/mt6589.dtsi
··· 65 65 clock-frequency = <32000>; 66 66 #clock-cells = <0>; 67 67 }; 68 + 69 + uart_clk: dummy26m { 70 + compatible = "fixed-clock"; 71 + clock-frequency = <26000000>; 72 + #clock-cells = <0>; 73 + }; 68 74 }; 69 75 70 76 soc { ··· 105 99 <0x10212000 0x1000>, 106 100 <0x10214000 0x2000>, 107 101 <0x10216000 0x2000>; 102 + }; 103 + 104 + uart0: serial@11006000 { 105 + compatible = "mediatek,mt6577-uart"; 106 + reg = <0x11006000 0x400>; 107 + interrupts = <GIC_SPI 51 IRQ_TYPE_LEVEL_LOW>; 108 + clocks = <&uart_clk>; 109 + status = "disabled"; 110 + }; 111 + 112 + uart1: serial@11007000 { 113 + compatible = "mediatek,mt6577-uart"; 114 + reg = <0x11007000 0x400>; 115 + interrupts = <GIC_SPI 52 IRQ_TYPE_LEVEL_LOW>; 116 + clocks = <&uart_clk>; 117 + status = "disabled"; 118 + }; 119 + 120 + uart2: serial@11008000 { 121 + compatible = "mediatek,mt6577-uart"; 122 + reg = <0x11008000 0x400>; 123 + interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_LOW>; 124 + clocks = <&uart_clk>; 125 + status = "disabled"; 126 + }; 127 + 128 + uart3: serial@11009000 { 129 + compatible = "mediatek,mt6577-uart"; 130 + reg = <0x11009000 0x400>; 131 + interrupts = <GIC_SPI 54 IRQ_TYPE_LEVEL_LOW>; 132 + clocks = <&uart_clk>; 133 + status = "disabled"; 108 134 }; 109 135 }; 110 136 };