Commit f2b1c507 authored by Joachim Eastwood's avatar Joachim Eastwood

ARM: dts: lpc18xx: add uart new compat string and clk names

Add lpc1850-uart compatible string on uarts together with
proper clock-names.
Signed-off-by: default avatarJoachim Eastwood <manabian@gmail.com>
parent ba2db535
...@@ -101,20 +101,22 @@ ccu2: clock-controller@40052000 { ...@@ -101,20 +101,22 @@ ccu2: clock-controller@40052000 {
}; };
uart0: serial@40081000 { uart0: serial@40081000 {
compatible = "ns16550a"; compatible = "nxp,lpc1850-uart", "ns16550a";
reg = <0x40081000 0x1000>; reg = <0x40081000 0x1000>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <24>; interrupts = <24>;
clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>; clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>;
clock-names = "uartclk", "reg";
status = "disabled"; status = "disabled";
}; };
uart1: serial@40082000 { uart1: serial@40082000 {
compatible = "ns16550a"; compatible = "nxp,lpc1850-uart", "ns16550a";
reg = <0x40082000 0x1000>; reg = <0x40082000 0x1000>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <25>; interrupts = <25>;
clocks = <&ccu2 CLK_APB0_UART1>, <&ccu1 CLK_CPU_UART1>; clocks = <&ccu2 CLK_APB0_UART1>, <&ccu1 CLK_CPU_UART1>;
clock-names = "uartclk", "reg";
status = "disabled"; status = "disabled";
}; };
...@@ -135,20 +137,22 @@ timer1: timer@40085000 { ...@@ -135,20 +137,22 @@ timer1: timer@40085000 {
}; };
uart2: serial@400c1000 { uart2: serial@400c1000 {
compatible = "ns16550a"; compatible = "nxp,lpc1850-uart", "ns16550a";
reg = <0x400c1000 0x1000>; reg = <0x400c1000 0x1000>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <26>; interrupts = <26>;
clocks = <&ccu2 CLK_APB2_UART2>, <&ccu1 CLK_CPU_UART2>; clocks = <&ccu2 CLK_APB2_UART2>, <&ccu1 CLK_CPU_UART2>;
clock-names = "uartclk", "reg";
status = "disabled"; status = "disabled";
}; };
uart3: serial@400c2000 { uart3: serial@400c2000 {
compatible = "ns16550a"; compatible = "nxp,lpc1850-uart", "ns16550a";
reg = <0x400c2000 0x1000>; reg = <0x400c2000 0x1000>;
reg-shift = <2>; reg-shift = <2>;
interrupts = <27>; interrupts = <27>;
clocks = <&ccu2 CLK_APB2_UART3>, <&ccu1 CLK_CPU_UART3>; clocks = <&ccu2 CLK_APB2_UART3>, <&ccu1 CLK_CPU_UART3>;
clock-names = "uartclk", "reg";
status = "disabled"; status = "disabled";
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment