mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 23:27:06 +00:00
arm: dt: zynq: Use 'status' property for UART nodes
Set the default status for UARTs to disabled in the zynq-7000.dtsi file and let board dts files enable the UARTs on demand. Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com> Reviewed-by: Steffen Trumtrar <s.trumtrar@pengutronix.de> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
This commit is contained in:
parent
7fa5ac3fa2
commit
ec11ebcf2f
2 changed files with 7 additions and 1 deletions
|
@ -49,6 +49,7 @@ L2: cache-controller {
|
||||||
|
|
||||||
uart0: uart@e0000000 {
|
uart0: uart@e0000000 {
|
||||||
compatible = "xlnx,xuartps";
|
compatible = "xlnx,xuartps";
|
||||||
|
status = "disabled";
|
||||||
clocks = <&clkc 23>, <&clkc 40>;
|
clocks = <&clkc 23>, <&clkc 40>;
|
||||||
clock-names = "ref_clk", "aper_clk";
|
clock-names = "ref_clk", "aper_clk";
|
||||||
reg = <0xE0000000 0x1000>;
|
reg = <0xE0000000 0x1000>;
|
||||||
|
@ -57,6 +58,7 @@ uart0: uart@e0000000 {
|
||||||
|
|
||||||
uart1: uart@e0001000 {
|
uart1: uart@e0001000 {
|
||||||
compatible = "xlnx,xuartps";
|
compatible = "xlnx,xuartps";
|
||||||
|
status = "disabled";
|
||||||
clocks = <&clkc 24>, <&clkc 41>;
|
clocks = <&clkc 24>, <&clkc 41>;
|
||||||
clock-names = "ref_clk", "aper_clk";
|
clock-names = "ref_clk", "aper_clk";
|
||||||
reg = <0xE0001000 0x1000>;
|
reg = <0xE0001000 0x1000>;
|
||||||
|
|
|
@ -24,7 +24,11 @@ memory {
|
||||||
};
|
};
|
||||||
|
|
||||||
chosen {
|
chosen {
|
||||||
bootargs = "console=ttyPS1,115200 earlyprintk";
|
bootargs = "console=ttyPS0,115200 earlyprintk";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&uart1 {
|
||||||
|
status = "okay";
|
||||||
|
};
|
||||||
|
|
Loading…
Reference in a new issue