| From 4ad6b9e6a9c3a0e56e4f50a386e8d8259ac5b767 Mon Sep 17 00:00:00 2001 |
| From: Wolfram Sang <wsa+renesas@sang-engineering.com> |
| Date: Fri, 16 May 2014 14:10:14 +0200 |
| Subject: ARM: shmobile: Sync Genmai DTS with Genmai reference DTS |
| |
| Copy the device nodes from Genmai reference into the Genmai device tree |
| file. This will allow us to use a single DTS file regardless of kernel |
| configuration. In case of legacy C board code the device nodes may or |
| may not be used, but in the multiplatform case all the DT device nodes |
| will be used. |
| |
| Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| (cherry picked from commit 2606f47be55fd4545ed9236467682c636fd23f9d) |
| Signed-off-by: Simon Horman <horms+renesas@verge.net.au> |
| --- |
| arch/arm/boot/dts/r7s72100-genmai.dts | 30 +++++++++++++++++++++++++++++- |
| 1 file changed, 29 insertions(+), 1 deletion(-) |
| |
| diff --git a/arch/arm/boot/dts/r7s72100-genmai.dts b/arch/arm/boot/dts/r7s72100-genmai.dts |
| index b1deaf7e2e06..56849b55e1c2 100644 |
| --- a/arch/arm/boot/dts/r7s72100-genmai.dts |
| +++ b/arch/arm/boot/dts/r7s72100-genmai.dts |
| @@ -1,7 +1,8 @@ |
| /* |
| * 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 |
| * version 2. This program is licensed "as is" without any warranty of any |
| @@ -15,6 +16,10 @@ |
| model = "Genmai"; |
| compatible = "renesas,genmai", "renesas,r7s72100"; |
| |
| + aliases { |
| + serial2 = &scif2; |
| + }; |
| + |
| chosen { |
| bootargs = "console=ttySC2,115200 ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
| }; |
| @@ -29,3 +34,26 @@ |
| #size-cells = <1>; |
| }; |
| }; |
| + |
| +&extal_clk { |
| + clock-frequency = <13330000>; |
| +}; |
| + |
| +&usb_x1_clk { |
| + clock-frequency = <48000000>; |
| +}; |
| + |
| +&i2c2 { |
| + status = "okay"; |
| + clock-frequency = <400000>; |
| + |
| + eeprom@50 { |
| + compatible = "renesas,24c128"; |
| + reg = <0x50>; |
| + pagesize = <64>; |
| + }; |
| +}; |
| + |
| +&scif2 { |
| + status = "okay"; |
| +}; |
| -- |
| 2.1.2 |
| |