]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
zynq: add UART nodes to device tree to initialize UART with OF
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 15 May 2014 11:37:55 +0000 (20:37 +0900)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 15 May 2014 11:57:31 +0000 (13:57 +0200)
Commit c9416b92 added OF UART initialization support
but aliases nodes are missing in device tree.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Tested-by: Masahiro Yamada <yamada.m@jp.panasonic.com> [on ZC706 board]
Tested-by: Michal Simek <michal.simek@xilinx.com> [on ZC702 board]
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynq-microzed.dts
arch/arm/dts/zynq-zc702.dts
arch/arm/dts/zynq-zc706.dts
arch/arm/dts/zynq-zc770-xm010.dts
arch/arm/dts/zynq-zc770-xm012.dts
arch/arm/dts/zynq-zc770-xm013.dts
arch/arm/dts/zynq-zed.dts

index 842896fbc4635dd793f6902c6c5cfe45e93a43d4..c373a2cc31d8feff275475fa3196922beb5f0edd 100644 (file)
        model = "Zynq MicroZED Board";
        compatible = "xlnx,zynq-microzed", "xlnx,zynq-7000";
 
+       aliases {
+               serial0 = &uart1;
+       };
+
        memory {
                device_type = "memory";
                reg = <0 0x40000000>;
index a94e331bd2d85aa40fddebd53ff004bfdf1a0d71..4fa0b00b318bb45d07b2f7fd079e8f6a3442e48e 100644 (file)
        model = "Zynq ZC702 Board";
        compatible = "xlnx,zynq-zc702", "xlnx,zynq-7000";
 
+       aliases {
+               serial0 = &uart1;
+       };
+
        memory {
                device_type = "memory";
                reg = <0 0x40000000>;
index 92de947af3af0c9c02686a52d5c7ba6174513899..2a80195757db11e78812bda1944e01a096220821 100644 (file)
        model = "Zynq ZC706 Board";
        compatible = "xlnx,zynq-zc706", "xlnx,zynq-7000";
 
+       aliases {
+               serial0 = &uart1;
+       };
+
        memory {
                device_type = "memory";
                reg = <0 0x40000000>;
index 8d68208c124e50c466fef99cb314d986ef529f81..5e661749772b3b1ce235e3c1923c2fa71dd079b9 100644 (file)
        model = "Zynq ZC770 XM010 Board";
        compatible = "xlnx,zynq-zc770-xm010", "xlnx,zynq-7000";
 
+       aliases {
+               serial0 = &uart1;
+       };
+
        memory {
                device_type = "memory";
                reg = <0 0x40000000>;
index 9ebbddfb4652c4cd3ae1462c597b833b34c179c0..127a6619c6314d6b9c4ef3cac97e69713bd1a8be 100644 (file)
        model = "Zynq ZC770 XM012 Board";
        compatible = "xlnx,zynq-zc770-xm012", "xlnx,zynq-7000";
 
+       aliases {
+               serial0 = &uart1;
+       };
+
        memory {
                device_type = "memory";
                reg = <0 0x40000000>;
index b4f7fa2cdf5525d2bdddf005827e932712499b9d..c61c7e7592f89d882551e2eaeaacb8295c72e9a1 100644 (file)
        model = "Zynq ZC770 XM013 Board";
        compatible = "xlnx,zynq-zc770-xm013", "xlnx,zynq-7000";
 
+       aliases {
+               serial0 = &uart0;
+       };
+
        memory {
                device_type = "memory";
                reg = <0 0x40000000>;
index 3488a5635bc9a606498799ca4e7c790b94348acc..70cc8a6c0d75134c1fda1c701b0cea9c4eea85a8 100644 (file)
        model = "Zynq ZED Board";
        compatible = "xlnx,zynq-zed", "xlnx,zynq-7000";
 
+       aliases {
+               serial0 = &uart1;
+       };
+
        memory {
                device_type = "memory";
                reg = <0 0x20000000>;