Skip to content

Commit

Permalink
ARM: shmobile: r8a7793: add minimal Gose board device tree
Browse files Browse the repository at this point in the history
Minimal DT description and Makefile entry for the Gose eval board.
Support for console, timer, and Ethernet.

Signed-off-by: Ulrich Hecht <ulrich.hecht+renesas@gmail.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Ulrich Hecht authored and Simon Horman committed Jul 6, 2015
1 parent 0e03e8a commit b8af459
Show file tree
Hide file tree
Showing 2 changed files with 64 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 @@ -516,6 +516,7 @@ dtb-$(CONFIG_ARCH_SHMOBILE_MULTI) += \
r8a7790-lager.dtb \
r8a7791-henninger.dtb \
r8a7791-koelsch.dtb \
r8a7793-gose.dtb \
r8a7794-alt.dtb \
sh73a0-kzm9g.dtb
dtb-$(CONFIG_ARCH_SOCFPGA) += \
Expand Down
63 changes: 63 additions & 0 deletions arch/arm/boot/dts/r8a7793-gose.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
/*
* Device Tree Source for the Gose board
*
* Copyright (C) 2014-2015 Renesas Electronics Corporation
*
* 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 "r8a7793.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>

/ {
model = "Gose";
compatible = "renesas,gose", "renesas,r8a7793";

aliases {
serial0 = &scif0;
serial1 = &scif1;
};

chosen {
bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
stdout-path = &scif0;
};

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

&extal_clk {
clock-frequency = <20000000>;
};

&ether {
phy-handle = <&phy1>;
renesas,ether-link-active-low;
status = "okay";

phy1: ethernet-phy@1 {
reg = <1>;
interrupt-parent = <&irqc0>;
interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
micrel,led-mode = <1>;
};
};

&cmt0 {
status = "okay";
};

&scif0 {
status = "okay";
};

&scif1 {
status = "okay";
};

0 comments on commit b8af459

Please sign in to comment.