Browse Source

ARM: shmobile: r7s72100: genmai: add uart alias and activate scif2 as console

We keep the UART naming backwards compatible with the legacy version.

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Magnus Damm <damm+renesas@opensource.se>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Wolfram Sang 11 years ago
parent
commit
5be13fefdb
1 changed files with 10 additions and 1 deletions
  1. 10 1
      arch/arm/boot/dts/r7s72100-genmai-reference.dts

+ 10 - 1
arch/arm/boot/dts/r7s72100-genmai-reference.dts

@@ -1,7 +1,8 @@
 /*
 /*
  * Device Tree Source for the Genmai board
  * Device Tree Source for the Genmai board
  *
  *
- * Copyright (C) 2013 Renesas Solutions Corp.
+ * Copyright (C) 2013-14 Renesas Solutions Corp.
+ * Copyright (C) 2014 Wolfram Sang, Sang Engineering <wsa@sang-engineering.com>
  *
  *
  * This file is licensed under the terms of the GNU General Public License
  * This file is licensed under the terms of the GNU General Public License
  * version 2.  This program is licensed "as is" without any warranty of any
  * version 2.  This program is licensed "as is" without any warranty of any
@@ -15,6 +16,10 @@
 	model = "Genmai";
 	model = "Genmai";
 	compatible = "renesas,genmai-reference", "renesas,r7s72100";
 	compatible = "renesas,genmai-reference", "renesas,r7s72100";
 
 
+	aliases {
+		serial2 = &scif2;
+	};
+
 	chosen {
 	chosen {
 		bootargs = "console=ttySC2,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
 		bootargs = "console=ttySC2,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp";
 	};
 	};
@@ -48,3 +53,7 @@
 		pagesize = <64>;
 		pagesize = <64>;
 	};
 	};
 };
 };
+
+&scif2 {
+	status = "okay";
+};