arm: dt: zynq: Use 'status' property for UART nodes
authorSoren Brinkmann <soren.brinkmann@xilinx.com>
Thu, 13 Jun 2013 16:37:16 +0000 (09:37 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Mon, 17 Jun 2013 08:32:39 +0000 (10:32 +0200)
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>
arch/arm/boot/dts/zynq-7000.dtsi
arch/arm/boot/dts/zynq-zc702.dts

index 0dbee2c239057dd627b5e79eea6c18dacaa84086..6f54a64850eb0fef446fd13390f019d5ab277cdb 100644 (file)
@@ -49,6 +49,7 @@
 
                uart0: uart@e0000000 {
                        compatible = "xlnx,xuartps";
+                       status = "disabled";
                        clocks = <&clkc 23>, <&clkc 40>;
                        clock-names = "ref_clk", "aper_clk";
                        reg = <0xE0000000 0x1000>;
@@ -57,6 +58,7 @@
 
                uart1: uart@e0001000 {
                        compatible = "xlnx,xuartps";
+                       status = "disabled";
                        clocks = <&clkc 24>, <&clkc 41>;
                        clock-names = "ref_clk", "aper_clk";
                        reg = <0xE0001000 0x1000>;
index e25a307438ad27776f5994ba81ea99e46266dc9e..21aea99a067b63824ef270e19d1c047039317a44 100644 (file)
        };
 
        chosen {
-               bootargs = "console=ttyPS1,115200 earlyprintk";
+               bootargs = "console=ttyPS0,115200 earlyprintk";
        };
 
 };
+
+&uart1 {
+       status = "okay";
+};
This page took 0.027767 seconds and 5 git commands to generate.