Skip to content

Commit

Permalink
ARM: dts: r7s72100: Add support for GR-Peach
Browse files Browse the repository at this point in the history
Add device tree source for Renesas GR-Peach board.
GR-Peach is an RZ/A1H based board with 10MB of on-chip SRAM and 8MB
QSPI flash storage.
Add support for the board, and create a 2MB partition to use as rootfs.

Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
  • Loading branch information
Jacopo Mondi authored and Simon Horman committed Jun 12, 2017
1 parent bc63cd8 commit b879d67
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Documentation/devicetree/bindings/arm/shmobile.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Boards:
compatible = "renesas,bockw", "renesas,r8a7778"
- Genmai (RTK772100BC00000BR)
compatible = "renesas,genmai", "renesas,r7s72100"
- GR-Peach (X28A-M01-E/F)
compatible = "renesas,gr-peach", "renesas,r7s72100"
- Gose (RTP0RC7793SEB00010S)
compatible = "renesas,gose", "renesas,r8a7793"
- H3ULCB (R-Car Starter Kit Premier, RTP0RC7795SKB00010S)
Expand Down
1 change: 1 addition & 0 deletions arch/arm/boot/dts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -701,6 +701,7 @@ dtb-$(CONFIG_ARCH_REALVIEW) += \
dtb-$(CONFIG_ARCH_RENESAS) += \
emev2-kzm9d.dtb \
r7s72100-genmai.dtb \
r7s72100-gr-peach.dtb \
r7s72100-rskrza1.dtb \
r8a73a4-ape6evm.dtb \
r8a7740-armadillo800eva.dtb \
Expand Down
66 changes: 66 additions & 0 deletions arch/arm/boot/dts/r7s72100-gr-peach.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
/*
* Device Tree Source for the GR-Peach board
*
* Copyright (C) 2017 Jacopo Mondi <jacopo+renesas@jmondi.org>
* Copyright (C) 2016 Renesas Electronics
*
* 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 "r7s72100.dtsi"

/ {
model = "GR-Peach";
compatible = "renesas,gr-peach", "renesas,r7s72100";

aliases {
serial0 = &scif2;
};

chosen {
bootargs = "ignore_loglevel rw root=/dev/mtdblock0";
stdout-path = "serial0:115200n8";
};

memory@20000000 {
device_type = "memory";
reg = <0x20000000 0x00a00000>;

};

lbsc {
#address-cells = <1>;
#size-cells = <1>;
};

flash@18000000 {
compatible = "mtd-rom";
probe-type = "map_rom";
reg = <0x18000000 0x00800000>;
bank-width = <4>;
device-width = <1>;

#address-cells = <1>;
#size-cells = <1>;

rootfs@600000 {
label = "rootfs";
reg = <0x00600000 0x00200000>;
};
};
};

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

&usb_x1_clk {
clock-frequency = <48000000>;
};

&scif2 {
status = "okay";
};

0 comments on commit b879d67

Please sign in to comment.