Skip to content

Commit

Permalink
ARM: shmobile: henninger: initial device tree
Browse files Browse the repository at this point in the history
Add the initial device tree for the R8A7791 SoC based Henninger board. SCIF0
serial port support is included, so that the serial console can work.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Sergei Shtylyov authored and Simon Horman committed Apr 25, 2014
1 parent dd485ab commit 4b37ab0
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_LEGACY) += emev2-kzm9d.dtb \
sh7372-mackerel.dtb
dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += emev2-kzm9d.dtb \
r7s72100-genmai-reference.dtb \
r8a7791-henninger.dtb \
r8a7791-koelsch.dtb \
r8a7790-lager.dtb
dtb-$(CONFIG_ARCH_SOCFPGA) += socfpga_arria5_socdk.dtb \
Expand Down
50 changes: 50 additions & 0 deletions arch/arm/boot/dts/r8a7791-henninger.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
/*
* Device Tree Source for the Henninger board
*
* Copyright (C) 2014 Renesas Solutions Corp.
* Copyright (C) 2014 Cogent Embedded, Inc.
*
* 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
* kind, whether express or implied.
*/

/dts-v1/;
#include "r8a7791.dtsi"

/ {
model = "Henninger";
compatible = "renesas,henninger", "renesas,r8a7791";

aliases {
serial0 = &scif0;
};

chosen {
bootargs = "console=ttySC0,38400 ignore_loglevel";
};

memory@40000000 {
device_type = "memory";
reg = <0 0x40000000 0 0x40000000>;
};

memory@200000000 {
device_type = "memory";
reg = <2 0x00000000 0 0x40000000>;
};
};

&pfc {
scif0_pins: serial0 {
renesas,groups = "scif0_data_d";
renesas,function = "scif0";
};
};

&scif0 {
pinctrl-0 = <&scif0_pins>;
pinctrl-names = "default";

status = "okay";
};

0 comments on commit 4b37ab0

Please sign in to comment.