arm: dts: owl-s500: Set CMU clocks for UARTs

Set Clock Management Unit clocks for the UART nodes of Actions Semi
S500 SoCs and remove the dummy "uart2_clk" and "uart3_clk" fixed clocks.

Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
This commit is contained in:
Cristian Ciocaltea 2020-12-29 23:17:17 +02:00 коммит произвёл Manivannan Sadhasivam
Родитель b4d1e231fc
Коммит 11bc96ba75
6 изменённых файлов: 7 добавлений и 35 удалений

Просмотреть файл

@ -25,12 +25,6 @@
device_type = "memory"; device_type = "memory";
reg = <0x0 0x80000000>; reg = <0x0 0x80000000>;
}; };
uart3_clk: uart3-clk {
compatible = "fixed-clock";
clock-frequency = <921600>;
#clock-cells = <0>;
};
}; };
&timer { &timer {
@ -39,5 +33,4 @@
&uart3 { &uart3 {
status = "okay"; status = "okay";
clocks = <&uart3_clk>;
}; };

Просмотреть файл

@ -18,15 +18,8 @@
chosen { chosen {
stdout-path = "serial3:115200n8"; stdout-path = "serial3:115200n8";
}; };
uart3_clk: uart3-clk {
compatible = "fixed-clock";
clock-frequency = <921600>;
#clock-cells = <0>;
};
}; };
&uart3 { &uart3 {
status = "okay"; status = "okay";
clocks = <&uart3_clk>;
}; };

Просмотреть файл

@ -21,15 +21,8 @@
chosen { chosen {
stdout-path = "serial3:115200n8"; stdout-path = "serial3:115200n8";
}; };
uart3_clk: uart3-clk {
compatible = "fixed-clock";
clock-frequency = <921600>;
#clock-cells = <0>;
};
}; };
&uart3 { &uart3 {
status = "okay"; status = "okay";
clocks = <&uart3_clk>;
}; };

Просмотреть файл

@ -25,12 +25,6 @@
device_type = "memory"; device_type = "memory";
reg = <0x0 0x80000000>; /* 2GB */ reg = <0x0 0x80000000>; /* 2GB */
}; };
uart2_clk: uart2-clk {
compatible = "fixed-clock";
clock-frequency = <921600>;
#clock-cells = <0>;
};
}; };
&twd_timer { &twd_timer {
@ -43,5 +37,4 @@
&uart2 { &uart2 {
status = "okay"; status = "okay";
clocks = <&uart2_clk>;
}; };

Просмотреть файл

@ -25,12 +25,6 @@
device_type = "memory"; device_type = "memory";
reg = <0x0 0x40000000>; /* 1 or 2 GiB */ reg = <0x0 0x40000000>; /* 1 or 2 GiB */
}; };
uart3_clk: uart3-clk {
compatible = "fixed-clock";
clock-frequency = <921600>;
#clock-cells = <0>;
};
}; };
&timer { &timer {
@ -39,5 +33,4 @@
&uart3 { &uart3 {
status = "okay"; status = "okay";
clocks = <&uart3_clk>;
}; };

Просмотреть файл

@ -131,6 +131,7 @@
compatible = "actions,s500-uart", "actions,owl-uart"; compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb0120000 0x2000>; reg = <0xb0120000 0x2000>;
interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_UART0>;
status = "disabled"; status = "disabled";
}; };
@ -138,6 +139,7 @@
compatible = "actions,s500-uart", "actions,owl-uart"; compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb0122000 0x2000>; reg = <0xb0122000 0x2000>;
interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_UART1>;
status = "disabled"; status = "disabled";
}; };
@ -145,6 +147,7 @@
compatible = "actions,s500-uart", "actions,owl-uart"; compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb0124000 0x2000>; reg = <0xb0124000 0x2000>;
interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_UART2>;
status = "disabled"; status = "disabled";
}; };
@ -152,6 +155,7 @@
compatible = "actions,s500-uart", "actions,owl-uart"; compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb0126000 0x2000>; reg = <0xb0126000 0x2000>;
interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_UART3>;
status = "disabled"; status = "disabled";
}; };
@ -159,6 +163,7 @@
compatible = "actions,s500-uart", "actions,owl-uart"; compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb0128000 0x2000>; reg = <0xb0128000 0x2000>;
interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_UART4>;
status = "disabled"; status = "disabled";
}; };
@ -166,6 +171,7 @@
compatible = "actions,s500-uart", "actions,owl-uart"; compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb012a000 0x2000>; reg = <0xb012a000 0x2000>;
interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_UART5>;
status = "disabled"; status = "disabled";
}; };
@ -173,6 +179,7 @@
compatible = "actions,s500-uart", "actions,owl-uart"; compatible = "actions,s500-uart", "actions,owl-uart";
reg = <0xb012c000 0x2000>; reg = <0xb012c000 0x2000>;
interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>; interrupts = <GIC_SPI 35 IRQ_TYPE_LEVEL_HIGH>;
clocks = <&cmu CLK_UART6>;
status = "disabled"; status = "disabled";
}; };